// immihub-os-family.jsx — shared cross-nav strip for all sub-site footers // Renders a 4-card row linking to each sibling product + back to ImmiHub OS umbrella. const IMMIHUB_FAMILY_CARD_HREF = { immigrant: 'https://immihub.ai/', employer: 'https://employers.immihub.ai/', dso: 'https://dso.immihub.ai/', attorney: 'https://attorneys.immihub.ai/', }; const IMMIHUB_OS_VISIT_HREF = 'https://immihub.ai/'; function ImmiHubOSFamily({ homeHref = '../../index.html', umbrella = false }) { // homeHref is the path to ImmiHub OS index.html from the current page. const apps = [ { id: 'immigrant', tag: 'Consumer', label: 'For Immigrants', dot: '#4F9ED6' }, { id: 'employer', tag: 'HR & compliance', label: 'For Employers', dot: '#7A6BE8' }, { id: 'dso', tag: 'DSO portal', label: 'For Institutions', dot: '#E8843C' }, { id: 'attorney', tag: 'Case mgmt', label: 'For Attorneys', dot: '#2B7AB8' }, ]; const cardStyle = { display: 'flex', alignItems: 'center', gap: 10, padding: '12px 14px', background: '#FAFBFD', border: '1px solid #DFE4EA', borderRadius: 10, textDecoration: 'none', color: '#1A2332', transition: 'all 200ms cubic-bezier(0.2,0.8,0.2,1)', }; return (
Part of the ImmiHub OS family
Visit ImmiHub OS →
{apps.map(a => ( { e.currentTarget.style.borderColor = a.dot; e.currentTarget.style.background = '#fff'; }} onMouseLeave={e => { e.currentTarget.style.borderColor = '#DFE4EA'; e.currentTarget.style.background = '#FAFBFD'; }} > {a.tag} {a.label} ))}
); } window.ImmiHubOSFamily = ImmiHubOSFamily;