Files

22 lines
667 B
TypeScript
Raw Normal View History

2023-10-30 17:29:35 +08:00
import { ReactNode } from "react";
import ArticleLayout from "@/app/components/ArticleLayout";
2023-11-01 17:27:06 +08:00
import { BreadcrumbItem } from "@/app/components/Breadcrumb";
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
const breadcrumb: BreadcrumbItem[] = [
{ title: "首页", href: "/" },
{ title: "公告通知", href: "/announcements/pages/1" },
];
2023-10-30 17:29:35 +08:00
const Layout = ({ children }: { children: ReactNode }) => {
return (
<ArticleLayout navigations={[]} leftNavTitle={"公告通知"}>
2023-11-01 17:27:06 +08:00
<ArticleWithBreadcrumb breadcrumb={breadcrumb}>
{children}
</ArticleWithBreadcrumb>
2023-10-30 17:29:35 +08:00
</ArticleLayout>
);
};
export default Layout;