Spaces:
Sleeping
Sleeping
import type { Metadata } from "next"; | |
import { Inter } from "next/font/google"; | |
import "./globals.css"; | |
import { ThemeProvider } from "@/components/theme-provider"; | |
const inter = Inter({ | |
subsets: ["latin"], | |
variable: "--font-sans", | |
}); | |
export const metadata: Metadata = { | |
title: "G-Space Atom", | |
description: "Your One-stop Shop For Gravity-free Design", | |
}; | |
export default function RootLayout({ | |
children, | |
}: Readonly<{ | |
children: React.ReactNode; | |
}>) { | |
return ( | |
<html lang="en" suppressHydrationWarning> | |
<body className={`${inter.variable} min-h-screen font-sans antialiased`}> | |
<ThemeProvider | |
attribute="class" | |
defaultTheme="system" | |
enableSystem | |
storageKey="theme" | |
> | |
{children} | |
</ThemeProvider> | |
</body> | |
</html> | |
); | |
} | |