Skip to content

Commit

Permalink
feat(web): add link to com website from header logo (#6941)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonypls authored Jul 2, 2024
1 parent 1ece42b commit 918740f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web/src/features/header/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Capacitor } from '@capacitor/core';
import * as NavigationMenu from '@radix-ui/react-navigation-menu';
import { Button } from 'components/Button';
import { Link } from 'components/Link';
import { isFAQModalOpenAtom } from 'features/modals/modalAtoms';
import { useSetAtom } from 'jotai';
import { useTranslation } from 'react-i18next';
Expand Down Expand Up @@ -67,7 +68,9 @@ export default function Header(): JSX.Element {
!isMobileApp && 'sm:block md:flex'
)}
>
<Logo className="h-12 w-56 fill-black dark:fill-white" />
<Link href="https://electricitymaps.com/?utm_source=app.electricitymaps.com&utm_medium=referral">
<Logo className="h-12 w-56 fill-black dark:fill-white" />
</Link>
<NavigationMenu.Root className="hidden sm:block">
<NavigationMenu.List className="flex w-full justify-around md:space-x-2">
<MenuLink id="faq" onClick={onFAQClick}>
Expand Down

0 comments on commit 918740f

Please sign in to comment.