import dynamic from 'next/dynamic'

const Navbar = dynamic(() => import('../elements/Navbar/Navbar'))
const AnimationLayout = dynamic(() => import('./AnimationLayout'))

const BasicLayout = ({ children }) => {
  return (
    <>
      <Navbar />
      <AnimationLayout>{children}</AnimationLayout>
    </>
  )
}

export default BasicLayout
