|
1 | 1 | <!DOCTYPE html> |
2 | 2 | <html> |
3 | 3 | <head> |
4 | | - <title>Download do Certificado</title> |
| 4 | + <title>Download do Certificado - Tech Floripa</title> |
5 | 5 | <meta charset="UTF-8"> |
6 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
7 | 7 | <style> |
8 | | - body {{ font-family: Arial, sans-serif; text-align: center; padding: 50px; background-color: #f8f9fa; }} |
9 | | - .container {{ max-width: 600px; margin: 0 auto; background: white; padding: 40px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }} |
10 | | - .success-icon {{ font-size: 48px; color: #28a745; margin-bottom: 20px; }} |
11 | | - h1 {{ color: #155724; margin-bottom: 20px; }} |
12 | | - p {{ color: #6c757d; line-height: 1.6; margin-bottom: 20px; }} |
13 | | - .download-link {{ background-color: #28a745; color: white; padding: 12px 24px; text-decoration: none; border-radius: 5px; display: inline-block; margin-top: 20px; }} |
14 | | - .download-link:hover {{ background-color: #218838; }} |
15 | | - .loading {{ display: inline-block; width: 20px; height: 20px; border: 3px solid #f3f3f3; border-top: 3px solid #28a745; border-radius: 50%; animation: spin 1s linear infinite; }} |
16 | | - @keyframes spin {{ 0% {{ transform: rotate(0deg); }} 100% {{ transform: rotate(360deg); }} }} |
| 8 | + body {{ |
| 9 | + font-family: Manrope, sans-serif; |
| 10 | + margin: 0; |
| 11 | + padding: 10px; |
| 12 | + background-color: #f4f4f4; |
| 13 | + min-height: 100vh; |
| 14 | + display: flex; |
| 15 | + align-items: center; |
| 16 | + justify-content: center; |
| 17 | + }} |
| 18 | + |
| 19 | + .email-container {{ |
| 20 | + width: 100%; |
| 21 | + max-width: 500px; |
| 22 | + background-color: #ffffff; |
| 23 | + padding: 15px; |
| 24 | + border-radius: 10px; |
| 25 | + box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); |
| 26 | + }} |
| 27 | + |
| 28 | + .email-header {{ |
| 29 | + background-color: #000000; |
| 30 | + color: #ffffff; |
| 31 | + padding: 15px; |
| 32 | + border-radius: 10px 10px 0 0; |
| 33 | + text-align: center; |
| 34 | + margin: -15px -15px 15px -15px; |
| 35 | + }} |
| 36 | + |
| 37 | + .email-body {{ |
| 38 | + padding: 15px; |
| 39 | + font-size: 14px; |
| 40 | + line-height: 1.5; |
| 41 | + text-align: center; |
| 42 | + }} |
| 43 | + |
| 44 | + .success-icon {{ |
| 45 | + font-size: 48px; |
| 46 | + margin-bottom: 15px; |
| 47 | + }} |
| 48 | + |
| 49 | + h1 {{ |
| 50 | + color: #000000; |
| 51 | + margin-bottom: 15px; |
| 52 | + font-size: 22px; |
| 53 | + font-weight: bold; |
| 54 | + }} |
| 55 | + |
| 56 | + p {{ |
| 57 | + color: #333333; |
| 58 | + margin-bottom: 10px; |
| 59 | + }} |
| 60 | + |
| 61 | + .email-button-container {{ |
| 62 | + text-align: center; |
| 63 | + margin: 20px 0; |
| 64 | + }} |
| 65 | + |
| 66 | + .email-button {{ |
| 67 | + display: inline-block; |
| 68 | + background-color: #000000; |
| 69 | + color: #ffffff !important; |
| 70 | + text-decoration: none; |
| 71 | + padding: 12px 24px; |
| 72 | + border-radius: 5px; |
| 73 | + font-size: 14px; |
| 74 | + font-weight: bold; |
| 75 | + text-align: center; |
| 76 | + transition: background-color 0.3s ease; |
| 77 | + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); |
| 78 | + }} |
| 79 | + |
| 80 | + .email-button:hover {{ |
| 81 | + background-color: #353535; |
| 82 | + }} |
| 83 | + |
| 84 | + .loading {{ |
| 85 | + display: inline-block; |
| 86 | + width: 20px; |
| 87 | + height: 20px; |
| 88 | + border: 2px solid #f3f3f3; |
| 89 | + border-top: 2px solid #000000; |
| 90 | + border-radius: 50%; |
| 91 | + animation: spin 1s linear infinite; |
| 92 | + margin: 15px 0; |
| 93 | + }} |
| 94 | + |
| 95 | + @keyframes spin {{ |
| 96 | + 0% {{ transform: rotate(0deg); }} |
| 97 | + 100% {{ transform: rotate(360deg); }} |
| 98 | + }} |
| 99 | + |
| 100 | + .email-note {{ |
| 101 | + font-size: 12px; |
| 102 | + color: #666666; |
| 103 | + margin-top: 10px; |
| 104 | + }} |
| 105 | + |
| 106 | + .email-footer {{ |
| 107 | + background-color: #000000; |
| 108 | + color: #ffffff; |
| 109 | + padding: 12px; |
| 110 | + border-radius: 0 0 10px 10px; |
| 111 | + text-align: center; |
| 112 | + font-size: 12px; |
| 113 | + margin: 15px -15px -15px -15px; |
| 114 | + }} |
| 115 | + |
| 116 | + .email-footer a {{ |
| 117 | + color: #ffffff; |
| 118 | + text-decoration: none; |
| 119 | + }} |
17 | 120 | </style> |
18 | 121 | </head> |
19 | 122 | <body> |
20 | | - <div class="container"> |
21 | | - <div class="success-icon">📄</div> |
22 | | - <h1>Download do Certificado</h1> |
23 | | - <div class="loading"></div> |
24 | | - <p>Redirecionando para download do certificado...</p> |
25 | | - <p>Se o download não iniciar automaticamente:</p> |
26 | | - <a href="{certificate_url}" class="download-link">Clique aqui para baixar</a> |
| 123 | + <div class="email-container"> |
| 124 | + <div class="email-header"> |
| 125 | + <img src="https://tech.floripa.br/wp-content/uploads/2025/03/Tech-Floripa.jpg" |
| 126 | + alt="Tech Floripa" |
| 127 | + style="display: block; margin: 0 auto; max-width: 200px; height: auto;"> |
| 128 | + </div> |
| 129 | + |
| 130 | + <div class="email-body"> |
| 131 | + <div class="loading"></div> |
| 132 | + <p class="email-note">O download iniciará automaticamente em alguns segundos.</p> |
| 133 | + <div class="email-button-container"> |
| 134 | + <a href="{certificate_url}" class="email-button"> |
| 135 | + 📥 Baixar Certificado |
| 136 | + </a> |
| 137 | + </div> |
| 138 | + |
| 139 | + <p class="email-note"> |
| 140 | + Se o download não iniciar automaticamente, clique no botão acima. |
| 141 | + </p> |
| 142 | + </div> |
| 143 | + |
| 144 | + <div class="email-footer"> |
| 145 | + <h3 style="color: #fff; margin: 0 0 10px 0;">Ajude a fortalecer a Comunidade Tech de Floripa!</h3> |
| 146 | + <p style="margin: 0;"> |
| 147 | + Indique o Tech Floripa para outros eventos<br> |
| 148 | + <a href="https://tech.floripa.br/">→ tech.floripa.br</a> |
| 149 | + </p> |
| 150 | + </div> |
27 | 151 | </div> |
| 152 | + |
28 | 153 | <script> |
29 | | - // Redirect após 2 segundos para dar tempo de ver a página |
| 154 | + // Redirect após 3 segundos para dar tempo de ver a página |
30 | 155 | setTimeout(function() {{ |
31 | 156 | window.location.href = "{certificate_url}"; |
32 | | - }}, 2000); |
| 157 | + }}, 3000); |
33 | 158 | </script> |
34 | 159 | </body> |
35 | 160 | </html> |
0 commit comments