import dynamic from 'next/dynamic'

const NavbarDesktop = dynamic(() => import('./NavbarDesktop'))
const NavbarMobile = dynamic(() => import('./NavbarMobile'))

const Navbar = ({isMobile} ) => {
  
  if(isMobile) return <NavbarMobile />

  return (
    <>
      <NavbarDesktop />
    </>
  )
}

export default Navbar
