This commit is contained in:
2025-11-15 21:58:53 +08:00
committed by LeonMMcoset
parent 91f17be04a
commit 3eb36b78da
10 changed files with 1729 additions and 111 deletions

View File

@@ -1,33 +1,28 @@
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"],
});
// 禁用Google字体加载避免构建错误
// 导出元数据
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: "LeonCloud官网",
description: "LeonCloud原LeonWeb官网",
};
// 导入客户端组件
import ClientLayout from './components/ClientLayout';
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
<html>
<body>
<ClientLayout>
{children}
</ClientLayout>
</body>
</html>
);