Skip to content

Commit

Permalink
Merge pull request #334 from zkLinkProtocol/feat/governance-link
Browse files Browse the repository at this point in the history
add governance link
  • Loading branch information
MickWang authored Jul 22, 2024
2 parents c709a21 + 136abfb commit 7bf0995
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const Container = styled.div`
}
.nav-link {
padding: 10px 14px;
padding: 10px;
color: #7e7e7e;
font-family: Satoshi;
font-size: 16px;
Expand Down Expand Up @@ -497,6 +497,15 @@ export default function Header() {
Bridge
</NavLink>
</NavbarItem>
<NavbarItem>
<a
href="https://zk.link/governance"
target="_blank"
className={"nav-link"}
>
Governance
</a>
</NavbarItem>
<NavbarItem>
<NavLink to="/about" className={"nav-link"}>
About
Expand Down Expand Up @@ -777,6 +786,17 @@ export default function Header() {
Leaderboard
</NavLink>
</NavbarMenuItem>

<NavbarMenuItem isActive={location.pathname === "/about"}>
<a
href="https://zk.link/governance"
target="_blank"
className="block"
>
About
</a>
</NavbarMenuItem>

<NavbarMenuItem isActive={location.pathname === "/about"}>
<NavLink to="/about" className="block">
About
Expand Down

0 comments on commit 7bf0995

Please sign in to comment.