init
This commit is contained in:
21
app/components/ArticleLayout.tsx
Normal file
21
app/components/ArticleLayout.tsx
Normal file
@ -0,0 +1,21 @@
|
||||
import LeftNav from "@/app/components/LeftNav";
|
||||
import { ReactNode } from "react";
|
||||
|
||||
const ArticleLayout = ({
|
||||
children,
|
||||
navs,
|
||||
}: {
|
||||
children: ReactNode;
|
||||
navs: any;
|
||||
}) => {
|
||||
return (
|
||||
<div className={"flex bg-[#6bb7f6] p-2.5"}>
|
||||
<div className={"left-side w-[325px]"}>
|
||||
<LeftNav />
|
||||
</div>
|
||||
<div className={"flex-1"}>{children}</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default ArticleLayout;
|
Reference in New Issue
Block a user