Files
freeplanet_serverside/emails/registration/it/html.pug
2025-11-21 20:47:30 +01:00

348 lines
8.6 KiB
Plaintext
Executable File

doctype html
html(lang="it")
head
meta(charset="UTF-8")
meta(name="viewport" content="width=device-width, initial-scale=1.0")
style(type="text/css").
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background-color: #f5f5f5;
padding: 20px;
line-height: 1.6;
}
.header-logo {
width: 80px;
height: auto;
margin-bottom: 16px;
display: block;
margin-left: auto;
margin-right: auto;
}
.email-container {
max-width: 600px;
margin: 0 auto;
background: white;
border-radius: 12px;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
.email-header {
background: linear-gradient(135deg, #027be3 0%, #0056b3 100%);
color: white;
padding: 40px 24px;
text-align: center;
}
.email-header h1 {
margin: 0 0 8px 0;
font-size: 28px;
font-weight: 600;
}
.email-header p {
margin: 0;
font-size: 16px;
opacity: 0.95;
}
.welcome-icon {
font-size: 48px;
margin-bottom: 16px;
}
.email-body {
padding: 20px 16px;
}
.intro-text {
font-size: 16px;
color: #333;
margin-bottom: 16px;
text-align: center;
line-height: 1.7;
}
.credentials-box {
background: #f8f9fa;
border-left: 4px solid #027be3;
border-radius: 8px;
padding: 12px;
margin-bottom: 16px;
}
.credentials-title {
font-size: 15px;
font-weight: 600;
color: #555;
margin-bottom: 8px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.credential-row {
display: flex;
align-items: center;
padding: 6px 0;
border-bottom: 1px solid #e0e0e0;
}
.credential-row:last-child {
border-bottom: none;
padding-bottom: 0;
}
.credential-label {
font-weight: 600;
color: #666;
min-width: 120px;
font-size: 14px;
}
.credential-value {
color: #1a1a1a;
font-size: 15px;
font-weight: 500;
flex: 1;
word-break: break-word;
}
.credential-value a {
color: #027be3;
text-decoration: none;
}
.credential-value a:hover {
text-decoration: underline;
}
.cta-section {
text-align: center;
margin: 16px 0;
padding: 16px 0;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
}
.cta-title {
font-size: 18px;
font-weight: 600;
color: #1a1a1a;
margin-bottom: 16px;
}
.cta-buttons-wrapper {
display: flex;
gap: 12px;
justify-content: center;
align-items: stretch;
flex-wrap: wrap;
margin-top: 16px;
}
.cta-button {
display: inline-block;
padding: 16px 32px;
font-size: 16px;
font-weight: 600;
color: white;
background: linear-gradient(135deg, #027be3 0%, #0056b3 100%);
border-radius: 50px;
text-decoration: none;
box-shadow: 0 4px 12px rgba(2, 123, 227, 0.3);
transition: transform 0.2s, box-shadow 0.2s;
flex: 1;
min-width: 180px;
max-width: 220px;
}
.cta-button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(2, 123, 227, 0.4);
}
.cta-button-secondary {
background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}
.cta-button-secondary:hover {
box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
}
.cta-button-tertiary {
background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}
.cta-button-tertiary:hover {
box-shadow: 0 6px 16px rgba(255, 152, 0, 0.4);
}
.button-icon {
font-size: 18px;
margin-right: 6px;
vertical-align: middle;
}
.alternative-link {
margin-top: 16px;
font-size: 13px;
color: #777;
}
.alternative-link a {
color: #027be3;
text-decoration: none;
word-break: break-all;
}
.info-box {
background: #e3f2fd;
border-radius: 8px;
padding: 10px;
margin-top: 12px;
text-align: center;
}
.info-box p {
margin: 0;
color: #1565c0;
font-size: 14px;
line-height: 1.6;
}
.email-footer {
padding: 16px 12px;
text-align: center;
background: #f8f9fa;
color: #777;
font-size: 13px;
}
.email-footer p {
margin: 4px 0;
}
.divider {
height: 1px;
background: linear-gradient(to right, transparent, #e0e0e0, transparent);
margin: 24px 0;
}
@media only screen and (max-width: 600px) {
body {
padding: 5px;
}
.email-header {
padding: 16px 10px;
}
.email-header h1 {
font-size: 24px;
}
.email-body {
padding: 16px 10px;
}
.credentials-box {
padding: 20px 16px;
}
.credential-row {
flex-direction: column;
align-items: flex-start;
}
.credential-label {
margin-bottom: 4px;
font-size: 13px;
}
.credential-value {
font-size: 14px;
}
.cta-buttons-wrapper {
flex-direction: column;
gap: 12px;
}
.cta-button {
padding: 14px 24px;
font-size: 15px;
width: 100%;
max-width: 100%;
}
}
body
.email-container
.email-header
- var baseimg = baseurl + '/';
img.header-logo(src=baseimg+"images/logo.png" alt=nomeapp || 'Logo')
h1 Benvenuto #{name ? ', ' + name : username}
| su #{nomeapp || 'la nostra piattaforma'}!
.email-body
if !verified_email
.intro-text
| Verifica il tuo indirizzo email cliccando sul pulsante qui sotto.
.cta-section
.cta-title 🔐 1. Verifica il tuo account
if strlinkreg
a.cta-button(href=strlinkreg target="_blank")
span.button-icon ✓
| Verifica Registrazione
.alternative-link
| Oppure copia e incolla questo link nel tuo browser:
br
a(href=strlinkreg target="_blank") #{strlinkreg}
.verification-process
.process-title
span.icon 📋
| Il tuo percorso di ingresso in RISO
.process-steps
.process-step
.step-badge 1
.step-content
h4 ✓ Verifica la tua email:
p Cliccando sul bottone qui sopra.
.process-step.active
.step-badge 2
.step-content
h4 ⏳ In attesa di ammissione
p Il tuo invitante vedrà la tua richiesta. Riceverai un'email appena sarai ammesso !
.process-step
.step-badge 3
.step-content
h4 🎉 Accesso alla piattaforma
p Potrai così accedere e completare il tuo profilo per iniziare a fare parte della comunità RISO.
.info-note
p
strong 💡 Suggerimento:
| Se dovesse passare più di 24 ore, contatta il tuo invitante per ricordargli di ammetterti.
.email-footer
.divider
p Hai ricevuto questa email perché ti sei registrato su #{nomeapp || 'la nostra piattaforma'}
p(style="margin-top: 12px; font-size: 12px;")
| © #{new Date().getFullYear()} #{nomeapp || ''}.
p(style="margin-top: 8px; font-size: 11px; color: #999;")
| Se non hai richiesto questa registrazione, ignora questa email.