MCPcopy Create free account
hub / github.com/Source-Controller/eCommerce-Fullstack / Layout

Function Layout

components/Layout.jsx:5–22  ·  view source on GitHub ↗
({children})

Source from the content-addressed store, hash-verified

3import { Footer, Navbar } from '../components'
4
5const 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
24export default Layout

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected