zero-gpu-spaces / app /layout.tsx
enzostvs's picture
enzostvs HF staff
add dark theme
900e2e7
raw
history blame contribute delete
558 Bytes
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import { ThemeProvider } from "next-themes";
import "@/assets/globals.css";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Zero GPU Spaces | Hugging Face",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body className={inter.className}>
<ThemeProvider attribute="class">{children}</ThemeProvider>
</body>
</html>
);
}