course_web01 / frontend /src /app /layout.tsx
trae-bot
Track frontend files directly and fix Docker package copy
d629cd4
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>
);
}