Adds the hero contract: golden files for the picture and the preload links, mapping and seed

Model B (wide 3:2 and tall 4:5 variants, focus point), agreed with the CMS
session. Pure functions mapHero, heroHtml and heroPreloadHtml, golden files in
web/contract/host-injection/hero with a README, and a seed with a first focus
estimate per photo. No site change yet.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 14:44:30 +01:00
co-authored by Claude Sonnet 5.5
parent 2c15cda7c4
commit 13f78c48cd
24 changed files with 793 additions and 0 deletions
@@ -0,0 +1,23 @@
{
"display": "slideshow",
"title": "Andrea\nSlop",
"tagline": "Fotografie",
"buttons": [
{ "label": "Boek een shoot", "target": "#contact" },
{ "label": "Portfolio", "target": "https://andreaslop.nl/portfolio" },
{ "label": "Derde knop", "target": "/derde" }
],
"slides": [
{
"id": "a1",
"alt": "",
"decorative": true,
"image": {
"width": 1600,
"height": 1067,
"src": "/media/hero/abc123/w1600.webp",
"variants": []
}
}
]
}