/* ActiveFit360 marketing — sticky pill site header */ const NS_h = window.Activefit360DesignSystem_d87766; function Wordmark({ onDark = false, size = 19 }) { return ( ActiveFit360 ); } window.Wordmark = Wordmark; function SiteHeader({ current = 'home', onNavigate = () => {}, onBook = () => {} }) { const { Button } = NS_h; const [open, setOpen] = React.useState(false); const links = [ ['home', 'Home'], ['services', 'Services'], ['reviews', 'Reviews'], ['contact', 'Contact'], ['about', 'About'], ]; const routes = window.AF_ROUTES; const go = (id) => { onNavigate(id); setOpen(false); }; const navClick = (id) => (e) => { e.preventDefault(); go(id); }; return ( {/* brand */} {/* desktop nav */} {links.map(([id, label]) => ( {label} ))} {/* actions */} } as="a" href="tel:+13314727451">Call } onClick={onBook}>Book Appointment {/* mobile toggle */} setOpen(o => !o)} aria-label="Menu" style={{ display: 'none', width: 42, height: 42, borderRadius: '50%', border: '1px solid var(--border-strong)', background: '#fff', cursor: 'pointer', alignItems: 'center', justifyContent: 'center', color: 'var(--ink-900)' }}> {/* mobile menu */} {open && ( {links.map(([id, label]) => ( {label} ))} Call { onBook(); setOpen(false); }}>Book )} ); } Object.assign(window, { SiteHeader });