You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
623 B
JavaScript
34 lines
623 B
JavaScript
/* <--- Imports ---> */
|
|
import React from 'react'
|
|
import BottomBar from './BottomBar'
|
|
import SideContactBar from './SideContactBar'
|
|
import TopNavBar from './TopNavBar'
|
|
|
|
/* <--- Resources ---> */
|
|
import '../resources/style.css'
|
|
|
|
|
|
|
|
const Layout = ({ children }) => {
|
|
return (
|
|
<div className="Layout">
|
|
<header>
|
|
<TopNavBar />
|
|
{/* ---TO DO: Banner--- */}
|
|
</header>
|
|
|
|
<div className="FeedWrap">
|
|
{children}
|
|
<SideContactBar />
|
|
</div>
|
|
|
|
<footer>
|
|
<hr/>
|
|
<BottomBar />
|
|
</footer>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Layout
|