import type React from "react"
import type {Metadata} from "next"
import {AntdRegistry} from "@ant-design/nextjs-registry"
import {ConfigProvider} from "antd"
import zhCN from "antd/locale/zh_CN"
import "./globals.css"

export const metadata: Metadata = {
  title: "燃气管网安全运行监测系统",
  description: "燃气管网安全运行监测子系统演示平台",
  generator: "v0.dev",
}

export default function RootLayout({
                                     children,
                                   }: Readonly<{
  children: React.ReactNode
}>) {
  return (
    <AntdRegistry>
      <ConfigProvider locale={zhCN}>{children}</ConfigProvider>
    </AntdRegistry>
  )
}
