Ready for production deployment with Dockerfile and i18n support

This commit is contained in:
2026-04-13 12:57:52 +03:00
parent 8346812507
commit b30376aa1d
32 changed files with 1078 additions and 117 deletions

18
app/[lang]/page.tsx Normal file
View File

@@ -0,0 +1,18 @@
import HeroSplit from "../components/HeroSplit";
import AboutLegend from "../components/AboutLegend";
import Footer from "../components/Footer";
import { getDictionary } from "../dictionaries";
export default async function Home({ params }: { params: Promise<{ lang: string }> }) {
const resolvedParams = await params;
const lang = resolvedParams.lang as "en" | "tr";
const dict = await getDictionary(lang);
return (
<main>
<HeroSplit dict={dict} currentLang={lang} />
<AboutLegend dict={dict} />
<Footer dict={dict} />
</main>
);
}