import { Footer, Layout, Navbar } from "nextra-theme-docs"; import { Head } from "nextra/components"; import { getPageMap } from "nextra/page-map"; import "nextra-theme-docs/style.css"; import type { Metadata } from "next"; import type { ReactElement, ReactNode } from "react"; export const metadata: Metadata = { title: { default: "Antd Admin 文档", template: "%s – Antd Admin 文档", }, description: "antd-admin 模板使用说明:basic 与 with-lingui 选型、安装与配置。", }; const navbar = ( Antd Admin 文档} projectLink="https://github.com/zuiidea/antd-admin" /> ); const footer = ( ); export default async function RootLayout({ children, }: { children: ReactNode; }): Promise { const pageMap = await getPageMap(); return ( {children} ); }