21 lines
536 B
TypeScript
21 lines
536 B
TypeScript
import { SiteHeader } from "@/components/site-header";
|
|
|
|
/**
|
|
* Minimal layout for legal / informational pages (Privacy Policy, Terms of
|
|
* Use, Data Deletion). Just the global SiteHeader and the content — no
|
|
* sidebar, no bottom nav, no in-page reading affordances. Keeps these
|
|
* pages focused on the text they exist to deliver.
|
|
*/
|
|
export default function LegalLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<div className="flex-1 flex flex-col">
|
|
<SiteHeader />
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|