Skip to content

Commit e4f3d18

Browse files
ahmedsilat44Panquesito7kkrishguptaa
authored
fix: logo not redirecting to '/' (homepage) (#201)
* Update Navbar.js * Update Navbar.js * Update src/components/Global/Navbar.js Co-authored-by: David Leal <[email protected]> * Update src/components/Global/Navbar.js Co-authored-by: Krish Gupta <[email protected]> * Update src/components/Global/Navbar.js Co-authored-by: Krish Gupta <[email protected]> * Update Navbar.js * Added "import Link from 'next/link';" Co-authored-by: David Leal <[email protected]> Co-authored-by: Krish Gupta <[email protected]>
1 parent 4df8a0a commit e4f3d18

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/Global/Navbar.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Fragment } from "react";
21
import Link from 'next/link';
2+
import { Fragment } from "react";
33
import { Popover, Transition } from "@headlessui/react";
44
import { Bars3Icon, XMarkIcon } from "@heroicons/react/24/outline";
55
import { SiGithubsponsors } from "react-icons/si";
@@ -23,11 +23,11 @@ const Navbar = () => {
2323
>
2424
<div className="flex flex-1 items-center">
2525
<div className="flex w-full items-center justify-between md:w-auto">
26-
<Link href={'/'}>
26+
<Link href="/">
2727
<>
28-
<span className="sr-only">WebX DAO</span>
28+
<span className="sr-only ">WebX DAO</span>
2929
<img
30-
className="h-8 w-auto sm:h-10"
30+
className="h-8 w-auto sm:h-10 cursor-pointer"
3131
src="/images/logo/white_logo.png"
3232
alt="WebX DAO White Logo"
3333
/>

0 commit comments

Comments
 (0)