25 lines
653 B
TypeScript
25 lines
653 B
TypeScript
![]() |
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||
|
import { ReactNode } from "react";
|
||
|
import { BreadcrumbItem } from "@/app/components/Breadcrumb";
|
||
|
|
||
|
const breadcrumb: BreadcrumbItem[] = [
|
||
|
{ title: "首页", href: "/" },
|
||
|
{
|
||
|
title: "成果转化服务",
|
||
|
href: "/achievements-transformation/government-policy",
|
||
|
},
|
||
|
{
|
||
|
title: "科技评估",
|
||
|
href: "/achievements-transformation/technology-assessment",
|
||
|
},
|
||
|
];
|
||
|
const Layout = ({ children }: { children: ReactNode }) => {
|
||
|
return (
|
||
|
<ArticleWithBreadcrumb breadcrumb={breadcrumb}>
|
||
|
{children}
|
||
|
</ArticleWithBreadcrumb>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export default Layout;
|