feat: add demonstrative images to the officina page
Shared StripFoto component renders the 3-photo strip on home and /officina (AVIF/WebP, srcset); /officina gets its own og:image. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user