import Link from "next/link" import { LEGAL, LEGAL_PAGES } from "@/lib/legal" /** * Shared shell for every legal page. Renders a consistent header (title, * effective/updated dates), the body, and a cross-link nav to sibling policies. * `pt-32` clears the fixed marketing navbar. */ export function LegalPage({ title, subtitle, updated, children, }: { title: string subtitle?: string /** Optional per-page override; defaults to the global LEGAL.lastUpdated. */ updated?: string children: React.ReactNode }) { return (
{subtitle}
}Effective date: {LEGAL.effectiveDate} · Last updated: {updated ?? LEGAL.lastUpdated}
{children ?? "If you have questions about this policy, contact us at "} {email}.
{LEGAL.entity} {LEGAL.address && !LEGAL.address.startsWith("[") ? ` · ${LEGAL.address}` : ""}