Files

20 lines
556 B
TypeScript
Raw Normal View History

2023-10-30 17:29:35 +08:00
import React, { ReactNode } from "react";
import Breadcrumb from "@/app/components/Breadcrumb";
const breadcrumb = [
{ href: "/", title: "首页" },
{ href: "/organization/overview", title: "机构设置" },
{ href: "/organization/overview", title: "机构简介" },
];
const Layout = ({ children }: { children: ReactNode }) => {
return (
2023-11-03 17:25:10 +08:00
<div className={"flex h-full flex-col"}>
2023-10-30 17:29:35 +08:00
<Breadcrumb navigations={breadcrumb} />
2023-11-03 17:25:10 +08:00
<div className={"mt-2 flex-1 bg-white px-5 py-4"}>{children}</div>
2023-10-30 17:29:35 +08:00
</div>
);
};
export default Layout;