Skip to content

Commit

Permalink
External link
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Nov 20, 2023
1 parent 14489c0 commit 1183e6c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/components/common/Footer/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { ReactElement, ReactNode } from 'react'
import { Typography } from '@mui/material'
import { SvgIcon, Typography } from '@mui/material'
import GitHubIcon from '@mui/icons-material/GitHub'
import Link from 'next/link'
import { useRouter } from 'next/router'
import css from './styles.module.css'
Expand Down Expand Up @@ -68,16 +69,18 @@ const Footer = (): ReactElement | null => {
<FooterLink href={getHref(AppRoutes.settings.index)}>Preferences</FooterLink>
</li>
<li>
<FooterLink href={HELP_CENTER_URL}>Help</FooterLink>
<ExternalLink href={HELP_CENTER_URL} noIcon>
Help
</ExternalLink>
</li>
</>
) : (
<li>{'This is an unofficial distribution of Safe{Wallet}'}</li>
)}

<li>
<ExternalLink href={`${packageJson.homepage}/releases/tag/v${packageJson.version}`}>
v{packageJson.version}
<ExternalLink href={`${packageJson.homepage}/releases/tag/v${packageJson.version}`} noIcon>
<SvgIcon component={GitHubIcon} inheritViewBox fontSize="inherit" sx={{ mr: 0.5 }} /> v{packageJson.version}
</ExternalLink>
</li>
<li>
Expand Down

0 comments on commit 1183e6c

Please sign in to comment.