Files
peroxy_site/layouts/MainLayout.tsx
rei cfdecde769
All checks were successful
continuous-integration/drone/push Build is passing
under construction
2023-01-20 21:01:02 +01:00

15 lines
459 B
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { PropsWithChildren } from "react";
import { Navbar } from "../components/Navbar";
export const MainLayout = ({ children }: PropsWithChildren) => {
return (
<div className="w-full">
<Navbar />
<div className="mt-4 w-fit mx-auto bg-amber-800/20 text-amber-600 px-4 py-2 rounded-md font-bold">
Under construction 👷
</div>
<main className="xl:p-10 p-4 px-10 xl:mx-0">{children}</main>
</div>
);
};