Files
web/src/app/layout.tsx
2025-03-11 14:57:23 +08:00

26 lines
523 B
TypeScript

import {ReactNode} from 'react'
import {Metadata} from 'next'
import './globals.css'
import localFont from 'next/font/local'
const font = localFont({src: './SourceHanSansSC-VF.otf.woff2'})
export const metadata: Metadata = {
title: 'Create Next App',
description: 'Generated by create next app',
}
export default function RootLayout({
children,
}: Readonly<{
children: ReactNode;
}>) {
return (
<html lang="zh-Cn">
<body className={font.className}>
{children}
</body>
</html>
)
}