Skip to content

Commit 213dd00

Browse files
authored
fix(Header): update WM logo link to point to Web Monetization homepage (#379)
1 parent dd6c273 commit 213dd00

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

frontend/app/components/redesign/components/Header.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { useState, useEffect } from 'react'
2-
import { NavLink as RemixNavLink } from '@remix-run/react'
32
import { GhostButton, NavDropdown, NavLink, MobileMenu } from '@/components'
43
import { SVGHamburgerIcon } from '@/assets'
54
import wmLogo from '~/assets/images/wm_logo.svg?url'
@@ -46,16 +45,16 @@ export const Header = () => {
4645
role="navigation"
4746
className="relative flex items-center justify-between bg-white shadow-[0px_12px_20px_0px_rgba(0,0,0,0.06)] rounded-lg mx-4 mt-4 h-14 py-1 pl-4 pr-2 md:max-w-7xl md:mx-auto md:px-xl md:py-xs md:mt-0 md:rounded-none md:shadow-none md:bg-transparent md:h-auto md:w-full"
4847
>
49-
<RemixNavLink
50-
to="/"
48+
<a
49+
href="https://webmonetization.org/"
5150
className="flex items-center focus:outline-none focus-visible:outline-2 focus-visible:outline-nav-link-hover focus-visible:outline-offset-0 rounded-sm"
5251
>
5352
<img
5453
src={wmLogo}
5554
alt="Web Monetization Logo"
5655
className="w-8 md:w-11 h-8 md:h-11"
5756
/>
58-
</RemixNavLink>
57+
</a>
5958

6059
<ul className="hidden md:flex gap-md list-none">
6160
<NavDropdown title="Tools" />

frontend/app/components/redesign/components/header/MobileMenu.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { NavLink } from '@remix-run/react'
21
import { GhostButton, PoweredByFooter } from '@/components'
32
import { SVGCloseIcon } from '@/assets'
43
import mobileLogo from '~/assets/images/mobile_logo.svg'
@@ -62,9 +61,9 @@ export const MobileMenu = ({ onClose }: { onClose: () => void }) => {
6261
aria-label="Mobile menu"
6362
>
6463
<div className="flex-shrink-0 flex items-center justify-between pt-[22px] pr-[20px] pb-[6px] pl-[28px]">
65-
<NavLink to="/">
64+
<a href="https://webmonetization.org/">
6665
<img src={mobileLogo} alt="Web Monetization Logo" />
67-
</NavLink>
66+
</a>
6867
<GhostButton
6968
onClick={onClose}
7069
autoFocus

0 commit comments

Comments
 (0)