41 lines
1008 B
JavaScript
41 lines
1008 B
JavaScript
import { Geist, Geist_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
import Navigation from "@/components/ui/Navigation";
|
|
import { AuthProvider } from "@/components/auth/AuthProvider";
|
|
import { TranslationProvider } from "@/lib/i18n";
|
|
import { ThemeProvider } from "@/components/ThemeProvider";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata = {
|
|
title: "eProjektant Wastpol",
|
|
description: "Panel Wastpol",
|
|
};
|
|
|
|
export default function RootLayout({ children }) {
|
|
return (
|
|
<html lang="pl">
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased bg-background text-foreground`}
|
|
>
|
|
<ThemeProvider>
|
|
<TranslationProvider initialLanguage="pl">
|
|
<AuthProvider>
|
|
<Navigation />
|
|
<main>{children}</main>
|
|
</AuthProvider>
|
|
</TranslationProvider>
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|