Disable maint. banner
This commit is contained in:
@ -10,7 +10,7 @@ export const MaintenanceBanner = () => {
|
||||
] = usePersistedState({
|
||||
key: 'show-maintenance-mode',
|
||||
isSessionStorage: false,
|
||||
initialValue: true,
|
||||
initialValue: false,
|
||||
})
|
||||
return (
|
||||
<>
|
||||
|
||||
@ -12,7 +12,6 @@ type ProfileLayoutProps = {
|
||||
export function AuthLayout(props: ProfileLayoutProps): JSX.Element {
|
||||
return (
|
||||
<>
|
||||
<MaintenanceBanner />
|
||||
<VStack
|
||||
alignment="center"
|
||||
distribution="center"
|
||||
|
||||
@ -15,7 +15,6 @@ import { MaintenanceBanner } from '../elements/MaintenanceBanner'
|
||||
export function LoginLayout(props: LoginFormProps): JSX.Element {
|
||||
return (
|
||||
<>
|
||||
<MaintenanceBanner />
|
||||
<MediumBreakpointBox
|
||||
smallerLayoutNode={<MobileLoginLayout {...props} />}
|
||||
largerLayoutNode={<MediumLoginLayout {...props} />}
|
||||
|
||||
@ -118,7 +118,6 @@ export function NavigationLayout(props: NavigationLayoutProps): JSX.Element {
|
||||
alignment="start"
|
||||
>
|
||||
<PageMetaData path={props.section} title={props.title} />
|
||||
<MaintenanceBanner />
|
||||
<Header
|
||||
menuOpen={props.showNavigationMenu}
|
||||
toggleMenu={() => {
|
||||
|
||||
Reference in New Issue
Block a user