/* Site chrome + helpers for the Camille Bardiau UI kit. */ (function () { const { Button, IconButton } = window.CamilleBardiauDesignSystem_92b58f; const D = window.CB_DATA; const Icon = (n, props = {}) => React.createElement("i", { "data-lucide": n, ...props }); /* --- Top navigation --- */ function Nav({ current, onNavigate }) { const [open, setOpen] = React.useState(false); return ( onNavigate("home")} style={{ display: "flex", alignItems: "center", gap: 12, background: "none", border: "none", cursor: "pointer", overflow: "visible", padding: "2px 0" }}> Camille Bardiau Kinésiologue · Nîmes {D.nav.map((n) => ( onNavigate(n.id)} style={{ background: "none", border: "none", cursor: "pointer", padding: "4px 0", fontFamily: "var(--font-label)", textTransform: "uppercase", fontSize: "var(--text-eyebrow)", letterSpacing: ".16em", color: current === n.id ? "var(--clay-deep)" : "var(--ink-soft)", borderBottom: current === n.id ? "1px solid var(--clay)" : "1px solid transparent", transition: "color .24s", }}>{n.label} ))} Prendre rendez-vous setOpen((o) => !o)}> {Icon(open ? "x" : "menu")} {open && ( {D.nav.map((n) => ( { onNavigate(n.id); setOpen(false); }} style={{ display: "block", width: "100%", textAlign: "left", background: "none", border: "none", padding: "12px 0", borderBottom: "1px solid var(--hairline-soft)", fontFamily: "var(--font-display)", fontSize: "var(--text-h4)", color: "var(--ink)", cursor: "pointer" }}> {n.label} ))} Prendre rendez-vous )} ); } /* --- Footer --- */ function Footer({ onNavigate }) { return ( ); } window.CBKit = { Nav, Footer, Icon }; })();