Hero from the CMS: markers HERO-HTML and HERO-PRELOAD, hero key in the data block, picture per ratio, baked fallback
The prerendered hero is plain HTML between the markers (first photo, h1, buttons), the slider takes over after hydration with the hero of the host block, the API or the build. The head preload is added to the finished HTML. Hero texts move into nl.json. The stand-in host and the e2e tests cover the hero. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -121,6 +121,33 @@
|
||||
"instagramHandle": "@andreaslopfotografie"
|
||||
}
|
||||
},
|
||||
"hero": {
|
||||
"ariaLabel": "Uitgelicht werk",
|
||||
"slideLabel": "{position} van {count}",
|
||||
"announcement": "Foto {position} van {count}: {alt}",
|
||||
"announcementPlain": "Foto {position} van {count}",
|
||||
"paused": "Diavoorstelling gepauzeerd",
|
||||
"playing": "Diavoorstelling speelt weer af",
|
||||
"play": "Diavoorstelling afspelen",
|
||||
"pause": "Diavoorstelling pauzeren",
|
||||
"prev": "Vorige foto",
|
||||
"next": "Volgende foto",
|
||||
"baked": {
|
||||
"title": "Andrea Slop",
|
||||
"tagline": "Lifestyle fotograaf · Huizen",
|
||||
"button": "Lees meer",
|
||||
"alt": {
|
||||
"hero8": "Zwangerschapsfoto in de duinen",
|
||||
"hero7": "Knusse newbornfoto met de familie",
|
||||
"hero1": "Lifestyle fotografie",
|
||||
"hero2": "Zwangerschapsshoot in de buitenlucht",
|
||||
"hero3": "Newbornshoot van een pasgeboren baby",
|
||||
"hero4": "Spontaan portret buiten",
|
||||
"hero5": "Natuurlijke lifestylefoto",
|
||||
"hero6": "Portret in de natuur"
|
||||
}
|
||||
}
|
||||
},
|
||||
"home": {
|
||||
"intro": {
|
||||
"title": "Lifestyle fotografie",
|
||||
|
||||
Reference in New Issue
Block a user