mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #4344 from omnivore-app/feat/web-disable-banner
Disable maint. banner
This commit is contained in:
commit
0bb5019a2b
4 changed files with 1 additions and 4 deletions
|
|
@ -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={() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue