This commit is contained in:
eric
2026-03-27 19:35:39 -05:00
parent e1ed5a56dc
commit b099437738
7 changed files with 125 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
import type { Metadata } from "next";
import "./globals.css";
import { ThemeProvider } from "./providers/ThemeProvider";
import { httpsUpgradeScript } from "./https-upgrade";
import { themeInitScript } from "./theme-init";
export const metadata: Metadata = {
@@ -16,6 +17,7 @@ export default function RootLayout({
return (
<html lang="zh-CN" suppressHydrationWarning>
<body className="antialiased">
<script dangerouslySetInnerHTML={{ __html: httpsUpgradeScript }} />
<script dangerouslySetInnerHTML={{ __html: themeInitScript }} />
<ThemeProvider>{children}</ThemeProvider>
</body>