import Link from "next/link"; import AppNav from "@/components/AppNav"; export type Crumb = { href?: string; label: string }; /** * The header the three browse levels share. * * app/mix/page.tsx writes its header inline, which is fine for one page. Three * copies of it would be two too many, and the breadcrumb is the only part that * differs between the levels. */ export default function BrowseHeader({ crumbs, note, active = "browse", }: { crumbs: Crumb[]; note?: string; /** Which nav item is lit. Defaults to browse, which is the common case. */ active?: string; }) { return (
{note &&
{note}
}
); }