feat: initialize aivideo project
This commit is contained in:
36
frontend-web/src/app/layout.tsx
Normal file
36
frontend-web/src/app/layout.tsx
Normal file
@@ -0,0 +1,36 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Manrope, Space_Grotesk } from "next/font/google";
|
||||
|
||||
import { Providers } from "@/components/providers";
|
||||
|
||||
import "./globals.css";
|
||||
|
||||
const displayFont = Space_Grotesk({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-display",
|
||||
});
|
||||
|
||||
const bodyFont = Manrope({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-body",
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "AIVideo",
|
||||
description: "AI 视频生成平台用户前台",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="zh-CN">
|
||||
<body className={`${displayFont.variable} ${bodyFont.variable}`}>
|
||||
<Providers>{children}</Providers>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user