/* Gemeinsamer Header + Footer für alle Seiten */ function Eyebrow({ children }) { return
{children}
; } function SiteHeader({ active }) { const { Logo, Button } = window.SeevetalDigitalDesignSystem_7a23a1; const linkStyle = (key) => ({ color: active === key ? "var(--blue-600)" : "var(--text-body)", textDecoration: active === key ? "underline" : "none", textUnderlineOffset: "6px", fontSize: 17, fontWeight: 700, padding: "8px 4px", }); const cls = "sd-nav-link"; return (
); } function SiteFooter() { const { Logo } = window.SeevetalDigitalDesignSystem_7a23a1; const flink = { color: "var(--blue-200)" }; return ( ); } /* Header/Footer in Platzhalter-Divs einhängen (für Seiten mit statischem Inhalt) */ function mountChrome(active) { const h = document.getElementById("site-header"); const f = document.getElementById("site-footer"); if (h) ReactDOM.createRoot(h).render(); if (f) ReactDOM.createRoot(f).render(); } Object.assign(window, { SiteHeader, SiteFooter, Eyebrow, mountChrome });