Skip to content

Commit

Permalink
Merge pull request #304 from AmbireTech/development
Browse files Browse the repository at this point in the history
v0.69.67
  • Loading branch information
ivopaunov authored Oct 4, 2024
2 parents dfb5133 + f5a375a commit 9d534ba
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "adex-interface",
"version": "0.69.65",
"version": "0.69.67",
"private": true,
"dependencies": {
"@ambire/login-sdk-core": "^0.0.21",
Expand Down
34 changes: 17 additions & 17 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import { Global, MantineEmotionProvider, emotionTransform } from '@mantine/emoti
import { emotionCache } from './emotion'

const ENV = process.env.REACT_APP_ENV
const maintenanceStart = Date.UTC(2024, 9, 4, 7, 45)
const maintenanceEnd = Date.UTC(2024, 9, 4, 8, 45)
// const maintenanceStart = Date.UTC(2024, 9, 4, 7, 45)
// const maintenanceEnd = Date.UTC(2024, 9, 4, 8, 45)

function GlobalStyles() {
return (
Expand Down Expand Up @@ -52,20 +52,20 @@ const EnvBanner = () => (
</Progress.Root>
)

const MaintenanceBanner = () => (
<Progress.Root
radius="xs"
size={30}
style={{ zIndex: 42069, opacity: 0.5, position: 'fixed', top: 0, left: 0, right: 0 }}
>
<Progress.Section value={100} color="warning">
<Progress.Label>
Planned maintenance in progress {new Date(maintenanceStart).toLocaleString()} -{' '}
{new Date(maintenanceEnd).toLocaleTimeString()} (Errors may occur)
</Progress.Label>
</Progress.Section>
</Progress.Root>
)
// const MaintenanceBanner = () => (
// <Progress.Root
// radius="xs"
// size={30}
// style={{ zIndex: 42069, opacity: 0.5, position: 'fixed', top: 0, left: 0, right: 0 }}
// >
// <Progress.Section value={100} color="warning">
// <Progress.Label>
// Planned maintenance in progress {new Date(maintenanceStart).toLocaleString()} -{' '}
// {new Date(maintenanceEnd).toLocaleTimeString()} (Errors may occur)
// </Progress.Label>
// </Progress.Section>
// </Progress.Root>
// )

const resolver: CSSVariablesResolver = (theme) => ({
variables: {
Expand Down Expand Up @@ -97,7 +97,7 @@ function App() {
<GlobalStyles />
<Notifications />
{ENV && <EnvBanner />}
<MaintenanceBanner />
{/* <MaintenanceBanner /> */}
<RouterProvider router={router} />
</ModalsProvider>
</MantineProvider>
Expand Down

0 comments on commit 9d534ba

Please sign in to comment.