import type { FanProfile, NavGroup, NavItem, ScreenId } from "../../types/passport"; import { formatCompactNumber } from "../../utils/passportMetrics"; interface AppHeaderProps { activeScreen: ScreenId; navItems: NavItem[]; passportScore: number; profile: FanProfile; onNavigate: (screen: ScreenId) => void; onRestartOnboarding: () => void; } const navGroups: { id: NavGroup; label: string }[] = [ { id: "primary", label: "Passport" }, { id: "collection", label: "Collections" }, { id: "play", label: "Play daily" }, { id: "social", label: "Community" }, ]; export default function AppHeader({ activeScreen, navItems, passportScore, profile, onNavigate, onRestartOnboarding, }: AppHeaderProps) { return (
Skip to passport content

Fan Passport

World Cup Journey
{profile.displayName}

{profile.handle}

{formatCompactNumber(passportScore)}

points

); }