MCPcopy Create free account
hub / github.com/CodeWithHarry/Sigma-Web-Dev-Course / Navbar

Function Navbar

Video 136/bitlinks/components/Navbar.js:4–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import Link from 'next/link'
3
4const Navbar = () => {
5 return (
6 <nav className='h-16 bg-purple-700 flex justify-between px-3 items-center text-white '>
7 <div className="logo font-bold text-2xl">
8 <Link href="/">BitLinks</Link>
9 </div>
10 <ul className='flex justify-center gap-4 items-center'>
11 <Link href="/"><li>Home</li></Link>
12 <Link href="/about"><li>About</li></Link>
13 <Link href="/shorten"><li>Shorten</li></Link>
14 <Link href="/contact"><li>Contact Us</li></Link>
15 <li className='flex gap-3'>
16 <Link href="/shorten"><button className='bg-purple-500 rounded-lg shadow-lg p-3 py-1 font-bold'>Try Now</button></Link>
17 <Link href="/github"><button className='bg-purple-500 rounded-lg shadow-lg p-3 py-1 font-bold'>GitHub</button></Link>
18 </li>
19 </ul>
20 </nav>
21 )
22}
23
24export default Navbar

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected