|
|
|
@ -21,6 +21,20 @@ export const viewport: Viewport = {
|
|
|
|
|
export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
|
|
|
|
|
return (
|
|
|
|
|
<html lang="zh-cn">
|
|
|
|
|
<head>
|
|
|
|
|
<script
|
|
|
|
|
dangerouslySetInnerHTML={{
|
|
|
|
|
__html:
|
|
|
|
|
`var _hmt = _hmt || [];\n` +
|
|
|
|
|
`(function() {\n` +
|
|
|
|
|
` var hm = document.createElement("script");\n` +
|
|
|
|
|
` hm.src = "https://hm.baidu.com/hm.js?89d54ff4e336c923a74ee045cc600c6a";\n` +
|
|
|
|
|
` var s = document.getElementsByTagName("script")[0];\n` +
|
|
|
|
|
` s.parentNode.insertBefore(hm, s);\n` +
|
|
|
|
|
`})();`,
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<LibFlexible>{children}</LibFlexible>
|
|
|
|
|
</body>
|
|
|
|
|