mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-08 00:36:15 -05:00
Remove maintenance banner
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 */}
|
||||
<div className="lg:col-span-12 w-full bg-orange-500 text-white text-center text-sm py-2 px-3">
|
||||
{IS_MAINTENANCE && <div className="lg:col-span-12 w-full bg-orange-500 text-white text-center text-sm py-2 px-3">
|
||||
Maintenance in progress: Some features may be broken for the next few hours.
|
||||
</div>
|
||||
</div>}
|
||||
{hideSidebar ? (
|
||||
<div className="lg:col-span-2 lg:flex" />
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user