first commit

This commit is contained in:
mstfyldz
2026-05-30 18:23:21 +03:00
commit e927cd6af3
57 changed files with 12945 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import { getDictionary } from "@/get-dictionary";
import type { Locale } from "@/i18n-config";
import HomeClient from "@/components/HomeClient";
export async function generateMetadata({ params }: { params: Promise<{ lang: Locale }> }) {
const { lang } = await params;
const dict = await getDictionary(lang);
return {
title: `${dict.nav.brandName}${dict.nav.brandSub} | ${dict.hero.badge}`,
description: dict.hero.desc,
};
}
export default async function Page({ params }: { params: Promise<{ lang: Locale }> }) {
const { lang } = await params;
const dict = await getDictionary(lang);
return <HomeClient lang={lang} dict={dict} />;
}