feat(blog): isolate articles by locale and add initial english posts

This commit is contained in:
Poyraz
2026-06-27 14:42:52 +03:00
parent ac20bd697c
commit 66639bf31c
10 changed files with 321 additions and 35 deletions
+7 -2
View File
@@ -4,8 +4,13 @@ import { ReferencesSection } from "@/components/references-section";
import { SponsorsSection } from "@/components/sponsors-section";
import { getHomeBlogNews } from "@/data/blog";
export default async function Home() {
const homeNews = await getHomeBlogNews(3);
export default async function Home({
params,
}: {
params: Promise<{ locale: string }>;
}) {
const { locale } = await params;
const homeNews = await getHomeBlogNews(locale, 3);
return (
<section className="flex h-full flex-col gap-4 overflow-y-auto overflow-x-hidden">