import Link from "next/link"; import { t } from "@/lib/i18n"; import { HeaderChrome } from "./HeaderChrome"; import { IconSearch } from "./Icons"; import { ThemeToggle } from "./ThemeToggle"; export const NAV = [ ["/research", "nav.research"], ["/topics", "nav.topics"], ["/series", "nav.series"], ["/methodology", "nav.methodology"], ["/infrastructure", "nav.infrastructure"], ["/transparency", "nav.transparency"], ["/about", "nav.about"], ] as const; export function Wordmark({ className = "" }: { className?: string }) { return ( AutoScholar.ai ); } /** Compact sticky header: one row on every width; drawer + search on mobile, inline nav on desktop. */ export function SiteHeader() { const links = NAV.map(([href, key]) => ({ href, label: t(key) })); return (
); }