Skip to content

Commit bf01012

Browse files
committed
Logo placeholder
1 parent 9472d75 commit bf01012

File tree

2 files changed

+14
-17
lines changed

2 files changed

+14
-17
lines changed

src/components/common/Footer/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const Footer = (): ReactElement | null => {
7676
</li>
7777
</>
7878
) : (
79-
<li>{'This is an unofficial distribution of Safe{Wallet}'}</li>
79+
<li>This is an unofficial distribution of the app</li>
8080
)}
8181

8282
<li>

src/components/common/Header/index.tsx

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { Dispatch, SetStateAction } from 'react'
44
import { type ReactElement } from 'react'
55
import { useRouter } from 'next/router'
66
import type { Url } from 'next/dist/shared/lib/router/router'
7-
import { IconButton, Paper } from '@mui/material'
7+
import { IconButton, Paper, SvgIcon } from '@mui/material'
88
import MenuIcon from '@mui/icons-material/Menu'
99
import classnames from 'classnames'
1010
import css from './styles.module.css'
@@ -15,6 +15,7 @@ import NotificationCenter from '@/components/notification-center/NotificationCen
1515
import { AppRoutes } from '@/config/routes'
1616
import SafeLogo from '@/public/images/logo.svg'
1717
import SafeLogoMobile from '@/public/images/logo-no-text.svg'
18+
import LogoPlaceholder from '@mui/icons-material/Home'
1819
import Link from 'next/link'
1920
import useSafeAddress from '@/hooks/useSafeAddress'
2021
import BatchIndicator from '@/components/batch/BatchIndicator'
@@ -77,21 +78,17 @@ const Header = ({ onMenuToggle, onBatchToggle }: HeaderProps): ReactElement => {
7778
)}
7879
</div>
7980

80-
{isOfficialHost && (
81-
<>
82-
<div className={classnames(css.element, css.logoMobile)}>
83-
<Link href={logoHref} passHref>
84-
<SafeLogoMobile alt="Safe logo" />
85-
</Link>
86-
</div>
87-
88-
<div className={classnames(css.element, css.hideMobile, css.logo)}>
89-
<Link href={logoHref} passHref>
90-
<SafeLogo alt="Safe logo" />
91-
</Link>
92-
</div>
93-
</>
94-
)}
81+
<div className={classnames(css.element, css.logoMobile)}>
82+
<Link href={logoHref} passHref>
83+
{isOfficialHost ? <SafeLogoMobile alt="Safe logo" /> : null}
84+
</Link>
85+
</div>
86+
87+
<div className={classnames(css.element, css.hideMobile, css.logo)}>
88+
<Link href={logoHref} passHref>
89+
{isOfficialHost ? <SafeLogo alt="Safe logo" /> : <SvgIcon component={LogoPlaceholder} fontSize="large" />}
90+
</Link>
91+
</div>
9592

9693
{showSafeToken && (
9794
<div className={classnames(css.element, css.hideMobile)}>

0 commit comments

Comments
 (0)