Skip to content

Commit

Permalink
feat: add help link
Browse files Browse the repository at this point in the history
  • Loading branch information
DenSmolonski committed Sep 17, 2024
1 parent c887eb6 commit 794eed0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/components/common/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import packageJson from '../../../../package.json'
//import AppstoreButton from '../AppStoreButton'
import ExternalLink from '../ExternalLink'
import MUILink from '@mui/material/Link'
import { /* HELP_CENTER_URL, */ 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,
Expand Down Expand Up @@ -78,11 +78,11 @@ const Footer = (): ReactElement | null => {
<li>
<FooterLink href={getHref(AppRoutes.settings.index)}>Preferences</FooterLink>
</li>
{/* <li>
<li>
<ExternalLink href={HELP_CENTER_URL} noIcon sx={{ span: { textDecoration: 'underline' } }}>
Help
</ExternalLink>
</li> */}
</li>
</>
) : (
<li>{'This is an unofficial distribution of Evmos Safe'}</li>
Expand Down
8 changes: 4 additions & 4 deletions src/components/sidebar/SidebarFooter/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import { useAppDispatch, useAppSelector } from '@/store'
import { selectCookies, CookieAndTermType } from '@/store/cookiesAndTermsSlice'
import { openCookieBanner } from '@/store/popupSlice'
//import BeamerIcon from '@/public/images/sidebar/whats-new.svg'
//import HelpCenterIcon from '@/public/images/sidebar/help-center.svg'
import HelpCenterIcon from '@/public/images/sidebar/help-center.svg'
import SuggestionIcon from '@/public/images/sidebar/lightbulb_icon.svg'
import { ListItem } from '@mui/material'
import DebugToggle from '../DebugToggle'
import { /* HELP_CENTER_URL, */ IS_PRODUCTION } from '@/config/constants'
import { HELP_CENTER_URL, IS_PRODUCTION } from '@/config/constants'
import Track from '@/components/common/Track'
import { OVERVIEW_EVENTS } from '@/services/analytics/events/overview'
import { useCurrentChain } from '@/hooks/useChains'
Expand Down Expand Up @@ -63,7 +63,7 @@ const SidebarFooter = (): ReactElement => {
</SidebarListItemText>
</SidebarListItemButton>
</ListItem>
</Track>
</Track> */}

<Track {...OVERVIEW_EVENTS.HELP_CENTER}>
<ListItem disablePadding>
Expand All @@ -78,7 +78,7 @@ const SidebarFooter = (): ReactElement => {
</SidebarListItemButton>
</a>
</ListItem>
</Track> */}
</Track>
<Track {...OVERVIEW_EVENTS.SUGGESTIONS}>
<ListItem disablePadding>
<a target="_blank" rel="noopener noreferrer" href={SUGGESTION_PATH} style={{ width: '100%' }}>
Expand Down
2 changes: 1 addition & 1 deletion src/config/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export enum SafeAppsTag {
}

// Help Center
export const HELP_CENTER_URL = 'https://help.safe.global'
export const HELP_CENTER_URL = 'https://safe-support.protofire.io'
export const HelpCenterArticle = {
ADDRESS_BOOK_DATA: `${HELP_CENTER_URL}/en/articles/40811-address-book-export-and-import`,
ADVANCED_PARAMS: `${HELP_CENTER_URL}/en/articles/40837-advanced-transaction-parameters`,
Expand Down

0 comments on commit 794eed0

Please sign in to comment.