27 lines
591 B
TypeScript
27 lines
591 B
TypeScript
import "./globals.css";
|
|
import { Inter } from "next/font/google";
|
|
import { ThemeProvider } from "next-themes";
|
|
|
|
const inter = Inter({ subsets: ["latin"] });
|
|
|
|
export const metadata = {
|
|
title: "Penguin New Tab",
|
|
description: "A beautiful penguin-themed new tab page",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={inter.className}>
|
|
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
|
|
{children}
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|