File size: 861 Bytes
f70bb71
d2a5dad
f70bb71
 
d2a5dad
f70bb71
 
 
 
 
d2a5dad
 
 
f70bb71
d2a5dad
f70bb71
d2a5dad
f70bb71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d2a5dad
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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>
    </>
  );
}