File size: 363 Bytes
1ddbce4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;