22 lines
526 B
TypeScript
22 lines
526 B
TypeScript
import type { Metadata } from "next";
|
|
import "./globals.css";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "中国象棋 - 人机对弈",
|
|
description: "使用Next.js + TypeScript + Tailwind CSS开发的中国象棋人机对弈游戏",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="zh-CN">
|
|
<body style={{ margin: 0, padding: 0, fontFamily: 'system-ui, -apple-system, sans-serif' }}>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|