import React, { FC } from 'react'
import { Container } from 'reactstrap'
import { NavMenu } from './NavMenu'
import { Footer } from './Footer'
import { ILayout } from '../interfaces'

import style from './scss/style.module.scss'

const PublicLayout: FC<ILayout> = ({ children = null }) => {
  return <>
    <NavMenu />
    <div className={style.wrapper}>
      <div className={style.content}>
        {children}
      </div>
    </div>
    <Footer />
  </>
}

export {
  PublicLayout
}