From 9d96253888742b8ef3900c75db0a88fa4f171eda Mon Sep 17 00:00:00 2001 From: Javaxman Date: Wed, 22 Apr 2026 13:42:05 +0200 Subject: [PATCH] Home: navigazione, footer, CTA, servizi (Breaking Glass), scroll-spy - Allinea scroll a #contatti, misura header e scroll-padding, spy con documentTopY e piccolo SPY_FUDGE; hashchange/ResizeObserver; footer visibile azzera Contattaci - Footer: id site-footer, griglia senza blocco brand sopra, tagline a destra del copyright; global.css fallback scroll-padding - CTA: eyebrow Contatti, bordo/sezione allineate alle FAQ, #contatti sulla section - Servizi: callout Breaking Glass con look glossy (gradient, highlight, luce) Made-with: Cursor --- src/components/SiteFooter.astro | 30 +++++------ src/data/home/cta.ts | 3 ++ src/pages/index.astro | 90 +++++++++++++++++++++++---------- src/scripts/nx-nav-spy.ts | 66 +++++++++++++++++++++--- src/styles/global.css | 2 + 5 files changed, 140 insertions(+), 51 deletions(-) diff --git a/src/components/SiteFooter.astro b/src/components/SiteFooter.astro index e1660ae..8d061ea 100644 --- a/src/components/SiteFooter.astro +++ b/src/components/SiteFooter.astro @@ -19,20 +19,9 @@ const linkClass = 'text-sm text-sky-400/90 transition-colors hover:text-sky-300'; --- -