first udpate

This commit is contained in:
diyaa
2026-03-13 03:16:25 +01:00
commit 243a182d33
28 changed files with 1144 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import HeroSection from "@/components/HeroSection";
import { getDictionary, isLocale, type Locale } from "@/lib/i18n";
import { notFound } from "next/navigation";
export default function HomePage({ params }: { params: { locale: string } }) {
if (!isLocale(params.locale)) {
notFound();
}
const locale = params.locale as Locale;
const dictionary = getDictionary(locale);
return <HeroSection locale={locale} home={dictionary.home} common={dictionary.common} />;
}