34 lines
990 B
TypeScript
34 lines
990 B
TypeScript
import type { Metadata } from "next";
|
||
import "@fontsource-variable/geist";
|
||
import "@fontsource-variable/geist-mono";
|
||
import "@fontsource-variable/noto-sans-sc";
|
||
import "./globals.css";
|
||
import { ThemeProvider } from "./providers/ThemeProvider";
|
||
import { themeInitScript } from "./theme-init";
|
||
|
||
export const metadata: Metadata = {
|
||
title: "数字游民实战课 | 从朝九晚五到边旅行边赚钱",
|
||
description:
|
||
"数字游民实战课,21节课程带你掌握远程变现、被动收入、全球旅居,异度世界、大师兄、小美联合授课",
|
||
manifest: "/manifest.json",
|
||
};
|
||
|
||
export default function RootLayout({
|
||
children,
|
||
}: Readonly<{
|
||
children: React.ReactNode;
|
||
}>) {
|
||
return (
|
||
<html lang="zh-CN" suppressHydrationWarning>
|
||
<body
|
||
className="antialiased font-sans"
|
||
>
|
||
<script
|
||
dangerouslySetInnerHTML={{ __html: themeInitScript }}
|
||
/>
|
||
<ThemeProvider>{children}</ThemeProvider>
|
||
</body>
|
||
</html>
|
||
);
|
||
}
|