Files
peroxy_site/layouts/MainLayout.tsx
rei e46339c7a7
All checks were successful
continuous-integration/drone/push Build is passing
small change
2022-12-28 20:46:53 +01:00

12 lines
335 B
TypeScript

import { PropsWithChildren } from "react";
import { Navbar } from "../components/Navbar";
export const MainLayout = ({ children }: PropsWithChildren) => {
return (
<div className="w-11/12 lg:w-2/3 m-auto overflow-x-hidden">
<Navbar />
<main className="xl:p-10 p-6 xl:mt-10 mt-4">{children}</main>
</div>
);
};