From 3585b12dfd9b99b0117b5fa5a42fb890a4495e57 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Thu, 9 Oct 2025 18:20:53 +0200 Subject: [PATCH] Remove maintenance banner --- common/src/constants.ts | 2 ++ web/components/love-page.tsx | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/common/src/constants.ts b/common/src/constants.ts index 0eddaf82..be861c08 100644 --- a/common/src/constants.ts +++ b/common/src/constants.ts @@ -14,3 +14,5 @@ export const stoatLink = "https://stt.gg/YKQp81yA" export const formLink = "https://forms.gle/tKnXUMAbEreMK6FC6" export const pStyle = "mt-1 text-gray-800 dark:text-white whitespace-pre-line"; + +export const IS_MAINTENANCE = false; // set to true to enable maintenance mode banner diff --git a/web/components/love-page.tsx b/web/components/love-page.tsx index 7f691c6a..ffddb5c0 100644 --- a/web/components/love-page.tsx +++ b/web/components/love-page.tsx @@ -21,6 +21,7 @@ import Sidebar from './nav/love-sidebar' import {useProfile} from 'web/hooks/use-profile' import {Profile} from 'common/love/profile' import {NotificationsIcon, SolidNotificationsIcon} from './notifications-icon' +import {IS_MAINTENANCE} from "common/constants"; export function LovePage(props: { trackPageView: string | false @@ -70,9 +71,9 @@ export function LovePage(props: { containerClassName="!bottom-[70px]" /> {/* Maintenance banner */} -
+ {IS_MAINTENANCE &&
Maintenance in progress: Some features may be broken for the next few hours. -
+
} {hideSidebar ? (
) : (