diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsx index 48a1308..9bb1cdc 100644 --- a/apps/web/app/layout.tsx +++ b/apps/web/app/layout.tsx @@ -1,6 +1,22 @@ import type { Metadata } from "next"; +import { Cormorant_Garamond, Inter } from "next/font/google"; import "./globals.css"; +const cormorant = Cormorant_Garamond({ + subsets: ["latin"], + weight: ["300", "400", "500", "600"], + style: ["normal", "italic"], + variable: "--font-serif", + display: "swap", +}); + +const inter = Inter({ + subsets: ["latin"], + weight: ["300", "400", "500"], + variable: "--font-sans", + display: "swap", +}); + export const metadata: Metadata = { title: "云梦 — AI 视觉小说", description: "一部由 AI 实时绘制每一帧的开源视觉小说。", @@ -12,18 +28,12 @@ export default function RootLayout({ children: React.ReactNode; }) { return ( - + - - -