Spaces:
Sleeping
Sleeping
| import type { Metadata } from "next"; | |
| import { Inter } from "next/font/google"; | |
| import "./globals.css"; | |
| import ClientLayout from "./client-layout"; | |
| const inter = Inter({ subsets: ["latin"] }); | |
| export const metadata: Metadata = { | |
| title: "课程订阅平台", | |
| description: "学习并与我们的优质课程一起成长", | |
| }; | |
| export default function RootLayout({ | |
| children, | |
| }: Readonly<{ | |
| children: React.ReactNode; | |
| }>) { | |
| return ( | |
| <html lang="zh-CN"> | |
| <body className={`${inter.className} min-h-screen bg-gray-50 flex flex-col antialiased`}> | |
| <ClientLayout> | |
| {children} | |
| </ClientLayout> | |
| </body> | |
| </html> | |
| ); | |
| } | |