2023-10-27 17:29:50 +08:00
|
|
|
import { ReactNode } from "react";
|
|
|
|
import ArticleLayout from "@/app/components/ArticleLayout";
|
2023-10-30 17:29:35 +08:00
|
|
|
import Breadcrumb from "@/app/components/Breadcrumb";
|
2023-10-27 17:29:50 +08:00
|
|
|
|
|
|
|
const Layout = ({
|
|
|
|
children,
|
|
|
|
}: {
|
|
|
|
children: ReactNode;
|
|
|
|
params: {
|
|
|
|
articleId: string;
|
|
|
|
};
|
|
|
|
}) => {
|
2023-10-29 22:25:16 +08:00
|
|
|
return (
|
|
|
|
<ArticleLayout leftNavTitle={"新闻详情"} navigations={[]}>
|
2023-10-30 17:29:35 +08:00
|
|
|
<div className={"flex flex-col h-full"}>
|
|
|
|
<Breadcrumb navigations={[]} />
|
|
|
|
<div className={"bg-white px-5 py-4 flex-1 mt-2"}>{children}</div>
|
|
|
|
</div>
|
2023-10-29 22:25:16 +08:00
|
|
|
</ArticleLayout>
|
|
|
|
);
|
2023-10-27 17:29:50 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
export default Layout;
|