36 lines
1.0 KiB
TypeScript
36 lines
1.0 KiB
TypeScript
import { Geist_Mono, Outfit, Nunito_Sans } from "next/font/google"
|
|
|
|
import "./globals.css"
|
|
import { ThemeProvider } from "@/components/theme-provider"
|
|
import { AuthProvider } from "@/contexts/auth-context"
|
|
import { UiProvider } from "@/components/ui/provider"
|
|
import { cn } from "@/lib/utils"
|
|
|
|
const nunitoSansHeading = Nunito_Sans({ subsets: ['latin'], variable: '--font-heading' })
|
|
const outfit = Outfit({ subsets: ['latin'], variable: '--font-sans' })
|
|
const fontMono = Geist_Mono({ subsets: ['latin'], variable: '--font-mono' })
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode
|
|
}>) {
|
|
return (
|
|
<html
|
|
lang="en"
|
|
suppressHydrationWarning
|
|
className={cn('antialiased', fontMono.variable, 'font-sans', outfit.variable, nunitoSansHeading.variable)}
|
|
>
|
|
<body suppressHydrationWarning>
|
|
<ThemeProvider>
|
|
<AuthProvider>
|
|
<UiProvider>
|
|
{children}
|
|
</UiProvider>
|
|
</AuthProvider>
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|