From 82b0848dd000c43033d5fb6b484cd188e49d2f53 Mon Sep 17 00:00:00 2001 From: katspaugh <381895+katspaugh@users.noreply.github.com> Date: Mon, 20 Nov 2023 16:14:15 +0100 Subject: [PATCH] Fix: add help link in footer (#2822) * Fix: add help link in footer * External link --- src/components/common/Footer/index.tsx | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/components/common/Footer/index.tsx b/src/components/common/Footer/index.tsx index 545b1f43aa..59d519013a 100644 --- a/src/components/common/Footer/index.tsx +++ b/src/components/common/Footer/index.tsx @@ -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' @@ -8,7 +9,7 @@ import packageJson from '../../../../package.json' import AppstoreButton from '../AppStoreButton' import ExternalLink from '../ExternalLink' import MUILink from '@mui/material/Link' -import { IS_DEV, IS_OFFICIAL_HOST } from '@/config/constants' +import { HELP_CENTER_URL, IS_DEV, IS_OFFICIAL_HOST } from '@/config/constants' const footerPages = [ AppRoutes.welcome.index, @@ -67,14 +68,19 @@ const Footer = (): ReactElement | null => {
  • Preferences
  • +
  • + + Help + +
  • ) : (
  • {'This is an unofficial distribution of Safe{Wallet}'}
  • )}
  • - - v{packageJson.version} + + v{packageJson.version}