summaryrefslogtreecommitdiff
path: root/app/layout.tsx
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2025-01-06 23:48:56 -0800
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2025-01-06 23:48:56 -0800
commitb97f3b42e1bad5753728315b5c7ebdacf6f81172 (patch)
treea07cbc723346503792a70ca7c923a8838e64fdff /app/layout.tsx
downloadpenguin-new-tab-b97f3b42e1bad5753728315b5c7ebdacf6f81172.tar.gz
penguin-new-tab-b97f3b42e1bad5753728315b5c7ebdacf6f81172.zip
initial commit
Diffstat (limited to 'app/layout.tsx')
-rw-r--r--app/layout.tsx26
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>
+ );
+}