-
-
Save Nilanth/4b5585c6983b213acb2d6608d0405a0e to your computer and use it in GitHub Desktop.
Navigation.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Link from "next/link" | |
import React from "react" | |
const Navigation = () => { | |
return ( | |
<div className="sticky top-0 z-20 py-2 bg-white md:py-6 md:mb-6 dark:bg-black"> | |
<div className="container px-4 mx-auto lg:max-w-4xl flex items-center justify-between"> | |
<Link href="/"> | |
<a | |
className={"font-medium tracking-wider transition-colors text-gray-900 hover:text-sky-500 uppercase dark:text-white"} | |
> | |
Your Name | |
</a> | |
</Link> | |
</div> | |
</div> | |
) | |
} | |
export default Navigation; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment