Add banner
This commit is contained in:
parent
ee796aea2f
commit
aa0fb9f4fa
|
@ -70,6 +70,21 @@ export default function NavigationFrame({ children }) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppBar position="static">
|
<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>
|
<Toolbar>
|
||||||
<Typography variant="h6" className={classes.title} component="h1">
|
<Typography variant="h6" className={classes.title} component="h1">
|
||||||
{isExtensionWidth ? 'Sollet' : 'Solana SPL Token Wallet'}
|
{isExtensionWidth ? 'Sollet' : 'Solana SPL Token Wallet'}
|
||||||
|
@ -230,7 +245,9 @@ function NetworkSelector() {
|
||||||
<CheckIcon fontSize="small" />
|
<CheckIcon fontSize="small" />
|
||||||
) : null}
|
) : null}
|
||||||
</ListItemIcon>
|
</ListItemIcon>
|
||||||
{cluster.name === 'mainnet-beta-backup' ? 'Mainnet Beta Backup' : cluster.apiUrl}
|
{cluster.name === 'mainnet-beta-backup'
|
||||||
|
? 'Mainnet Beta Backup'
|
||||||
|
: cluster.apiUrl}
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
))}
|
))}
|
||||||
</Menu>
|
</Menu>
|
||||||
|
|
Loading…
Reference in New Issue