mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-03 11:06:32 +09:00
增加友情链接页面
This commit is contained in:
+11
-2
@@ -1,7 +1,16 @@
|
||||
import SiteDocument from "@/components/layout/site-document";
|
||||
import Script from "next/script";
|
||||
import "@/app/globals.css";
|
||||
|
||||
export { metadata, viewport } from "@/components/layout/site-document";
|
||||
|
||||
export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
|
||||
return <SiteDocument>{children}</SiteDocument>;
|
||||
return (
|
||||
<html lang="zh-Hans" suppressHydrationWarning>
|
||||
<body>
|
||||
{children}
|
||||
<Script id="theme-preference" src="/init-theme.js" strategy="beforeInteractive" />
|
||||
<Script id="locale-canonicalization" src="/init-locale.js" strategy="beforeInteractive" />
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user