2026-01-27 17:26:30 +08:00
|
|
|
import type { Metadata } from "next";
|
2026-01-28 17:55:01 +08:00
|
|
|
import { Inter, JetBrains_Mono, Domine, Noto_Sans_SC, Noto_Serif_SC } from "next/font/google";
|
2026-01-27 17:26:30 +08:00
|
|
|
import "./globals.css";
|
2026-01-28 17:55:01 +08:00
|
|
|
import Providers from "@/components/Providers";
|
2026-01-27 17:26:30 +08:00
|
|
|
|
|
|
|
|
const inter = Inter({
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
variable: "--font-inter",
|
|
|
|
|
display: "swap",
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const jetbrainsMono = JetBrains_Mono({
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
variable: "--font-jetbrains",
|
|
|
|
|
display: "swap",
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const domine = Domine({
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
variable: "--font-domine",
|
|
|
|
|
weight: ["400", "700"],
|
|
|
|
|
display: "swap",
|
|
|
|
|
});
|
|
|
|
|
|
2026-01-28 17:55:01 +08:00
|
|
|
const notoSansSC = Noto_Sans_SC({
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
variable: "--font-noto-sans-sc",
|
|
|
|
|
weight: ["400", "500", "700"],
|
|
|
|
|
display: "swap",
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const notoSerifSC = Noto_Serif_SC({
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
variable: "--font-noto-serif-sc",
|
|
|
|
|
weight: ["400", "700"],
|
|
|
|
|
display: "swap",
|
|
|
|
|
});
|
|
|
|
|
|
2026-01-27 17:26:30 +08:00
|
|
|
export const metadata: Metadata = {
|
|
|
|
|
title: "Asset Homepage",
|
|
|
|
|
description: "Asset management platform homepage",
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
return (
|
2026-01-28 17:55:01 +08:00
|
|
|
<html lang="en" className={`${inter.variable} ${jetbrainsMono.variable} ${domine.variable} ${notoSansSC.variable} ${notoSerifSC.variable}`}>
|
2026-01-27 17:26:30 +08:00
|
|
|
<body className="antialiased">
|
2026-01-28 17:55:01 +08:00
|
|
|
<Providers>
|
|
|
|
|
{children}
|
|
|
|
|
</Providers>
|
2026-01-27 17:26:30 +08:00
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|