Add banner

This commit is contained in:
armaniferrante 2021-07-14 17:11:01 -07:00
parent ee796aea2f
commit aa0fb9f4fa
No known key found for this signature in database
GPG Key ID: 58BEF301E91F7828
1 changed files with 18 additions and 1 deletions

View File

@ -70,6 +70,21 @@ export default function NavigationFrame({ children }) {
return (
<>
<AppBar position="static">
<div
style={{
textAlign: 'center',
background: '#fafafa',
color: 'black',
paddingLeft: '24px',
paddingRight: '24px',
fontSize: '14px',
}}
>
<Typography>
Beware of sites attempting to impersonate sollet.io or other DeFi
services.
</Typography>
</div>
<Toolbar>
<Typography variant="h6" className={classes.title} component="h1">
{isExtensionWidth ? 'Sollet' : 'Solana SPL Token Wallet'}
@ -230,7 +245,9 @@ function NetworkSelector() {
<CheckIcon fontSize="small" />
) : null}
</ListItemIcon>
{cluster.name === 'mainnet-beta-backup' ? 'Mainnet Beta Backup' : cluster.apiUrl}
{cluster.name === 'mainnet-beta-backup'
? 'Mainnet Beta Backup'
: cluster.apiUrl}
</MenuItem>
))}
</Menu>