import * as React from "react"; import Header from "./header"; import { appContext } from "../hooks/provider"; import Footer from "./footer"; /// import ant css import "antd/dist/reset.css"; type Props = { title: string; link: string; children?: React.ReactNode; showHeader?: boolean; restricted?: boolean; meta?: any; }; const Layout = ({ meta, title, link, children, showHeader = true, restricted = false, }: Props) => { const layoutContent = (