randt's picture
Add 17 files
1ddbce4 verified
raw
history blame contribute delete
363 Bytes
import React from 'react';
import Header from './Header';
import Footer from './Footer';
const Layout = ({pageTitle, children}) => {
return (
<section className="flex flex-col min-h-screen">
<Header pageTitle={pageTitle} />
<main className="flex-1">
{children}
</main>
<Footer />
</section>
);
};
export default Layout;