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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user