init
This commit is contained in:
15
frontend/components/admin-panel/content-layout.tsx
Normal file
15
frontend/components/admin-panel/content-layout.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Navbar } from "@/components/admin-panel/navbar";
|
||||
|
||||
interface ContentLayoutProps {
|
||||
title: string;
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
export function ContentLayout({ title, children }: ContentLayoutProps) {
|
||||
return (
|
||||
<div>
|
||||
<Navbar title={title} />
|
||||
<div className="container pt-8 pb-8 px-4 sm:px-8">{children}</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user