394 lines
10 KiB
Plaintext
Executable File
394 lines
10 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: 120px;
|
|
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, #7cb342 0%, #558b2f 100%);
|
|
color: white;
|
|
padding: 40px 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.email-header h1 {
|
|
margin: 0 0 8px 0;
|
|
font-size: 26px;
|
|
font-weight: 600;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.email-header .subtitle {
|
|
margin: 8px 0 0 0;
|
|
font-size: 17px;
|
|
opacity: 0.95;
|
|
font-style: italic;
|
|
}
|
|
|
|
.success-icon {
|
|
font-size: 56px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.email-body {
|
|
padding: 32px 24px;
|
|
}
|
|
|
|
.intro-text {
|
|
font-size: 16px;
|
|
color: #333;
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.highlight-box {
|
|
background: #fff8dc;
|
|
border-left: 4px solid #7cb342;
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.highlight-box p {
|
|
margin: 0;
|
|
font-size: 17px;
|
|
color: #1a1a1a;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.member-card {
|
|
background: linear-gradient(135deg, #f8fdf8 0%, #e8f5e9 100%);
|
|
border: 2px solid #7cb342;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
margin: 20px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.member-card h3 {
|
|
font-size: 14px;
|
|
text-transform: uppercase;
|
|
color: #558b2f;
|
|
margin-bottom: 12px;
|
|
letter-spacing: 0.5px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.member-card .member-name {
|
|
font-size: 24px;
|
|
color: #1a1a1a;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.member-card .member-detail {
|
|
font-size: 15px;
|
|
color: #555;
|
|
margin: 6px 0;
|
|
}
|
|
|
|
.member-card .member-detail strong {
|
|
color: #558b2f;
|
|
}
|
|
|
|
.info-box {
|
|
background: #e8f5e9;
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.info-box p {
|
|
margin: 0 0 8px 0;
|
|
color: #2e7d32;
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.info-box p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.tips-section {
|
|
background: #f8f9fa;
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.tips-section h3 {
|
|
font-size: 17px;
|
|
color: #1a1a1a;
|
|
margin-bottom: 12px;
|
|
text-align: center;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.tip-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
margin-bottom: 10px;
|
|
padding: 6px 0;
|
|
}
|
|
|
|
.tip-icon {
|
|
font-size: 20px;
|
|
margin-right: 10px;
|
|
min-width: 24px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.tip-text {
|
|
font-size: 16px;
|
|
color: #555;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.buttprof-section {
|
|
text-align: center;
|
|
}
|
|
|
|
.cta-section {
|
|
text-align: center;
|
|
margin: 24px 0;
|
|
padding: 20px 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-button {
|
|
display: inline-block;
|
|
padding: 16px 48px;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: white;
|
|
background: linear-gradient(135deg, #7cb342 0%, #558b2f 100%);
|
|
border-radius: 50px;
|
|
text-decoration: none;
|
|
box-shadow: 0 4px 12px rgba(124, 179, 66, 0.3);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.thank-you-box {
|
|
background: linear-gradient(135deg, #fff8dc 0%, #fef9f3 100%);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
margin: 20px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.thank-you-box p {
|
|
font-size: 17px;
|
|
color: #555;
|
|
line-height: 1.7;
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.thank-you-box strong {
|
|
color: #558b2f;
|
|
}
|
|
|
|
.email-footer {
|
|
padding: 20px;
|
|
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: 20px 0;
|
|
}
|
|
|
|
.profile-button {
|
|
display: inline-block;
|
|
margin-top: 16px;
|
|
padding: 12px 32px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: white;
|
|
background: linear-gradient(135deg, #7cb342 0%, #558b2f 100%);
|
|
border-radius: 25px;
|
|
text-decoration: none;
|
|
box-shadow: 0 3px 10px rgba(124, 179, 66, 0.25);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
body {
|
|
padding: 10px;
|
|
}
|
|
|
|
.email-header {
|
|
padding: 24px 16px;
|
|
}
|
|
|
|
.email-header h1 {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.success-icon {
|
|
font-size: 48px;
|
|
}
|
|
|
|
.email-body {
|
|
padding: 20px 16px;
|
|
}
|
|
|
|
.cta-button {
|
|
padding: 14px 32px;
|
|
font-size: 16px;
|
|
width: 100%;
|
|
max-width: 300px;
|
|
}
|
|
|
|
.member-card .member-name {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.tip-item {
|
|
font-size: 15px;
|
|
}
|
|
}
|
|
|
|
body
|
|
.email-container
|
|
//- Header
|
|
.email-header
|
|
img.header-logo(src=baseurl+'/images/logo.png' alt=nomeapp+' - Rete Italiana Scambi Orizzontali')
|
|
h1 🎉 Il tuo invito è stato accettato!
|
|
p.subtitle Un nuovo membro si è unito a #{nomeapp}
|
|
|
|
//- Body
|
|
.email-body
|
|
//- Intro
|
|
.intro-text
|
|
| Ciao <strong>#{nomeInvitante}</strong>,<br>
|
|
| la persona che hai invitato, o che ha usato il tuo username come invitante, si è appena registrata su #{nomeapp}!
|
|
|
|
//- Card nuovo membro
|
|
.member-card
|
|
h3 👤 Nuovo Membro Registrato
|
|
.member-name #{nomeInvitato}
|
|
if emailInvitato
|
|
.member-detail
|
|
strong Email:
|
|
| #{emailInvitato}
|
|
if usernameInvitato
|
|
.member-detail
|
|
strong Username:
|
|
| #{usernameInvitato}
|
|
|
|
//- Bottone profilo
|
|
if usernameInvitato
|
|
.buttprof-section
|
|
a.profile-button(href=strlinksito + '/my/' + usernameInvitato target="_blank")
|
|
| 👤 Visualizza Profilo di #{usernameInvitato}
|
|
|
|
//- Ringraziamento
|
|
.thank-you-box
|
|
p
|
|
| 🙏 <strong>Grazie per aver contribuito alla crescita di #{nomeapp}!</strong>
|
|
p
|
|
| Ogni nuovo ingresso rende la nostra comunità più forte e ricca di opportunità.
|
|
| Il tuo invito aiuta #{nomeInvitato} a scoprire un nuovo modo di fare economia,
|
|
| basato su fiducia, comunità e scambi solidali.
|
|
|
|
//- Suggerimenti
|
|
.tips-section
|
|
h3 💡 Come puoi aiutare #{nomeInvitato}
|
|
.tip-item
|
|
span.tip-icon 🤝
|
|
span.tip-text
|
|
strong Connettiti con loro:
|
|
| Aiutali a sentirsi parte della comunità e presentali ad altri membri del circuito
|
|
.tip-item
|
|
span.tip-icon 📱
|
|
span.tip-text
|
|
strong Mostra come funziona #{nomeapp}:
|
|
| Spiega come creare annunci, usare i RIS e partecipare agli scambi nella tua zona
|
|
.tip-item
|
|
span.tip-icon 📲
|
|
span.tip-text
|
|
strong Gruppo Telegram:
|
|
| Incoraggiali a unirsi al gruppo Telegram del vostro circuito provinciale
|
|
.tip-item
|
|
span.tip-icon 🎯
|
|
span.tip-text
|
|
strong Profilo completo:
|
|
| Ricorda loro di completare il profilo per poter iniziare a scambiare
|
|
|
|
//- Info box
|
|
.info-box
|
|
p
|
|
| ✓ #{nomeInvitato} ha ricevuto un'email di benvenuto con tutte le istruzioni
|
|
p
|
|
| ✓ Dovrà completare il profilo prima di poter usare i RIS
|
|
p
|
|
| ✓ Il facilitatore locale valuterà l'abilitazione all'uso dei RIS
|
|
|
|
//- CTA
|
|
.cta-section
|
|
.cta-title Visita la Piattaforma
|
|
a.cta-button(href=strlinksito target="_blank") Vai su #{nomeapp}
|
|
|
|
//- Highlight box
|
|
.highlight-box
|
|
p
|
|
| 🌱 <strong>Costruiamo insieme un'economia più solidale!</strong><br>
|
|
| Continua a condividere #{nomeapp} con persone di fiducia della tua comunità.
|
|
| Più siamo, più scambi possibili ci sono per tutti!
|
|
|
|
//- Footer
|
|
.email-footer
|
|
.divider
|
|
p Hai ricevuto questa email perché hai invitato #{nomeInvitato} su #{nomeapp} oppure la persona ha usato il tuo username come invitante
|
|
p(style="margin-top: 12px; font-size: 12px;")
|
|
| #{new Date().getFullYear()} #{nomeapp} - Rete Italiana Scambi Orizzontali
|
|
p(style="margin-top: 12px; font-size: 12px;")
|
|
| 🍚 Comunità · Fiducia · Scambi Solidali · Sostenibilità |