initial commit
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Golos_Text } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { NextIntlClientProvider } from "next-intl";
|
||||
import { ThemeProvider } from "@/components/themeProvider";
|
||||
import { Toaster } from "@/components/ui/sonner";
|
||||
|
||||
const golosText = Golos_Text({
|
||||
variable: "--font-geist-sans",
|
||||
weight: ["500"],
|
||||
subsets: ["latin", "cyrillic"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Kotosoft ID",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<body className={`${golosText.className} antialiased selection:bg-black/10 dark:selection:bg-blue-300/20`}>
|
||||
<NextIntlClientProvider>
|
||||
<ThemeProvider
|
||||
attribute="class"
|
||||
defaultTheme="system"
|
||||
enableSystem
|
||||
disableTransitionOnChange
|
||||
>
|
||||
{children}
|
||||
</ThemeProvider>
|
||||
<Toaster richColors />
|
||||
</NextIntlClientProvider>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user