2023-11-01 17:27:06 +08:00
|
|
|
import { ReactNode } from "react";
|
2023-11-06 17:27:50 +08:00
|
|
|
import ArticleLayout from "@/app/_components/ArticleLayout";
|
|
|
|
import { BreadcrumbItem } from "@/app/_components/Breadcrumb";
|
|
|
|
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
2023-11-01 17:27:06 +08:00
|
|
|
|
|
|
|
const breadcrumb: BreadcrumbItem[] = [
|
|
|
|
{ title: "首页", href: "/" },
|
|
|
|
{ title: "综合新闻", href: "/general-news/pages/1" },
|
|
|
|
];
|
|
|
|
|
|
|
|
const Layout = ({ children }: { children: ReactNode }) => {
|
|
|
|
return (
|
|
|
|
<ArticleLayout navigations={[]} leftNavTitle={"综合新闻"}>
|
|
|
|
<ArticleWithBreadcrumb breadcrumb={breadcrumb}>
|
|
|
|
{children}
|
|
|
|
</ArticleWithBreadcrumb>
|
|
|
|
</ArticleLayout>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default Layout;
|