This commit is contained in:
quantulr
2023-10-30 17:29:35 +08:00
parent 1090ca0dd0
commit 7e465da9d2
49 changed files with 1090 additions and 56 deletions

View File

@ -1,16 +1,9 @@
import { ReactNode } from "react";
import ArticleLayout from "@/app/components/ArticleLayout";
const navLinks = [
{ title: "人才概况", href: "/" },
{ title: "人才概况", href: "/3" },
{ title: "人才概况", href: "/4" },
{ title: "人才概况", href: "/5" },
];
import Breadcrumb from "@/app/components/Breadcrumb";
const Layout = ({
children,
params,
}: {
children: ReactNode;
params: {
@ -19,7 +12,10 @@ const Layout = ({
}) => {
return (
<ArticleLayout leftNavTitle={"新闻详情"} navigations={[]}>
{children}
<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>
);
};