This commit is contained in:
2026-04-17 12:02:41 +02:00
parent 1899335e60
commit 3c8dbade41
12 changed files with 595 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
import { getAllArticles } from "@/lib/blog/get-articles";
import { BlogHero } from "@/components/sections/BlogHero";
import { ArticleList } from "@/components/sections/ArticleList";
type props = {
params: Promise<{ locale: string }>;
};
export default async function BlogPage({ params }: props) {
const { locale } = await params;
const articles = getAllArticles(locale);
return (
<main className="bg-brand-beige">
<BlogHero />
<ArticleList locale={locale} articles={articles} />
</main>
);
}