import { Outlet } from 'react-router-dom'
import mainStyles from '../styles/main.module.scss'
import { Footer } from './footer'
import { Header } from './header'

export const Layout = () => {
  return (
    <div className={mainStyles.bodyMain}>
      <Header />
      <Outlet />
      <Footer />
    </div>
  )
}
