feat(docs): enhance documentation structure and add Docker support for standalone Next.js app

This commit is contained in:
HouYunFei
2026-06-02 13:23:11 +08:00
parent 7802771e56
commit 6413011e54
24 changed files with 250 additions and 94 deletions
+1 -18
View File
@@ -1,26 +1,9 @@
import { Noto_Sans_SC, Sora } from 'next/font/google';
import { Provider } from '@/components/provider';
import './global.css';
const bodyFont = Noto_Sans_SC({
subsets: ['latin'],
weight: ['400', '500', '600'],
variable: '--font-body',
});
const displayFont = Sora({
subsets: ['latin'],
weight: ['500', '600', '700'],
variable: '--font-display',
});
export default function Layout({ children }: LayoutProps<'/'>) {
return (
<html
lang="zh-CN"
className={`${bodyFont.className} ${bodyFont.variable} ${displayFont.variable}`}
suppressHydrationWarning
>
<html lang="zh-CN" suppressHydrationWarning>
<body className="flex flex-col min-h-screen">
<Provider>{children}</Provider>
</body>