atom-landing / src /app /layout.tsx
Florin Bobiș
cool landing
6a37227
raw
history blame contribute delete
975 Bytes
import type { Metadata } from "next";
import localFont from "next/font/local";
import "./globals.css";
import { ThemeProvider } from "@/components/theme-provider";
const geistSans = localFont({
src: "./fonts/GeistVF.woff",
variable: "--font-geist-sans",
weight: "100 900",
});
const geistMono = localFont({
src: "./fonts/GeistMonoVF.woff",
variable: "--font-geist-mono",
weight: "100 900",
});
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={`${geistSans.variable} ${geistMono.variable} min-h-screen antialiased`}
>
<ThemeProvider attribute="class" defaultTheme="system" enableSystem storageKey="theme">
{children}
</ThemeProvider>
</body>
</html>
);
}