Thema-fundament: variant (B/E) x modus (licht/donker), tijdreis-knop en overgang

Vervangt rood/paars door tokens per variant en modus, voegt ModeToggle en
icoon-knop VariantToggle toe, VariantRenderer met lazy E-chunk, dither-overgang
(uit bij minder beweging), theme-init.js tegen themaflits en tests.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-09 21:14:11 +01:00
co-authored by Claude Sonnet 5.5
parent 1047c738b5
commit 0854e3a096
37 changed files with 1389 additions and 269 deletions
+32
View File
@@ -0,0 +1,32 @@
import { ModeToggle } from '../../components/ui/ModeToggle';
import { VariantToggle } from '../../components/ui/VariantToggle';
/**
* Placeholder shell for variant E (time-travel). The real content (eras 2026 / 2013 / 2006 /
* 1998 / 1989) is built in unit U5; U1 only provides the lazy chunk and the way back to B.
*/
export default function LandingE() {
return (
<>
<nav className="sticky top-0 z-50 border-b border-line bg-bg/80 backdrop-blur-md">
<div className="mx-auto flex h-16 max-w-[1080px] items-center justify-between px-6">
<span className="font-mono text-base font-bold tracking-wide text-text">
SLP<span className="text-accent">.</span>Software
</span>
<ul className="flex items-center gap-4">
<li>
<ModeToggle />
</li>
<li>
<VariantToggle />
</li>
</ul>
</div>
</nav>
<main id="main" tabIndex={-1} className="mx-auto max-w-[1080px] px-6 py-24 outline-none">
<h1 className="font-display text-4xl font-extrabold">Tijdreis</h1>
<p className="mt-4 text-muted">Deze weergave is in aanbouw.</p>
</main>
</>
);
}