// NGIS website — top navigation header function Header({ active, onNav }) { const { Button } = window.NGISDesignSystem_f6dc23; const Icon = window.Icon; // Display label vs. internal route — lets the nav read "Why NGIS" / "FDC" / // "Contact Us" while routing to the existing WhyNgis / Faculty / Contact screens. const links = [ { label: 'Home', route: 'Home' }, { label: 'Academics', route: 'Academics' }, { label: 'Why NGIS', route: 'WhyNgis' }, { label: 'FDC', route: 'Faculty' }, { label: 'Contact Us', route: 'Contact' }, { label: 'Admissions', route: 'Admissions' }, { label: 'Gallery', route: 'Gallery' }, ]; const [open, setOpen] = React.useState(false); const go = (r, anchor) => { setOpen(false); onNav(r, anchor); }; return (
go('Home')} style={{ display: 'flex', alignItems: 'center', gap: 12, cursor: 'pointer', textDecoration: 'none' }}> NGIS NextGen International School Transforming education for better tomorrow
{open && ( )}
); } window.Header = Header;