first commit

This commit is contained in:
Jelaletdin12
2025-11-10 10:07:48 +05:00
commit fdec9e4b0e
131 changed files with 16660 additions and 0 deletions

35
app/[locale]/page.tsx Normal file
View File

@@ -0,0 +1,35 @@
import type { Metadata } from "next"
import HomePage from "@/components/home/HomePage"
export const revalidate = 300
export async function generateMetadata({
params
}: {
params: Promise<{ locale: string }>
}): Promise<Metadata> {
const { locale } = await params
const meta = {
ru: {
title: "Интернет магазин - Лучшие товары по низким ценам",
description: "Качественные товары с быстрой доставкой по всей стране"
},
tm: {
title: "Satym dükanı - Iň gowy harytlar aşak bahada",
description: "Suw harytly towarnama. Elektrika, eşik, ev we bag"
}
}
const { title, description } = meta[locale as keyof typeof meta] || meta.ru
return {
title,
description,
openGraph: { type: "website", locale, title, description }
}
}
export default function Page() {
return <HomePage />
}