Prechádzať zdrojové kódy

跟新爱番番在线沟通问题

丁烨烨 4 mesiacov pred
rodič
commit
08af1c3feb
1 zmenil súbory, kde vykonal 29 pridanie a 29 odobranie
  1. 29 29
      src/app/layout.tsx

+ 29 - 29
src/app/layout.tsx

@@ -7,39 +7,39 @@ import FooterBlock from "@/components/footerBlock";
 import Script from "next/script";
 
 export const metadata: Metadata = {
-  title: "中科盛阳信息技术有限公司",
-  description: "中科盛阳信息技术有限公司官网",
-  icons:{
-    icon:'/favicon.ico'
-  }
+    title: "中科盛阳信息技术有限公司",
+    description: "中科盛阳信息技术有限公司官网",
+    icons: {
+        icon: '/favicon.ico'
+    }
 };
 
 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 || [];
-        (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>
+    );
 }