Hero uit het CMS met ingebakken terugval: markers CMS:HERO-HTML, CMS:HERO-PRELOAD en CMS:DATA, hero-teksten naar nl.json, lint ook op Hero, tests en docs

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 16:48:56 +01:00
co-authored by Claude Sonnet 5.5
parent 72dd381cf9
commit 27c5ecb80f
16 changed files with 400 additions and 62 deletions
+4 -2
View File
@@ -13,13 +13,15 @@ import { t } from '../i18n';
* app has loaded. That avoids hydration mismatches by construction (the real app reads
* localStorage/matchMedia while rendering; this tree must not). Only components without
* window/storage/query dependencies are used here. Dynamic parts (packages, banner, contact
* form) are NOT prerendered; the packages come from the CMS host markers in index.html.
* form) are NOT prerendered; the packages come from the CMS host markers in index.html. The hero is the baked
* fallback, between the markers <!--CMS:HERO-HTML--> that scripts/prerender.mjs writes: the host replaces the
* region when the CMS has a hero (docs/hero-integration.md).
*/
export function StaticLanding() {
return (
<>
<main id="main">
<Hero />
<Hero regionMarkers />
<AboutSection />
<section id="pakketten" aria-labelledby="pakketten-heading" className="bg-surface">
<div className="mx-auto max-w-[1280px] px-6 pb-24 pt-20 sm:px-8 md:pb-[136px] md:pt-32">