feat: add demonstrative home images
Three AI-generated images replace the home photo placeholders, served as AVIF/WebP with srcset; forecourt image also used as og:image. To be replaced by real workshop photos before launch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
# Handoff
|
||||
|
||||
## Issue
|
||||
None (explicit user instruction: add the three home images)
|
||||
|
||||
## Goal
|
||||
Replace the three photo placeholders in the home with demonstrative images.
|
||||
|
||||
## Status
|
||||
done
|
||||
|
||||
## What changed
|
||||
- Three AI-generated demonstrative images (ChatGPT, prompts written in this session) in `src/assets/home/`: `piazzale.jpg`, `impianto-gpl.jpg`, `officina-lavoro.jpg`
|
||||
- Home uses Astro `<Picture>` → AVIF/WebP with srcset and descriptive `alt`; first image `fetchpriority="high"`
|
||||
- `og:image` (1200×630 from the forecourt image) and `twitter:card` via new optional `image` prop in `Base.astro`
|
||||
|
||||
## Files touched
|
||||
- `src/pages/index.astro`, `src/layouts/Base.astro`, `src/assets/home/*`
|
||||
|
||||
## Tests
|
||||
- Run: build OK; browser check 1280px and 375px — all three images load, no horizontal scroll
|
||||
- Not run: Lighthouse
|
||||
|
||||
## Risks / open questions
|
||||
- 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
|
||||
|
||||
## Suggested next step
|
||||
- Photo shoot of the real workshop; then the remaining photo slots on /officina
|
||||
Reference in New Issue
Block a user