import type { Metadata } from "next";
import "./globals.css";
import {AntdRegistry} from "@ant-design/nextjs-registry";
import '@ant-design/v5-patch-for-react-19';
import HeaderBlock from "@/components/headerBlock";
import FooterBlock from "@/components/footerBlock";

export const metadata: Metadata = {
  title: "中科盛阳信息技术有限公司",
  description: "中科盛阳信息技术有限公司官网",
  icons:{
    icon:'/favicon.ico'
  }
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en">
    <body>
    <AntdRegistry>
      <HeaderBlock/>
      {children}
      <FooterBlock/>
    </AntdRegistry>
    </body>
    </html>
  );
}
