diff --git a/explorer/src/components/MobileNav.tsx b/explorer/src/components/MobileNav.tsx index cb44210e9d..26e078fe08 100644 --- a/explorer/src/components/MobileNav.tsx +++ b/explorer/src/components/MobileNav.tsx @@ -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); diff --git a/explorer/src/components/Nav.tsx b/explorer/src/components/Nav.tsx index fe0839f6fd..53bb922537 100644 --- a/explorer/src/components/Nav.tsx +++ b/explorer/src/components/Nav.tsx @@ -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) => { diff --git a/ts-packages/react-components/src/components/banners/MaintenanceBanner.tsx b/ts-packages/react-components/src/components/banners/MaintenanceBanner.tsx index 081e9b646a..902ef2b285 100644 --- a/ts-packages/react-components/src/components/banners/MaintenanceBanner.tsx +++ b/ts-packages/react-components/src/components/banners/MaintenanceBanner.tsx @@ -38,16 +38,10 @@ export const MaintenanceBanner = (props: BannerProps) => { - 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!{' '} - will be temporarily on hold while the upgrade takes place. - {' '} - Bonding/unbonding, delegating/delegating{' '} - - will be frozen for up to 36 hours. - {' '} - 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 +