Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| cdfbf194c2 | |||
| 76adef3fc7 | |||
| d079019dcf | |||
| 48909e8c8b |
@@ -318,7 +318,8 @@ export const contentSeed: SeedEntry[] = [
|
||||
T('eventi.meta.title', 'Eventi', []),
|
||||
T('eventi.meta.description', 'Gli eventi InsanityLab: inaugurazione del nuovo spazio il 19 settembre 2026, con aperitivo e dj set.', []),
|
||||
T('eventi.hero.title', 'Eventi', []),
|
||||
T('eventi.inaugurazione.title', 'Inaugurazione — 19 settembre 2026'),
|
||||
T('eventi.inaugurazione.title', 'Inaugurazione'),
|
||||
T('eventi.inaugurazione.date', '19 settembre 2026'),
|
||||
T('eventi.inaugurazione.body', 'Apriamo le porte del nuovo spazio con un aperitivo e dj set. Sarà l’occasione per conoscere lo staff, visitare la struttura e prenotare una prova gratuita dei nostri servizi. Il programma completo della giornata sarà pubblicato a breve.'),
|
||||
T('eventi.cta.label', 'Scrivici su WhatsApp', []),
|
||||
T('eventi.torna.label', '← Torna a promo ed eventi', []),
|
||||
|
||||
@@ -18,6 +18,7 @@ const waLink = `https://wa.me/39${wa.replace(/\D/g, '')}`;
|
||||
<div class="container">
|
||||
<article class="evento" data-reveal>
|
||||
<T tag="eventi.inaugurazione.title" as="h2" />
|
||||
<T tag="eventi.inaugurazione.date" as="p" class="evento__data" />
|
||||
<T tag="eventi.inaugurazione.body" as="p" />
|
||||
<a class="btn" href={waLink} target="_blank" rel="noopener">{t('eventi.cta.label')}</a>
|
||||
</article>
|
||||
@@ -29,6 +30,7 @@ const waLink = `https://wa.me/39${wa.replace(/\D/g, '')}`;
|
||||
<style>
|
||||
.evento { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
|
||||
.evento :global(h2) { text-transform: uppercase; letter-spacing: .1em; margin: 0; }
|
||||
.evento :global(.evento__data) { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .12em; font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: var(--c-accent-dark); margin-top: -4px; }
|
||||
.evento :global(p) { margin: 0; }
|
||||
.evento__torna { text-align: center; margin-top: 46px; }
|
||||
.evento__torna a { font-family: var(--font-heading); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-heading); text-decoration: none; }
|
||||
|
||||
Reference in New Issue
Block a user