- public/: App Router, GSAP lineage corridor, R3F globe, IA routes, 曼李.com metadata - CONTENT_GATES.md, DEPLOY.md (Cloudflare, NPMplus, Phoenix) - .gitea/workflows/build-public.yml for static build artifact Made-with: Cursor
20 lines
429 B
TypeScript
20 lines
429 B
TypeScript
import { SiteFooter } from "@/components/layout/SiteFooter";
|
|
import { SiteHeader } from "@/components/layout/SiteHeader";
|
|
import type { SiteData } from "@/lib/site";
|
|
|
|
export function PageShell({
|
|
site,
|
|
children,
|
|
}: {
|
|
site: SiteData;
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<>
|
|
<SiteHeader nav={site.nav} />
|
|
<div className="pt-14">{children}</div>
|
|
<SiteFooter footer={site.footer} />
|
|
</>
|
|
);
|
|
}
|