Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Navbar Componet Nextjs

const Navbar = () => {
  return (
    <nav className={styles.mainnav}>
        <ul>
          <Link href='/'><a><li>Home</li></a></Link>
          <Link href='/about'><a><li>About</li></a></Link>
          <Link href='/blog'><a><li>Blog</li></a></Link>
          <Link href='/contact'><a><li>Contact</li></a></Link>
        </ul>
      </nav>
  )
}

export default Navbar
Source by github.com #
 
PREVIOUS NEXT
Tagged: #Navbar #Componet #Nextjs
ADD COMMENT
Topic
Name
4+3 =