打磨细节

This commit is contained in:
2026-01-28 17:55:01 +08:00
parent 08af95116e
commit 0a1bd07492
36 changed files with 1649 additions and 466 deletions

View File

@@ -1,6 +1,7 @@
import type { Metadata } from "next";
import { Inter, JetBrains_Mono, Domine } from "next/font/google";
import { Inter, JetBrains_Mono, Domine, Noto_Sans_SC, Noto_Serif_SC } from "next/font/google";
import "./globals.css";
import Providers from "@/components/Providers";
const inter = Inter({
subsets: ["latin"],
@@ -21,6 +22,20 @@ const domine = Domine({
display: "swap",
});
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",
});
export const metadata: Metadata = {
title: "Asset Homepage",
description: "Asset management platform homepage",
@@ -32,9 +47,11 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang="zh-CN" className={`${inter.variable} ${jetbrainsMono.variable} ${domine.variable}`}>
<html lang="en" className={`${inter.variable} ${jetbrainsMono.variable} ${domine.variable} ${notoSansSC.variable} ${notoSerifSC.variable}`}>
<body className="antialiased">
{children}
<Providers>
{children}
</Providers>
</body>
</html>
);