feat(app/layout): 引入 Press Start 2P + VT323 像素字体,添加游戏全局样式和动画
This commit is contained in:
@@ -8,8 +8,8 @@ import { AgentationGuard } from "@/components/AgentationGuard";
|
||||
import RouteChange from "./RouteChange";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Nova Chat',
|
||||
description: 'Generated by create Nova Chat',
|
||||
title: '大厂保卫战',
|
||||
description: '保住KPI,战胜空降VP。一款讽刺大厂文化的塔防游戏。',
|
||||
};
|
||||
|
||||
interface RootLayoutProps {
|
||||
@@ -18,7 +18,15 @@ interface RootLayoutProps {
|
||||
|
||||
export default function RootLayout(props: RootLayoutProps) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<html lang="zh-CN" suppressHydrationWarning>
|
||||
<head>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323:wght@400&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
</head>
|
||||
<body className="antialiased">
|
||||
<ThemeProvider>
|
||||
{props.children}
|
||||
|
||||
Reference in New Issue
Block a user