/** * BureauNav — slim breadcrumb bar present on every bureau sub-page. * * Pure breadcrumb now: ← home, the section pill, and the trail of crumbs. * The global primary nav, locale toggle and auth pill all live in * SiteHeader, which is rendered above BureauNav on every sub-page; that * stack is what gives the reader desktop access to /sightings, /witnesses, * etc. from anywhere, and what gives mobile users a single hamburger * instead of two stacked ones. */ import Link from "next/link"; import { ArrowLeft } from "lucide-react"; import { type Locale } from "./locale-toggle"; export interface Crumb { /** Display label. */ label: string; /** When omitted the crumb is rendered as the current page (no link). */ href?: string; } const COPY = { "pt-br": { home: "home", bureau: "casos", aria_home: "Voltar para a home", aria_bureau: "Listagem de casos" }, en: { home: "home", bureau: "case files", aria_home: "Back to home", aria_bureau: "Case file library" }, } as const; export function BureauNav({ crumbs, locale = "pt-br" }: { crumbs: Crumb[]; locale?: Locale }) { const t = COPY[locale]; return ( ); }