|
@@ -7,39 +7,39 @@ import FooterBlock from "@/components/footerBlock";
|
|
|
import Script from "next/script";
|
|
import Script from "next/script";
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
export const metadata: Metadata = {
|
|
|
- title: "中科盛阳信息技术有限公司",
|
|
|
|
|
- description: "中科盛阳信息技术有限公司官网",
|
|
|
|
|
- icons:{
|
|
|
|
|
- icon:'/favicon.ico'
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ title: "中科盛阳信息技术有限公司",
|
|
|
|
|
+ description: "中科盛阳信息技术有限公司官网",
|
|
|
|
|
+ icons: {
|
|
|
|
|
+ icon: '/favicon.ico'
|
|
|
|
|
+ }
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
export default function RootLayout({
|
|
|
- children,
|
|
|
|
|
-}: Readonly<{
|
|
|
|
|
- children: React.ReactNode;
|
|
|
|
|
|
|
+ children,
|
|
|
|
|
+ }: Readonly<{
|
|
|
|
|
+ children: React.ReactNode;
|
|
|
}>) {
|
|
}>) {
|
|
|
- return (
|
|
|
|
|
- <html lang="en">
|
|
|
|
|
- <body>
|
|
|
|
|
- <AntdRegistry>
|
|
|
|
|
- <HeaderBlock/>
|
|
|
|
|
- {children}
|
|
|
|
|
- {/*<ChatWidget/>*/}
|
|
|
|
|
- <FooterBlock/>
|
|
|
|
|
- </AntdRegistry>
|
|
|
|
|
- </body>
|
|
|
|
|
- <Script id="baidu-tongji">
|
|
|
|
|
- {`
|
|
|
|
|
|
|
+ return (
|
|
|
|
|
+ <html lang="en">
|
|
|
|
|
+ <body>
|
|
|
|
|
+ <AntdRegistry>
|
|
|
|
|
+ <HeaderBlock/>
|
|
|
|
|
+ {children}
|
|
|
|
|
+ {/*<ChatWidget/>*/}
|
|
|
|
|
+ <FooterBlock/>
|
|
|
|
|
+ </AntdRegistry>
|
|
|
|
|
+ </body>
|
|
|
|
|
+ <Script id="baidu-tongji">
|
|
|
|
|
+ {`
|
|
|
var _hmt = _hmt || [];
|
|
var _hmt = _hmt || [];
|
|
|
- (function() {
|
|
|
|
|
- var hm = document.createElement("script");
|
|
|
|
|
- hm.src = "https://hm.baidu.com/hm.js?4ef580994251660ce8c45997f722da54";
|
|
|
|
|
- var s = document.getElementsByTagName("script")[0];
|
|
|
|
|
- s.parentNode.insertBefore(hm, s);
|
|
|
|
|
- })();
|
|
|
|
|
|
|
+(function() {
|
|
|
|
|
+ var hm = document.createElement("script");
|
|
|
|
|
+ hm.src = "https://hm.baidu.com/hm.js?4ef580994251660ce8c45997f722da54";
|
|
|
|
|
+ var s = document.getElementsByTagName("script")[0];
|
|
|
|
|
+ s.parentNode.insertBefore(hm, s);
|
|
|
|
|
+})();
|
|
|
`}
|
|
`}
|
|
|
- </Script>
|
|
|
|
|
- </html>
|
|
|
|
|
- );
|
|
|
|
|
|
|
+ </Script>
|
|
|
|
|
+ </html>
|
|
|
|
|
+ );
|
|
|
}
|
|
}
|