2024-04-06 19:03:04 -04:00
|
|
|
import type { Metadata } from "next"
|
|
|
|
import { Inter } from "next/font/google"
|
|
|
|
import "./globals.css"
|
|
|
|
import { ThemeProvider } from "@/components/layout/themeProvider"
|
2024-03-19 12:13:18 -04:00
|
|
|
|
2024-04-06 19:03:04 -04:00
|
|
|
const inter = Inter({ subsets: ["latin"] })
|
2024-03-19 12:13:18 -04:00
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
title: "Create Next App",
|
|
|
|
description: "Generated by create next app",
|
2024-04-06 19:03:04 -04:00
|
|
|
}
|
2024-03-19 12:13:18 -04:00
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
children,
|
|
|
|
}: Readonly<{
|
2024-04-06 19:03:04 -04:00
|
|
|
children: React.ReactNode
|
2024-03-19 12:13:18 -04:00
|
|
|
}>) {
|
|
|
|
return (
|
|
|
|
<html lang="en">
|
2024-04-06 19:03:04 -04:00
|
|
|
<body className={inter.className}>
|
|
|
|
<ThemeProvider
|
|
|
|
attribute="class"
|
|
|
|
defaultTheme="dark"
|
|
|
|
forcedTheme="dark"
|
|
|
|
disableTransitionOnChange
|
|
|
|
>
|
|
|
|
{children}
|
|
|
|
</ThemeProvider>
|
|
|
|
</body>
|
2024-03-19 12:13:18 -04:00
|
|
|
</html>
|
2024-04-06 19:03:04 -04:00
|
|
|
)
|
2024-03-19 12:13:18 -04:00
|
|
|
}
|