diff options
Diffstat (limited to 'app/layout.tsx')
-rw-r--r-- | app/layout.tsx | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app/layout.tsx b/app/layout.tsx new file mode 100644 index 0000000..bb57e86 --- /dev/null +++ b/app/layout.tsx @@ -0,0 +1,26 @@ +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> + ); +} |