File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change 11import { Fragment } from "react" ;
2+ import Link from 'next/link' ;
23import { Popover , Transition } from "@headlessui/react" ;
34import { Bars3Icon , XMarkIcon } from "@heroicons/react/24/outline" ;
45import { SiGithubsponsors } from "react-icons/si" ;
56
7+
68const navigation = [
79 { name : "Blog" , href : "/blog" } ,
810 { name : "Projects" , href : "/projects" } ,
@@ -21,14 +23,16 @@ const Navbar = () => {
2123 >
2224 < div className = "flex flex-1 items-center" >
2325 < div className = "flex w-full items-center justify-between md:w-auto" >
24- < a href = "#" >
25- < span className = "sr-only" > WebX DAO</ span >
26- < img
27- className = "h-8 w-auto sm:h-10"
28- src = "/images/logo/white_logo.png"
29- alt = ""
30- />
31- </ a >
26+ < Link href = { '/' } >
27+ < >
28+ < span className = "sr-only" > WebX DAO</ span >
29+ < img
30+ className = "h-8 w-auto sm:h-10"
31+ src = "/images/logo/white_logo.png"
32+ alt = "WebX DAO White Logo"
33+ />
34+ </ >
35+ </ Link >
3236 < div className = "-mr-2 flex items-center md:hidden" >
3337 < Popover . Button className = "focus-ring-inset inline-flex items-center justify-center rounded-md bg-transparent p-2 text-gray-400 hover:bg-gray-800 focus:outline-none focus:ring-2 focus:ring-white" >
3438 < span className = "sr-only" > Open main menu</ span >
You can’t perform that action at this time.
0 commit comments