Hero uit het CMS met ingebakken terugval #21

Merged
Sluijsens merged 7 commits from feature/hero-module into master 2026-11-17 10:26:39 +01:00
Owner

ASF-kant van de Hero-module: markers HERO-HTML en HERO-PRELOAD, hero-sleutel in het datablok, picture per verhouding (wide en tall) met focus, preload per oriëntatie, terugval op de ingebakken hero, teksten in het taalbestand, en een robuustere reveal-test. Alleen test: een push naar master deployt naar test, productie volgt later via een release-branch en de IIS-pipeline.

Merge pas nadat de CMS-PR's op master staan.

Aannames om te controleren: aidlc-docs/features/hero-module/assumptions-and-open-questions.md.

Generated with Claude Code (https://claude.com/claude-code)

ASF-kant van de Hero-module: markers HERO-HTML en HERO-PRELOAD, hero-sleutel in het datablok, picture per verhouding (wide en tall) met focus, preload per oriëntatie, terugval op de ingebakken hero, teksten in het taalbestand, en een robuustere reveal-test. Alleen test: een push naar master deployt naar test, productie volgt later via een release-branch en de IIS-pipeline. Merge pas nadat de CMS-PR's op master staan. Aannames om te controleren: aidlc-docs/features/hero-module/assumptions-and-open-questions.md. Generated with Claude Code (https://claude.com/claude-code)
Sluijsens added 7 commits 2026-11-17 09:26:10 +01:00
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>
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>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Replacing the region at hydration made new nodes (a late LCP candidate). The first photo, the title and the buttons now stay; the other slides, arrows and controls are added on top.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
On the slow CI runner the sampler sometimes had not caught up when the wait ended (0 of 14 hidden elements seen), a false failure that passes on a new run. A real fault still fails every attempt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Hero module: closing docs (state, build and test summary, assumptions, go-live checklist)
Continuous Integration / check (pull_request) Successful in 2m20s
Continuous Integration / build-test (pull_request) Skipped
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 8m55s
Continuous Integration / deploy-production (pull_request) Skipped
358fca0855
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sluijsens merged commit 78d3f594e5 into master 2026-11-17 10:26:39 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SLP_Software/AndreaSlopFotografie#21