Skip to content

Commit edfa626

Browse files
committed
feat(web): pulsante Scarica nell'header e CTA self-host nella home (it/en/es) verso GitHub releases
1 parent 7f3d4ea commit edfa626

7 files changed

Lines changed: 42 additions & 3 deletions

File tree

web/src/components/Header.astro

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,15 @@ const navItems: { key: 'features' | 'forWhom' | 'faq' | 'pricing'; label: string
3232

3333
<div class="flex items-center gap-3">
3434
<LangSwitcher locale={locale} />
35+
<a
36+
href="https://github.com/AndreaPrestia/Accanto/releases/latest"
37+
target="_blank"
38+
rel="noopener noreferrer"
39+
title={t('nav.downloadTitle')}
40+
class="text-sm text-accanto-700 no-underline hover:underline hidden sm:inline-flex items-center gap-1"
41+
>
42+
<span aria-hidden="true">↓</span>{t('nav.download')}
43+
</a>
3544
<a href={`${appUrl}/login`} class="text-sm text-accanto-700 no-underline hover:underline hidden sm:inline">{t('nav.login')}</a>
3645
<a href={`${appUrl}/register`} class="btn-primary text-sm">{t('nav.register')}</a>
3746
</div>

web/src/i18n/en.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"pricing": "Pricing",
88
"contact": "Contact",
99
"login": "Sign in",
10-
"register": "Sign up"
10+
"register": "Sign up",
11+
"download": "Download",
12+
"downloadTitle": "Download Accanto to self-host on your server (GitHub)"
1113
},
1214
"footer": {
1315
"tagline": "A quiet room for those caring for a family member.",

web/src/i18n/es.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"pricing": "Precios",
88
"contact": "Contacto",
99
"login": "Entrar",
10-
"register": "Registrarse"
10+
"register": "Registrarse",
11+
"download": "Descargar",
12+
"downloadTitle": "Descarga Accanto para instalarlo en tu servidor (GitHub)"
1113
},
1214
"footer": {
1315
"tagline": "Un espacio tranquilo para quien cuida a un familiar.",

web/src/i18n/it.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"pricing": "Prezzi",
88
"contact": "Contatti",
99
"login": "Accedi",
10-
"register": "Registrati"
10+
"register": "Registrati",
11+
"download": "Scarica",
12+
"downloadTitle": "Scarica Accanto per installarlo sul tuo server (GitHub)"
1113
},
1214
"footer": {
1315
"tagline": "Una stanza tranquilla per chi assiste un familiare.",

web/src/pages/en/index.astro

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ const features = [
6464
<div class="mt-6 flex flex-wrap items-center justify-center gap-3">
6565
<a href={routeUrl('privacy', lang)} class="btn-ghost">How we handle data</a>
6666
<a href={`${appUrl}/register`} class="btn-primary">Create your space</a>
67+
<a
68+
href="https://github.com/AndreaPrestia/Accanto/releases/latest"
69+
target="_blank"
70+
rel="noopener noreferrer"
71+
class="btn-ghost"
72+
>
73+
<span aria-hidden="true">↓ </span>Download to self-host
74+
</a>
6775
</div>
6876
</div>
6977
</section>

web/src/pages/es/index.astro

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,14 @@ const features = [
6565
<div class="mt-6 flex flex-wrap items-center justify-center gap-3">
6666
<a href={routeUrl('privacy', lang)} class="btn-ghost">Cómo tratamos los datos</a>
6767
<a href={`${appUrl}/register`} class="btn-primary">Crea tu espacio</a>
68+
<a
69+
href="https://github.com/AndreaPrestia/Accanto/releases/latest"
70+
target="_blank"
71+
rel="noopener noreferrer"
72+
class="btn-ghost"
73+
>
74+
<span aria-hidden="true">↓ </span>Descargar para auto-alojar
75+
</a>
6876
</div>
6977
</div>
7078
</section>

web/src/pages/it/index.astro

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,14 @@ const features = [
6565
<div class="mt-6 flex flex-wrap items-center justify-center gap-3">
6666
<a href={routeUrl('privacy', lang)} class="btn-ghost">Come trattiamo i dati</a>
6767
<a href={`${appUrl}/register`} class="btn-primary">Crea il tuo spazio</a>
68+
<a
69+
href="https://github.com/AndreaPrestia/Accanto/releases/latest"
70+
target="_blank"
71+
rel="noopener noreferrer"
72+
class="btn-ghost"
73+
>
74+
<span aria-hidden="true">↓ </span>Scarica per self-host
75+
</a>
6876
</div>
6977
</div>
7078
</section>

0 commit comments

Comments
 (0)