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({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
export default function RootLayout({ children }: { children: React.ReactNode }): JSX.Element {
|
||||
return (
|
||||
<html lang="en">
|
||||
<head>
|
||||
@ -62,10 +58,13 @@ export default function RootLayout({
|
||||
rel="stylesheet"
|
||||
></link>
|
||||
<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>LA.init({id:"K1QltizcK5DKviun",ck:"K1QltizcK5DKviun",hashMode:true})</script>
|
||||
<script>{'LA.init({id:"你的id",ck:"你的id",hashMode:true})'}</script>
|
||||
</head>
|
||||
<body>{children}</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user