Initial commit
This commit is contained in:
12
src/components/Layout/index.js
Normal file
12
src/components/Layout/index.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import Header from "../Header/index.js";
|
||||
import Footer from "../Footer/index.js";
|
||||
|
||||
const Layout = ({ hideFooter, children }) => (
|
||||
<div className="pt-[4.75rem] lg:pt-[5.25rem] overflow-hidden">
|
||||
<Header />
|
||||
{children}
|
||||
{hideFooter ? null : <Footer />}
|
||||
</div>
|
||||
);
|
||||
|
||||
export default Layout;
|
||||
Reference in New Issue
Block a user