feat: route structure, providers, layouts, and placeholder pages

This commit is contained in:
zetaloop
2026-02-20 12:43:34 +08:00
parent 1f87f4676e
commit 3093da1665
35 changed files with 324 additions and 70 deletions
+7 -4
View File
@@ -1,5 +1,6 @@
import type { Metadata } from "next"
import { Geist, Geist_Mono } from "next/font/google"
import { Providers } from "./providers"
import "./globals.css"
const geistSans = Geist({
@@ -13,8 +14,8 @@ const geistMono = Geist_Mono({
})
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: "聚玩",
description: "游戏陪玩服务平台",
}
export default function RootLayout({
@@ -23,8 +24,10 @@ export default function RootLayout({
children: React.ReactNode
}>) {
return (
<html lang="en">
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`}>{children}</body>
<html lang="zh-CN">
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
<Providers>{children}</Providers>
</body>
</html>
)
}