From 7020ce39908fec31794fc865ce982a0459b24cd9 Mon Sep 17 00:00:00 2001 From: SmartRootsSrl Date: Thu, 21 May 2026 17:41:40 +0200 Subject: [PATCH] docs: aggiorna README e INFRA con font, nav site-nav, pagine legali --- README.md | 6 +++--- docs/INFRA.md | 12 ++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 693b3cf..e927ccc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Smart Roots — Sito Web -Stack: **Astro 4** (static output) · CSS custom · Deploy su **IIS 10 / Windows Server 2016** +Stack: **Astro 4** (static output) · CSS custom · Font: **Playfair Display** (Google Fonts) + IBM Plex · Deploy su **IIS 10 / Windows Server 2016** --- @@ -16,7 +16,7 @@ Stack: **Astro 4** (static output) · CSS custom · Deploy su **IIS 10 / Windows ├── src/ │ ├── components/ │ │ ├── Layout.astro ← head HTML, meta SEO, font -│ │ ├── Nav.astro ← navbar (variante full o back) +│ │ ├── Nav.astro ← navbar completa (class="site-nav", tutte le pagine) │ │ └── Footer.astro ← footer con dati societari │ ├── pages/ │ │ ├── index.astro ← Home / Landing page @@ -92,6 +92,6 @@ lunghezza minima messaggio (10 caratteri), rate limiting (3 invii/ora per IP), h ## TODO -- [ ] Aggiungere immagine `hero-dashboard.png` in `/public/assets/` - [ ] Aggiungere immagine `og-image.jpg` in `/public/assets/` (1200×630px) - [x] Integrare hCaptcha nel form contatti (frontend + verifica backend) +- [x] Privacy Policy e Termini e Condizioni con testo completo diff --git a/docs/INFRA.md b/docs/INFRA.md index 8278ca4..faff008 100644 --- a/docs/INFRA.md +++ b/docs/INFRA.md @@ -49,6 +49,18 @@ Nessuna modifica IIS necessaria per i deploy ordinari. --- +## Font + +Il font display è **Playfair Display** caricato da Google Fonts. Sostituisce Cormorant Garamond (precedente) e Justov (tentativo fallito — font corrotto, rifiutato dal browser sanitizer). La variabile CSS `--serif` in `global.css` punta a Playfair Display; tutti i titoli, la navbar e il footer la ereditano automaticamente. + +--- + +## Nav — nota critica + +La regola CSS `nav { position: fixed; ... }` si applica a **tutti i tag `