({children})
| 3 | import { Footer, Navbar } from '../components' |
| 4 | |
| 5 | const Layout = ({children}) => { |
| 6 | return ( |
| 7 | <div className='layout'> |
| 8 | <Head> |
| 9 | <title>Dine Market</title> |
| 10 | </Head> |
| 11 | <header> |
| 12 | <Navbar /> |
| 13 | </header> |
| 14 | <main className='main-container'> |
| 15 | {children} |
| 16 | </main> |
| 17 | <footer> |
| 18 | <Footer /> |
| 19 | </footer> |
| 20 | </div> |
| 21 | ) |
| 22 | } |
| 23 | |
| 24 | export default Layout |
nothing calls this directly
no outgoing calls
no test coverage detected