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 1
1
import { Fragment } from "react" ;
2
+ import Link from 'next/link' ;
2
3
import { Popover , Transition } from "@headlessui/react" ;
3
4
import { Bars3Icon , XMarkIcon } from "@heroicons/react/24/outline" ;
4
5
import { SiGithubsponsors } from "react-icons/si" ;
5
6
7
+
6
8
const navigation = [
7
9
{ name : "Blog" , href : "/blog" } ,
8
10
{ name : "Projects" , href : "/projects" } ,
@@ -21,14 +23,16 @@ const Navbar = () => {
21
23
>
22
24
< div className = "flex flex-1 items-center" >
23
25
< 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 >
32
36
< div className = "-mr-2 flex items-center md:hidden" >
33
37
< 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" >
34
38
< span className = "sr-only" > Open main menu</ span >
You can’t perform that action at this time.
0 commit comments