@@ -23,8 +23,8 @@ import { Global, MantineEmotionProvider, emotionTransform } from '@mantine/emoti
23
23
import { emotionCache } from './emotion'
24
24
25
25
const ENV = process . env . REACT_APP_ENV
26
- const maintenanceStart = Date . UTC ( 2024 , 9 , 4 , 7 , 45 )
27
- const maintenanceEnd = Date . UTC ( 2024 , 9 , 4 , 8 , 45 )
26
+ // const maintenanceStart = Date.UTC(2024, 9, 4, 7, 45)
27
+ // const maintenanceEnd = Date.UTC(2024, 9, 4, 8, 45)
28
28
29
29
function GlobalStyles ( ) {
30
30
return (
@@ -52,20 +52,20 @@ const EnvBanner = () => (
52
52
</ Progress . Root >
53
53
)
54
54
55
- const MaintenanceBanner = ( ) => (
56
- < Progress . Root
57
- radius = "xs"
58
- size = { 30 }
59
- style = { { zIndex : 42069 , opacity : 0.5 , position : 'fixed' , top : 0 , left : 0 , right : 0 } }
60
- >
61
- < Progress . Section value = { 100 } color = "warning" >
62
- < Progress . Label >
63
- Planned maintenance in progress { new Date ( maintenanceStart ) . toLocaleString ( ) } -{ ' ' }
64
- { new Date ( maintenanceEnd ) . toLocaleTimeString ( ) } (Errors may occur)
65
- </ Progress . Label >
66
- </ Progress . Section >
67
- </ Progress . Root >
68
- )
55
+ // const MaintenanceBanner = () => (
56
+ // <Progress.Root
57
+ // radius="xs"
58
+ // size={30}
59
+ // style={{ zIndex: 42069, opacity: 0.5, position: 'fixed', top: 0, left: 0, right: 0 }}
60
+ // >
61
+ // <Progress.Section value={100} color="warning">
62
+ // <Progress.Label>
63
+ // Planned maintenance in progress {new Date(maintenanceStart).toLocaleString()} -{' '}
64
+ // {new Date(maintenanceEnd).toLocaleTimeString()} (Errors may occur)
65
+ // </Progress.Label>
66
+ // </Progress.Section>
67
+ // </Progress.Root>
68
+ // )
69
69
70
70
const resolver : CSSVariablesResolver = ( theme ) => ( {
71
71
variables : {
@@ -97,7 +97,7 @@ function App() {
97
97
< GlobalStyles />
98
98
< Notifications />
99
99
{ ENV && < EnvBanner /> }
100
- < MaintenanceBanner />
100
+ { /* <MaintenanceBanner /> */ }
101
101
< RouterProvider router = { router } />
102
102
</ ModalsProvider >
103
103
</ MantineProvider >
0 commit comments