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.
27 lines
528 B
JavaScript
27 lines
528 B
JavaScript
import React from "react"
|
|
import PropTypes from "prop-types"
|
|
|
|
import Header from 'components/header'
|
|
import Footer from 'components/footer'
|
|
// import "./layout.css"
|
|
// import useUserSession from "../hooks/useUserSession";
|
|
|
|
const Layout = ({ Component, pageProps }) => {
|
|
// Retrieve user information
|
|
// const user = useUserSession()
|
|
|
|
return (
|
|
<>
|
|
<Header />
|
|
<main><Component {...pageProps} /></main>
|
|
<Footer/>
|
|
</>
|
|
)
|
|
}
|
|
|
|
Layout.propTypes = {
|
|
pageProps: PropTypes.object
|
|
}
|
|
|
|
export default Layout
|