added project pages, updated page for FAM.

This commit is contained in:
Hunter W.
2026-06-08 22:25:39 -04:00
parent 0b161f3e2d
commit 89e5c2364c
27 changed files with 1860 additions and 55 deletions

View File

@@ -0,0 +1,18 @@
import { ProjectProvider } from "../../context/ProjectContext";
import { getProjectDetails } from "@/data/content";
export default async function SlugLayout({children, params}: {
children: React.ReactNode;
params: Promise<{ slug: string }>;
}) {
const {slug} = await params;
const projectData = await getProjectDetails(slug)
return (
<ProjectProvider value={projectData}>
<main>
{children}
</main>
</ProjectProvider>
);
}