22 lines
637 B
TypeScript
22 lines
637 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/industry-docking" },
|
|
];
|
|
const Layout = ({ children }: { children: ReactNode }) => {
|
|
return (
|
|
<ArticleWithBreadcrumb breadcrumb={breadcrumb}>
|
|
{children}
|
|
</ArticleWithBreadcrumb>
|
|
);
|
|
};
|
|
|
|
export default Layout;
|