organized asf
This commit is contained in:
11
layouts/MainLayout.tsx
Normal file
11
layouts/MainLayout.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { PropsWithChildren } from "react";
|
||||
import { Navbar } from "../components/Navbar";
|
||||
|
||||
export const MainLayout = ({ children }: PropsWithChildren) => {
|
||||
return (
|
||||
<div className="h-screen w-11/12 xl:w-2/3 mx-auto overflow-x-hidden">
|
||||
<Navbar />
|
||||
<main className="mx-10">{children}</main>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user