shellphone.app/app/features/public-area/components/base-layout.tsx
2022-05-14 12:22:06 +02:00

21 lines
514 B
TypeScript

import type { FunctionComponent, PropsWithChildren } from "react";
import Header from "./header";
import Footer from "./footer";
const BaseLayout: FunctionComponent<PropsWithChildren<{}>> = ({ children }) => (
<>
<section className="font-inter antialiased bg-white text-gray-900 tracking-tight">
<section className="flex flex-col min-h-screen overflow-hidden">
<Header />
<main className="flex-grow">{children}</main>
<Footer />
</section>
</section>
</>
);
export default BaseLayout;