Hero-module: ASF golden files verwerkt in het ontwerp (preload als regio-paar, alleen WebP in LCP)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 14:45:28 +01:00
co-authored by Claude Sonnet 5.5
parent 47fcaeb0a1
commit 850f02d5ec
5 changed files with 19 additions and 6 deletions
@@ -9,7 +9,7 @@
| `PublicHeroService` | Builds the public read model from the stored hero: schedule and `IsActive` applied, inactive slides removed, variants that exist listed, the first-slide choice made once here. | `IHeroRepository`, `TimeProvider` |
| Core `MediaEndpoint` | Serves stored variants; no knowledge of the Hero module. | `IMediaStore` |
| Core `CmsDataBlockTransform` | Composes the `#cms-data` block from all contributors. | `ICmsDataBlockContributor` implementations |
| `HeroHtmlTransform`, `HeroPreloadMarkerProvider` | Write the region and the preload from the same `PublicHeroDto` through `HeroPictureRenderer`. | `IPublicHeroService` |
| `HeroHtmlTransform` | Writes the hero region and the preload region from the same `PublicHeroDto` through `HeroPictureRenderer`. | `IPublicHeroService` |
## Orchestration
@@ -63,7 +63,7 @@ flowchart LR
Req["Next page request"] --> Inj["HtmlMarkerInjector"]
Inj --> T1["CmsDataBlockTransform<br/>(offerings, banners, hero)"]
Inj --> T2["HeroHtmlTransform<br/>(region + first slide)"]
Inj --> T3["HeroPreloadMarkerProvider<br/>(head)"]
Inj --> T3["HeroHtmlTransform<br/>(preload region, head)"]
T1 --> Pub["PublicHeroService"]
T2 --> Pub
T3 --> Pub