update
This commit is contained in:
@ -3,17 +3,19 @@ import { ReactNode } from "react";
|
||||
|
||||
const ArticleLayout = ({
|
||||
children,
|
||||
navs,
|
||||
navigations,
|
||||
leftNavTitle,
|
||||
}: {
|
||||
children: ReactNode;
|
||||
navs: any;
|
||||
navigations: any[];
|
||||
leftNavTitle: string;
|
||||
}) => {
|
||||
return (
|
||||
<div className={"flex bg-[#6bb7f6] p-2.5"}>
|
||||
<div className={"left-side w-[325px]"}>
|
||||
<LeftNav />
|
||||
<LeftNav navigations={navigations} title={leftNavTitle} />
|
||||
</div>
|
||||
<div className={"flex-1"}>{children}</div>
|
||||
<div className={"flex-1 ml-3 bg-white"}>{children}</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user