diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-06 23:48:56 -0800 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-06 23:48:56 -0800 |
commit | b97f3b42e1bad5753728315b5c7ebdacf6f81172 (patch) | |
tree | a07cbc723346503792a70ca7c923a8838e64fdff /app/layout.tsx | |
download | penguin-new-tab-b97f3b42e1bad5753728315b5c7ebdacf6f81172.tar.gz penguin-new-tab-b97f3b42e1bad5753728315b5c7ebdacf6f81172.zip |
initial commit
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> + ); +} |