Files

21 lines
624 B
TypeScript
Raw Normal View History

2023-11-06 17:27:50 +08:00
import ArticleLayout from "@/app/_components/ArticleLayout";
2023-11-01 17:27:06 +08:00
import React, { ReactNode } from "react";
2023-11-06 17:27:50 +08:00
import Breadcrumb from "@/app/_components/Breadcrumb";
2023-11-01 17:27:06 +08:00
const breadcrumb = [
{ href: "/", title: "首页" },
{ href: "/contact-us", title: "联系我们" },
];
const Layout = ({ children }: { children: ReactNode }) => {
return (
<ArticleLayout leftNavTitle={"联系我们"}>
2023-11-03 17:25:10 +08:00
<div className={"flex h-full flex-col"}>
2023-11-01 17:27:06 +08:00
<Breadcrumb navigations={breadcrumb} />
2023-11-03 17:25:10 +08:00
<div className={"mt-2 flex-1 bg-white px-5 py-4"}>{children}</div>
2023-11-01 17:27:06 +08:00
</div>
</ArticleLayout>
);
};
export default Layout;