spestexnika

This commit is contained in:
Davron Chetin
2025-10-04 11:41:38 +05:00
parent cb78857a3a
commit 398269b49b
180 changed files with 1174 additions and 113 deletions

View File

@@ -1,5 +1,7 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import {dir} from "i18next";
import { languages } from "../i18n/settings";
import "./globals.css";
const geistSans = Geist({
@@ -17,16 +19,17 @@ export const metadata: Metadata = {
description: "Generated by create next app",
};
export default function RootLayout({
children,
params
}: Readonly<{
children: React.ReactNode;
params:{lang:string}
}>) {
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
<html lang={params.lang} dir={dir(params.lang)}>
<body>
{children}
</body>
</html>