space-shuffler / app /layout.tsx
enzostvs's picture
enzostvs HF staff
initial commit
f70bb71
raw
history blame
861 Bytes
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>
<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>
</>
);
}