37 lines
743 B
TypeScript
37 lines
743 B
TypeScript
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>
|
|
);
|
|
}
|
|
|