- sistemazioni Email : registrazione, invio invito, email di benvenuto

- fix circuito
- profilo
This commit is contained in:
Surya Paolo
2025-11-21 20:47:30 +01:00
parent 233c5fa28e
commit 5b1f3eafbc
34 changed files with 4835 additions and 1407 deletions

View File

@@ -0,0 +1,394 @@
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à

View File

@@ -0,0 +1 @@
=`🎉 Il tuo invito è stato accettato su RISO da ${name ? ', ' + name : username} !`

View File

@@ -0,0 +1,343 @@
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;
}
.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;
}
@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')
.success-icon 🎉
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}
//- Ringraziamento
.thank-you-box
p
| 🙏 <strong>Grazie per aver contribuito alla crescita di #{nomeapp}!</strong>
p
| Ogni nuovo membro rende la nostra comunità più forte e ricca di opportunità.
| Il tuo invito ha aiutato #{nomeInvitato} a scoprire un nuovo modo di fare economia,
| basato su fiducia, comunità e scambi solidali.
//- Info box
.info-box
p
| ✓ #{nomeInvitato} ha ricevuto un'email di benvenuto con tutte le istruzioni
//- 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}
p(style="margin-top: 12px; font-size: 12px;")
| 🍚 Comunità · Fiducia · Scambi Solidali · Sostenibilità

View File

@@ -0,0 +1 @@
=`🎉 Il tuo invito è stato accettato su ${nomeapp} da ${name ? ', ' + name : username} !`

View File

@@ -346,7 +346,7 @@ html(lang="it")
span.benefit-text Connetterti con la tua comunità territoriale locale (circuito provinciale)
.benefit-item
span.benefit-icon 💰
span.benefit-text Usare i RIS, una moneta complementare che parte da zero (nessun debito iniziale!)
span.benefit-text Usare i RIS, uno strumento di scambio che parte da zero (nessun debito iniziale!)
.benefit-item
span.benefit-icon 🌱
span.benefit-text Ridurre la dipendenza dall'economia tradizionale e vivere in modo più sostenibile

View File

@@ -0,0 +1,536 @@
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, #2E7D32 0%, #1B5E20 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: 8px 0 0 0;
font-size: 16px;
opacity: 0.95;
line-height: 1.5;
}
.welcome-icon {
font-size: 48px;
margin-bottom: 16px;
}
.email-body {
padding: 24px 20px;
}
.intro-text {
font-size: 16px;
color: #333;
margin-bottom: 20px;
text-align: center;
line-height: 1.7;
padding: 0 10px;
}
.intro-text strong {
color: #2E7D32;
}
.welcome-message {
background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
border-left: 4px solid #2E7D32;
border-radius: 8px;
padding: 20px;
margin-bottom: 24px;
text-align: center;
}
.welcome-message h2 {
color: #1B5E20;
font-size: 20px;
margin-bottom: 12px;
font-weight: 600;
}
.welcome-message p {
color: #2E7D32;
font-size: 15px;
line-height: 1.6;
margin: 8px 0;
}
.credentials-box {
background: #f8f9fa;
border-left: 4px solid #2E7D32;
border-radius: 8px;
padding: 16px;
margin-bottom: 24px;
}
.credentials-title {
font-size: 15px;
font-weight: 600;
color: #555;
margin-bottom: 12px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.credential-row {
display: flex;
align-items: center;
padding: 8px 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: #2E7D32;
text-decoration: none;
}
.credential-value a:hover {
text-decoration: underline;
}
.cta-section {
margin: 24px 0;
padding: 20px 0;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
}
.cta-title {
font-size: 19px;
font-weight: 600;
color: #1a1a1a;
margin-bottom: 8px;
text-align: center;
}
.cta-subtitle {
font-size: 14px;
color: #666;
margin-bottom: 16px;
text-align: center;
line-height: 1.5;
}
.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 28px;
font-size: 15px;
font-weight: 600;
color: white;
background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
border-radius: 50px;
text-decoration: none;
box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
transition: transform 0.2s, box-shadow 0.2s;
flex: 1;
min-width: 160px;
max-width: 200px;
text-align: center;
}
.cta-button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(46, 125, 50, 0.4);
}
.cta-button-secondary {
background: linear-gradient(135deg, #388E3C 0%, #2E7D32 100%);
box-shadow: 0 4px 12px rgba(56, 142, 60, 0.3);
}
.cta-button-secondary:hover {
box-shadow: 0 6px 16px rgba(56, 142, 60, 0.4);
}
.cta-button-tertiary {
background: linear-gradient(135deg, #66BB6A 0%, #4CAF50 100%);
box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}
.cta-button-tertiary:hover {
box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}
.button-icon {
font-size: 18px;
margin-right: 6px;
vertical-align: middle;
}
.next-steps {
background: #fff;
border-radius: 8px;
padding: 20px;
margin: 24px 0;
}
.next-steps-title {
font-size: 18px;
font-weight: 600;
color: #2E7D32;
margin-bottom: 16px;
text-align: center;
}
.step-item {
display: flex;
align-items: flex-start;
padding: 12px;
margin-bottom: 12px;
background: #f8fdf9;
border-radius: 8px;
border-left: 3px solid #4CAF50;
}
.step-number {
background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
color: white;
width: 32px;
height: 32px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
font-size: 16px;
margin-right: 12px;
flex-shrink: 0;
}
.step-content {
flex: 1;
}
.step-content h3 {
font-size: 16px;
color: #1B5E20;
margin-bottom: 4px;
font-weight: 600;
}
.step-content p {
font-size: 14px;
color: #555;
line-height: 1.5;
margin: 0;
}
.info-box {
background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
border-radius: 8px;
padding: 16px;
margin-top: 20px;
text-align: center;
border: 1px solid #A5D6A7;
}
.info-box p {
margin: 0;
color: #1B5E20;
font-size: 14px;
line-height: 1.6;
}
.info-box strong {
color: #2E7D32;
}
.community-note {
background: #fff3e0;
border-left: 4px solid #FF9800;
border-radius: 8px;
padding: 16px;
margin: 20px 0;
text-align: center;
}
.community-note p {
color: #E65100;
font-size: 14px;
margin: 0;
line-height: 1.6;
}
.email-footer {
padding: 20px 16px;
text-align: center;
background: #f8f9fa;
color: #777;
font-size: 13px;
}
.email-footer p {
margin: 6px 0;
}
.divider {
height: 1px;
background: linear-gradient(to right, transparent, #e0e0e0, transparent);
margin: 24px 0;
}
@media only screen and (max-width: 600px) {
body {
padding: 8px;
}
.email-header {
padding: 24px 16px;
}
.email-header h1 {
font-size: 24px;
}
.email-header p {
font-size: 15px;
}
.email-body {
padding: 20px 14px;
}
.welcome-message {
padding: 16px;
}
.credentials-box {
padding: 16px 12px;
}
.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%;
min-width: 100%;
}
.step-item {
padding: 10px;
}
.step-number {
width: 28px;
height: 28px;
font-size: 14px;
}
.step-content h3 {
font-size: 15px;
}
.step-content p {
font-size: 13px;
}
}
body
.email-container
.email-header
- var baseimg = baseurl + '/';
img.header-logo(src=baseimg+"images/logo.png" alt=nomeapp || 'Logo')
.welcome-icon 💚
h1 Benvenuti nella comunità RISO
p
strong #{name || username || 'Tu'}
| #{name || username ? ',' : ''} sei ufficialmente parte di qualcosa di speciale!
.email-body
.welcome-message
h2 🎉 Il tuo invitante #{nomeInvitante} ti ha ammesso!
p Sei ora un membro attivo della Rete Italiana di Scambio Orizzontale
p Inizia subito a scoprire beni, servizi e ospitalità nella tua comunità territoriale
.intro-text
| La tua comunità RISO ti aspetta! 🌱 Qui potrai
strong scambiare beni e servizi
| usando i
strong RIS
| , conoscere persone straordinarie e contribuire a costruire
strong un'economia più umana e solidale
| .
.credentials-box
.credentials-title 📋 I tuoi dati di accesso
if username
.credential-row
.credential-label Username:
.credential-value #{username}
if emailto
.credential-row
.credential-label Email:
.credential-value #{emailto}
if forgetpwd
.credential-row
.credential-label Password:
.credential-value
| (la password che hai inserito)
br
a(href=forgetpwd target="_blank") Hai dimenticato la password?
.cta-section
.cta-title 🚀 Accedi e inizia il tuo viaggio RISO
.cta-subtitle Scegli come vuoi accedere alla piattaforma
if strlinksito
.cta-buttons-wrapper
a.cta-button(href=strlinksito target="_blank")
span.button-icon 🌐
| Accedi da Web
a.cta-button.cta-button-secondary(href=strlinksito+'/installaapp' target="_blank")
span.button-icon 📱
| Installa l'App
a.cta-button.cta-button-tertiary(href=strlinksito+'/guida' target="_blank")
span.button-icon 📖
| Leggi la Guida
.next-steps
.next-steps-title 🎯 I tuoi primi passi nella comunità RISO
.step-item
.step-number 1
.step-content
h3 ✅ Completa il tuo profilo
p Aggiungi una foto, descrivi chi sei e cosa ti appassiona. Un profilo completo aiuta gli altri membri a conoscerti meglio!
.step-item
.step-number 2
.step-content
h3 📢 Pubblica il tuo primo annuncio
p Cosa puoi offrire? Beni, servizi o ospitalità - ogni contributo arricchisce la comunità. Ricorda di includere come strumento di scambio il RIS!
.step-item
.step-number 3
.step-content
h3 🔍 Esplora gli annunci
p Scopri cosa offrono gli altri membri nella tua area. Potresti trovare esattamente ciò che cerchi!
.step-item
.step-number 4
.step-content
h3 💬 Unisciti al gruppo territoriale
p Partecipa alle conversazioni, agli eventi e alle iniziative della tua comunità locale sulle chat Telegram di RISO
.info-box
p
strong 💰 Cos'è il RIS?
br
| Il RIS è l'unità di scambio della comunità RISO, basata sulla
strong fiducia reciproca
| . Parti da 0 RIS e accumula crediti offrendo i tuoi beni/servizi. Usalo per ottenere ciò di cui hai bisogno. Il bilancio totale della comunità è sempre zero - ogni credito corrisponde al debito di qualcun altro.
.community-note
p
| 🤝
strong Ricorda:
| Ogni scambio che fai, ogni annuncio che pubblichi, ogni interazione che hai rafforza la rete RISO. Non sei solo un utente -
strong sei un membro attivo
| di una comunità che crede nella solidarietà e nella condivisione!
.email-footer
.divider
p 💚 Benvenuto/a nella famiglia RISO!
p(style="margin-top: 8px;") Hai ricevuto questa email perché sei stato/a ammesso/a nella comunità #{nomeapp || 'RISO'}
p(style="margin-top: 12px; font-size: 12px;")
| © #{new Date().getFullYear()} #{nomeapp || 'RISO'} - Rete Italiana di Scambio Orizzontale
p(style="margin-top: 8px; font-size: 11px; color: #999;")
| Costruiamo insieme un'economia più umana e solidale

View File

@@ -0,0 +1 @@
=`Benvenuto in ${nomeapp}`

View File

@@ -310,54 +310,34 @@ html(lang="it")
br
a(href=strlinkreg target="_blank") #{strlinkreg}
.info-box
.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 ✓ Dopo la verifica
| potrai accedere alla piattaforma utilizzando le tue credenziali e
strong &nbsp;completare il tuo profilo.
.cta-section
- var numstep = 1;
if !verified_email
- var numstep = 2;
.cta-title 🚀 #{numstep}. Accedi e installa #{nomeapp}
if strlinksito
.cta-buttons-wrapper
a.cta-button(href=strlinksito target="_blank")
span.button-icon 🌐
| Accedi a #{nomeapp} da web
a.cta-button.cta-button-secondary(href=strlinksito+'/installaapp' target="_blank")
span.button-icon 📱
| Installa l'App
a.cta-button.cta-button-tertiary(href=strlinksito+'/guida' target="_blank")
span.button-icon 📖
| Vai alla Guida
.credentials-box
.credentials-title 📋 I tuoi dati di accesso
if username
.credential-row
.credential-label Username:
.credential-value #{username}
if emailto
.credential-row
.credential-label Email:
.credential-value #{emailto}
if forgetpwd
.credential-row
.credential-label Password:
.credential-value
| (la password che hai inserito)
br
a(href=forgetpwd target="_blank") Hai dimenticato la password?
strong 💡 Suggerimento:
| Se dovesse passare più di 24 ore, contatta il tuo invitante per ricordargli di ammetterti.
.email-footer
.divider