Files
gitlab-instance-0a899031_do…/web-console/app/layout.tsx

36 lines
881 B
TypeScript

import type { Metadata } from "next";
import localFont from "next/font/local";
import "./globals.css";
const geistSans = localFont({
src: "./fonts/GeistVF.woff",
variable: "--font-geist-sans",
weight: "100 900",
});
const geistMono = localFont({
src: "./fonts/GeistMonoVF.woff",
variable: "--font-geist-mono",
weight: "100 900",
});
export const metadata: Metadata = {
title: "直播与系统控制台",
description: "业务进程、系统服务与配置文件的统一控制平面",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="zh-CN" data-theme="dark" suppressHydrationWarning>
<body className={`${geistSans.variable} ${geistMono.variable} font-sans antialiased`}>
<div className="app-bg-layer" aria-hidden />
{children}
</body>
</html>
);
}