import { Link } from "react-router-dom"; import { BrandMark, Button } from "../ui"; import { useI18n } from "../../i18n/I18nContext"; import { PublicLocaleSwitch } from "./PublicLocaleSwitch"; type Props = { /** data-testid on outer shell */ testId: string; /** Extra class on outer shell (e.g. hb-public--legal) */ className?: string; /** Nav aria label key */ navLabelKey: string; children: React.ReactNode; }; /** * Shared chrome for public legal / marketing pages (header + footer + locale). */ export function PublicLegalChrome({ testId, className = "", navLabelKey, children }: Props) { const { t } = useI18n(); return (