Skip to content

Commit

Permalink
feat: create Layout component
Browse files Browse the repository at this point in the history
  • Loading branch information
zeim839 committed Jun 29, 2024
1 parent 9f449ef commit 09c9ef1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Layout/Layout.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React from 'react'

import Navbar from '../Navbar/Navbar'
import Footer from '../Footer/Footer'

const Layout = ({ children, className, style }) => (
<div className={className} style={style}>
<Navbar />
{children}
<Footer />
</div>
)

export default Layout

0 comments on commit 09c9ef1

Please sign in to comment.