import { ReactNode } from "react";
import ArticleLayout from "@/app/components/ArticleLayout";
import Breadcrumb from "@/app/components/Breadcrumb";

const Layout = ({
  children,
}: {
  children: ReactNode;
  params: {
    articleId: string;
  };
}) => {
  return (
    <ArticleLayout leftNavTitle={"新闻详情"} navigations={[]}>
      <div className={"flex flex-col h-full"}>
        <Breadcrumb navigations={[]} />
        <div className={"bg-white px-5 py-4 flex-1 mt-2"}>{children}</div>
      </div>
    </ArticleLayout>
  );
};

export default Layout;
