Spaces:
Running
Running
import { Inter, Montserrat } from "next/font/google"; | |
import { ThemeProvider } from "@/components/theme-provider"; | |
import "@/style/globals.css"; | |
const inter = Inter({ subsets: ["latin"], variable: "--font-inter" }); | |
const montserrat = Montserrat({ | |
subsets: ["latin"], | |
variable: "--font-montserrat", | |
}); | |
export default function RootLayout({ | |
children, | |
}: { | |
children: React.ReactNode; | |
}) { | |
return ( | |
<> | |
<html lang="en" suppressHydrationWarning className="dark"> | |
<head /> | |
<body | |
className={`${inter.variable} ${montserrat.variable} bg-grid-small-white/5 font-sans`} | |
> | |
{/* <ThemeProvider | |
attribute="class" | |
defaultTheme="system" | |
enableSystem | |
disableTransitionOnChange | |
> */} | |
{children} | |
{/* </ThemeProvider> */} | |
</body> | |
</html> | |
</> | |
); | |
} | |