/* SFS website prototype — client review shell (Home + Company + mega-menu) */ const { TopBar, Header, Footer } = window.SFSChrome; /* Shown when a mega-menu link points at a page that isn't part of this review. */ function ComingSoonPage({ onNavigate }) { return (

Prototype review

This page is not part of this review

This prototype covers the Home page, the Company page, and the navigation mega-menu.

{ e.preventDefault(); onNavigate('home'); }}>Back to Home { e.preventDefault(); onNavigate('company'); }}>View Company page
); } function SFSPrototypeApp() { const [page, setPage] = React.useState('home'); const go = (raw) => { const [p, hash] = String(raw).split('#'); setPage(p); window.scrollTo({ top: 0 }); if (hash) { setTimeout(() => { const el = document.getElementById(hash); if (el) window.scrollTo({ top: el.getBoundingClientRect().top + window.scrollY - 90, behavior: 'smooth' }); }, 80); } }; const base = page.split(':')[0]; let View; switch (base) { case 'home': View = window.SFSHomePage; break; case 'company': View = window.SFSCompanyPage; break; default: View = ComingSoonPage; } return (
); } ReactDOM.createRoot(document.getElementById('root')).render();