update banner text
This commit is contained in:
@@ -34,7 +34,7 @@ export const MobileNav: React.FC<{ children: React.ReactNode }> = ({ children }:
|
||||
const { navState, updateNavState } = useMainContext();
|
||||
const [drawerOpen, setDrawerOpen] = React.useState(false);
|
||||
// Set maintenance banner to false by default to don't display it
|
||||
const [openMaintenance, setOpenMaintenance] = React.useState(false);
|
||||
const [openMaintenance, setOpenMaintenance] = React.useState(true);
|
||||
|
||||
const toggleDrawer = () => {
|
||||
setDrawerOpen(!drawerOpen);
|
||||
|
||||
@@ -25,7 +25,7 @@ import { DarkLightSwitchDesktop } from './Switch';
|
||||
import { NavOptionType } from '../context/nav';
|
||||
|
||||
const drawerWidth = 255;
|
||||
const bannerHeight = 113;
|
||||
const bannerHeight = 80;
|
||||
|
||||
const openedMixin = (theme: Theme): CSSObject => ({
|
||||
width: drawerWidth,
|
||||
@@ -235,7 +235,7 @@ export const Nav: React.FC = ({ children }) => {
|
||||
const [drawerIsOpen, setDrawerToOpen] = React.useState(false);
|
||||
const [fixedOpen, setFixedOpen] = React.useState(false);
|
||||
// Set maintenance banner to false by default to don't display it
|
||||
const [openMaintenance, setOpenMaintenance] = React.useState(false);
|
||||
const [openMaintenance, setOpenMaintenance] = React.useState(true);
|
||||
const theme = useTheme();
|
||||
|
||||
const setToActive = (id: number) => {
|
||||
|
||||
@@ -38,16 +38,10 @@ export const MaintenanceBanner = (props: BannerProps) => {
|
||||
</Typography>
|
||||
<Divider orientation="vertical" flexItem sx={{ mx: '16px', borderRightWidth: 2 }} />
|
||||
<Typography variant="body2">
|
||||
On Tuesday 15th of November 10AM GMT, the migration to the new mixnet contract begins. This means all Nym
|
||||
apps and services{' '}
|
||||
The Nym mixnet smart contract upgrade has happened!{' '}
|
||||
<Box sx={{ fontWeight: 700 }} display="inline">
|
||||
will be temporarily on hold while the upgrade takes place.
|
||||
</Box>{' '}
|
||||
Bonding/unbonding, delegating/delegating{' '}
|
||||
<Box sx={{ fontWeight: 700 }} display="inline">
|
||||
will be frozen for up to 36 hours.
|
||||
</Box>{' '}
|
||||
You will still be able to transfer tokens between accounts, and use IBC.
|
||||
Please make sure to upgrade your Nym services and apps to the latest version 1.1.0
|
||||
</Box>
|
||||
</Typography>
|
||||
</Box>
|
||||
</Alert>
|
||||
|
||||
Reference in New Issue
Block a user