mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-08 19:16:37 +08:00
Update layout.tsx
This commit is contained in:
parent
9eea6b886a
commit
161c906584
@ -41,11 +41,7 @@ function Meta() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({ children }: { children: React.ReactNode }): JSX.Element {
|
||||||
children,
|
|
||||||
}: {
|
|
||||||
children: React.ReactNode;
|
|
||||||
}) {
|
|
||||||
return (
|
return (
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
@ -62,10 +58,13 @@ export default function RootLayout({
|
|||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
></link>
|
></link>
|
||||||
<script src="/serviceWorkerRegister.js" defer></script>
|
<script src="/serviceWorkerRegister.js" defer></script>
|
||||||
|
|
||||||
|
{/* 在这里添加51la站长统计代码 */}
|
||||||
<script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script>
|
<script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script>
|
||||||
<script>LA.init({id:"K1QltizcK5DKviun",ck:"K1QltizcK5DKviun",hashMode:true})</script>
|
<script>{'LA.init({id:"你的id",ck:"你的id",hashMode:true})'}</script>
|
||||||
</head>
|
</head>
|
||||||
<body>{children}</body>
|
<body>{children}</body>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user