aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/app/layout.tsx
diff options
context:
space:
mode:
authorLofiSu <linsu269@gmail.com>2025-01-26 22:34:40 +0800
committerLofiSu <linsu269@gmail.com>2025-01-26 22:34:40 +0800
commitcd8aab3a511091ce378ff7ebcaa42bf979f00882 (patch)
treec387ca55aa6977499b03346ab46e63a0f7c09b36 /src/app/layout.tsx
parent778f5b627812f6cb487e9236ca5e5261fd2e763c (diff)
downloadHydroRollSite-cd8aab3a511091ce378ff7ebcaa42bf979f00882.tar.gz
HydroRollSite-cd8aab3a511091ce378ff7ebcaa42bf979f00882.zip
refactor: rewrite
Diffstat (limited to 'src/app/layout.tsx')
-rw-r--r--src/app/layout.tsx34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
new file mode 100644
index 0000000..f7fa87e
--- /dev/null
+++ b/src/app/layout.tsx
@@ -0,0 +1,34 @@
+import type { Metadata } from "next";
+import { Geist, Geist_Mono } from "next/font/google";
+import "./globals.css";
+
+const geistSans = Geist({
+ variable: "--font-geist-sans",
+ subsets: ["latin"],
+});
+
+const geistMono = Geist_Mono({
+ variable: "--font-geist-mono",
+ subsets: ["latin"],
+});
+
+export const metadata: Metadata = {
+ title: "Create Next App",
+ description: "Generated by create next app",
+};
+
+export default function RootLayout({
+ children,
+}: Readonly<{
+ children: React.ReactNode;
+}>) {
+ return (
+ <html lang="en">
+ <body
+ className={`${geistSans.variable} ${geistMono.variable} antialiased`}
+ >
+ {children}
+ </body>
+ </html>
+ );
+}