24 lines
661 B
TypeScript
24 lines
661 B
TypeScript
import { SiteHeader } from "@/components/layout/site-header";
|
|
import { SiteFooter } from "@/components/layout/site-footer";
|
|
|
|
/**
|
|
* Minimal layout for legal / informational pages (Privacy Policy, Terms of
|
|
* Use, Data Deletion). Just the global SiteHeader, the content, and the
|
|
* site-wide feedback footer — 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}
|
|
<SiteFooter />
|
|
</div>
|
|
);
|
|
}
|