/* global React, Icon, Button */ const { useState: useStateN, useEffect: useEffectN } = React; const NAV = [ { label: "About HCDI", groupLabel: "Company", items: [ { t: "Who We Are", s: "30 years closing the distance between data and care", href: "who-we-are.html", ic: "compass" }, { t: "Leadership", s: "The team behind the mission", href: "leadership.html", ic: "users" }, ], feature: { eyebrow: "Latest research", t: "The Dove Report", ic: "fileText", s: "Field insights on health equity, engagement, and closing care gaps.", cta: "Read the report", href: "dove-report.html", } }, { label: "Solutions", wide: true, groupLabel: "By audience", items: [ { t: "Health Plans", s: "Reach the hardest-to-reach members, reduce cost", href: "health-plans.html", ic: "shieldCheck" }, { t: "Providers & Risk-Bearing Groups", s: "Clinical transformation for value-based care", href: "providers.html", ic: "stethoscope" }, { t: "Communities", s: "Strategic partnerships for health equity", href: "communities.html", ic: "users" }, { t: "Government", s: "Policy-to-practice past performance", href: "government.html", ic: "landmark" }, ], feature: { eyebrow: "Featured platform", t: "A.I.M. Platform", ic: "database", s: "The Advanced Integrated Matrix turns your data into outreach decisions.", cta: "Explore A.I.M.", href: "aim.html", } }, { label: "The Dove Report", href: "dove-report.html" }, ]; function Nav({ onContact }) { const [scrolled, setScrolled] = useStateN(false); const [open, setOpen] = useStateN(false); useEffectN(() => { const f = () => setScrolled(window.scrollY > 10); window.addEventListener("scroll", f); f(); return () => window.removeEventListener("scroll", f); }, []); return (
HCDI
{NAV.map((n) => (
{n.href ? {n.label} :
{n.label}
} {n.items && n.items.map((it) => {it.t})}
))}
); } window.Nav = Nav; window.NAV = NAV;