36 lines
907 B
TypeScript
36 lines
907 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: "Live Hub · 超级业务中心",
|
|
description: "ARM/x86 Linux 统一控制中心:服务、无人直播、安卓、网络与配置",
|
|
};
|
|
|
|
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>
|
|
);
|
|
}
|