feat: update root layout with metadata

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-03-04 02:02:31 +08:00
parent cf7d3d5618
commit f3b0d79ef9

View File

@@ -1,20 +1,13 @@
import type { Metadata } from "next"; // app/layout.tsx
import { Geist, Geist_Mono } from "next/font/google"; import type { Metadata } from 'next';
import "./globals.css"; import { Inter } from 'next/font/google';
import './globals.css';
const geistSans = Geist({ const inter = Inter({ subsets: ['latin'] });
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Create Next App", title: '资源下载 - 选择项目和版本',
description: "Generated by create next app", description: '内网 APK 资源下载工具',
}; };
export default function RootLayout({ export default function RootLayout({
@@ -23,12 +16,8 @@ export default function RootLayout({
children: React.ReactNode; children: React.ReactNode;
}>) { }>) {
return ( return (
<html lang="en"> <html lang="zh-CN">
<body <body className={inter.className}>{children}</body>
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
</body>
</html> </html>
); );
} }