Docs: hero zonder planning en hero-brede aan/uit (FR-05, BR-H07/BR-P01, aannamelijst 30, contract)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ Input for Application Design. Source: message of "Andrea Slop Fotografie - ASF -
|
||||
| Lead | ASF does not render it; if present the site ignores it. |
|
||||
| Decorative | `decorative: true` renders `alt=""` and is not read aloud. |
|
||||
| Display | `single`: no arrows, pause button or progress bar (ASF already does that for one slide). |
|
||||
| 204 / schedule / error | The baked hero stays (fail-open). ASF shows the baked hero on 204, not nothing. If the host ever means "no hero at all", that must be said explicitly (not planned). |
|
||||
| 204 / no hero data / error | The baked hero stays (fail-open). ASF shows the baked hero on 204, not nothing. If the host ever means "no hero at all", that must be said explicitly (not planned). |
|
||||
| Image addresses | Same origin `/media/hero/<hash>/…`, immutable; the CSP `img-src` does not change. |
|
||||
| Markers | `<!--CMS:HERO-HTML-->…<!--/CMS:HERO-HTML-->` (title, tagline, button(s), the FIRST slide as `<picture>`), `<!--CMS:HERO-PRELOAD-->` in the head, key `hero` in `#cms-data` with all slides. Fail-open: no marker, 204 or an error leaves the baked page. |
|
||||
| Hydration | The region holds neutral HTML (fixed classes, no Chakra classes); React takes over with the same source after hydration; slides 2..n load afterwards. The first slide of the data block must equal the first slide the host wrote into the HTML (same source, same cache rule). |
|
||||
|
||||
Reference in New Issue
Block a user