// NGIS website — "Two campuses" section with social handles function Campuses({ heading = true }) { const Icon = window.Icon; const { PATTERNS, SectionDecor, PhotoFrame } = window.Decor; const campuses = [ { name: 'Malir Campus', area: 'Malir, Karachi', accent: 'navy', photo: './assets/photos/campus-building.jpeg', instagram: { handle: '@ngis_malir', url: 'https://www.instagram.com/ngis_malir' }, facebook: { handle: 'NGIS Malir', url: 'https://www.facebook.com/profile.php?id=61575432466967' }, }, { name: 'Jinnah Avenue Campus', area: 'Jinnah Avenue, Karachi', accent: 'gold', photo: './assets/photos/campus-jinnah-avenue.png', instagram: { handle: '@ngis_jinnahavenue_official', url: 'https://www.instagram.com/ngis_jinnahavenue_official' }, facebook: { handle: 'NGIS Jinnah Avenue', url: 'https://www.facebook.com/profile.php?id=61575391815391' }, }, ]; const Social = ({ kind, handle, url }) => { const isIg = kind === 'instagram'; return ( { e.currentTarget.style.boxShadow = 'var(--shadow-md)'; e.currentTarget.style.transform = 'translateY(-1px)'; }} onMouseLeave={e => { e.currentTarget.style.boxShadow = 'none'; e.currentTarget.style.transform = 'none'; }} > {isIg ? 'Instagram' : 'Facebook'} {handle} ); }; return (
{heading && (
Visit us in Karachi

Two campuses, one movement

The NGIS ETM experience, now at two locations across the city. Follow each campus for news, events and student life.

)}
{campuses.map(c => (
{/* photo */}
{c.name}
{c.area}
{/* body */}

{c.name}

NextGen International School · Karachi

))}
); } window.Campuses = Campuses;