project pages created and populated automatically

This commit is contained in:
2026-04-16 10:15:14 +02:00
parent 82e6e3dc01
commit 5e1368f790
17 changed files with 2320 additions and 101 deletions
+14 -3
View File
@@ -3,13 +3,24 @@ import WorksSection from "@/components/sections/WorksSection";
import FeatureSection from "@/components/sections/FeatureSection";
import TimelineSection from "@/components/sections/AboutSection";
export default function Home() {
import { getAllProjects } from "@/lib/projects/get-projects";
type Props = {
params: Promise<{
locale: string;
}>;
};
export default async function Home({ params }: Props) {
const { locale } = await params;
const projects = getAllProjects();
return (
<main className=" bg-brand-beige text-brand-black flex flex-col items-center justify-center">
<HeroSection />
<WorksSection />
<WorksSection projects={projects} locale={locale} />
<FeatureSection />
<TimelineSection />
</main>
);
}
}