diff --git a/docs/context/module-map.md b/docs/context/module-map.md index d54a3c7..70b736b 100644 --- a/docs/context/module-map.md +++ b/docs/context/module-map.md @@ -3,11 +3,11 @@ ## Top-level areas - `src/pages/` → site pages: `index`, `officina`, `servizi`, `dove-siamo`, `contatti`, plus `sitemap.xml` - `src/layouts/Base.astro` → HTML shell, meta/OG, canonical, AutoRepair JSON-LD, header/footer, reveal script -- `src/components/` → `Insegna` (open-now sign + weekly hours), `ServiziLista`, `Marchi`, `Faq` (+ FAQPage JSON-LD), `BloccoContatti` +- `src/components/` → `Insegna` (open-now sign + weekly hours), `ServiziLista`, `Marchi`, `Faq` (+ FAQPage JSON-LD), `BloccoContatti`, `StripFoto` (3-photo strip) - `src/data/officina.ts` → single source of business data (NAP, hours, services, FAQ) - `src/styles/global.css` → design tokens and shared styles (ADR 0002) - `public/` → favicon, robots.txt, partner logos -- `src/assets/home/` → home photos (demonstrative, AI-generated; optimized by astro:assets) +- `src/assets/home/`, `src/assets/officina/` → page photos (demonstrative, AI-generated; optimized by astro:assets via `StripFoto`) - `design/proposte/` → static design proposals (reference; 02 is the chosen direction) - `design/assets/sito-attuale/` → images downloaded from the current site - `docs/analisi/`, `docs/progetto/` → audit and development plan diff --git a/docs/handoffs/2026-11-04-immagini-home.md b/docs/handoffs/2026-11-04-immagini-home.md index 7dc3e15..6250502 100644 --- a/docs/handoffs/2026-11-04-immagini-home.md +++ b/docs/handoffs/2026-11-04-immagini-home.md @@ -25,5 +25,10 @@ done - The images are AI-generated and do not show the real workshop: replace with real photos before the final launch (same file names → no code change) - The third slot shows "the workshop at work" instead of "the team" on purpose, to avoid presenting invented people as staff +## Update — /officina images +- Three more AI images in `src/assets/officina/` (`interno`, `diagnosi`, `consulenza`), converted from the PNGs in `temp/` +- Shared component `src/components/StripFoto.astro` now renders the photo strip on both home and /officina; /officina also gets its own `og:image` +- Third slot shows a customer consultation instead of "the team" (same reason as home) + ## Suggested next step -- Photo shoot of the real workshop; then the remaining photo slots on /officina +- Photo shoot of the real workshop: replace the six files keeping the same names diff --git a/src/assets/officina/consulenza.jpg b/src/assets/officina/consulenza.jpg new file mode 100644 index 0000000..e8161ed Binary files /dev/null and b/src/assets/officina/consulenza.jpg differ diff --git a/src/assets/officina/diagnosi.jpg b/src/assets/officina/diagnosi.jpg new file mode 100644 index 0000000..5bc79b6 Binary files /dev/null and b/src/assets/officina/diagnosi.jpg differ diff --git a/src/assets/officina/interno.jpg b/src/assets/officina/interno.jpg new file mode 100644 index 0000000..4b44546 Binary files /dev/null and b/src/assets/officina/interno.jpg differ diff --git a/src/components/StripFoto.astro b/src/components/StripFoto.astro new file mode 100644 index 0000000..00b2cfd --- /dev/null +++ b/src/components/StripFoto.astro @@ -0,0 +1,24 @@ +--- +// Fila di tre foto (una larga + due quadrate) usata in home e in /officina. +// La prima foto è vicina all'inizio pagina: priorità alta per l'LCP. +import { Picture } from 'astro:assets'; +import type { ImageMetadata } from 'astro'; + +interface Foto { src: ImageMetadata; alt: string } +interface Props { foto: [Foto, Foto, Foto] } + +const { foto } = Astro.props; +const [grande, ...piccole] = foto; +--- +
L'officina
L'officina
@@ -13,11 +23,11 @@ import BloccoContatti from '../components/BloccoContatti.astro';Da anni le Officine Zuliani sono un punto di riferimento a Udine per chi cerca soluzioni che fanno davvero risparmiare sul carburante.
Consulenza