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:
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"note": "Seed for the ASF hero on the test CMS. Focus points are a first estimate from looking at the photos (x and y between 0 and 1, from the top left); Bryan adjusts them in the admin. Sources are the existing exports in web/src/assets (not camera originals; never upscale).",
|
||||
"display": "slideshow",
|
||||
"title": "Andrea Slop",
|
||||
"tagline": "Lifestyle fotograaf · Huizen",
|
||||
"buttons": [{ "label": "Lees meer", "target": "/over-mij" }],
|
||||
"slides": [
|
||||
{
|
||||
"file": "hero-8.jpg",
|
||||
"width": 1600,
|
||||
"height": 1067,
|
||||
"alt": "Zwangerschapsfoto in de duinen",
|
||||
"focus": { "x": 0.5, "y": 0.55 },
|
||||
"subject": "belly and hands"
|
||||
},
|
||||
{
|
||||
"file": "hero-7.jpg",
|
||||
"width": 1600,
|
||||
"height": 1067,
|
||||
"alt": "Knusse newbornfoto met de familie",
|
||||
"focus": { "x": 0.45, "y": 0.5 },
|
||||
"subject": "the kiss on the baby"
|
||||
},
|
||||
{
|
||||
"file": "hero-1.jpg",
|
||||
"width": 2560,
|
||||
"height": 1702,
|
||||
"alt": "Lifestyle fotografie",
|
||||
"focus": { "x": 0.55, "y": 0.6 },
|
||||
"subject": "tattoo and heather"
|
||||
},
|
||||
{
|
||||
"file": "hero-2.jpg",
|
||||
"width": 1600,
|
||||
"height": 1067,
|
||||
"alt": "Zwangerschapsshoot in de buitenlucht",
|
||||
"focus": { "x": 0.45, "y": 0.45 },
|
||||
"subject": "the couple"
|
||||
},
|
||||
{
|
||||
"file": "hero-3.jpg",
|
||||
"width": 1600,
|
||||
"height": 1067,
|
||||
"alt": "Newbornshoot van een pasgeboren baby",
|
||||
"focus": { "x": 0.45, "y": 0.4 },
|
||||
"subject": "the baby's face"
|
||||
},
|
||||
{
|
||||
"file": "hero-4.jpg",
|
||||
"width": 2048,
|
||||
"height": 1362,
|
||||
"alt": "Spontaan portret buiten",
|
||||
"focus": { "x": 0.45, "y": 0.35 },
|
||||
"subject": "the face"
|
||||
},
|
||||
{
|
||||
"file": "hero-5.jpg",
|
||||
"width": 1600,
|
||||
"height": 1067,
|
||||
"alt": "Natuurlijke lifestylefoto",
|
||||
"focus": { "x": 0.5, "y": 0.55 },
|
||||
"subject": "the hands with the ring"
|
||||
},
|
||||
{
|
||||
"file": "hero-6.jpg",
|
||||
"width": 2048,
|
||||
"height": 1362,
|
||||
"alt": "Portret in de natuur",
|
||||
"focus": { "x": 0.5, "y": 0.35 },
|
||||
"subject": "the face"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user