diff --git a/.circleci/config.yml b/.circleci/config.yml index da5ad240..6cd09e84 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -220,6 +220,7 @@ workflows: only: - dev - TOP-2044_show-signin-modal + - maintenance - deployProd: context: org-global diff --git a/src/lib/components/Maintenance.module.scss b/src/lib/components/Maintenance.module.scss new file mode 100644 index 00000000..18cdfc90 --- /dev/null +++ b/src/lib/components/Maintenance.module.scss @@ -0,0 +1,43 @@ +@import 'lib/styles/fonts.scss'; + +.bannerWrap { + position: relative; + height: 48px; + width: 100%; +} + +.banner { + background: rgb(157, 27, 27); + color: #fff; + padding: 0.5rem; + display: flex; + justify-content: space-between; + + &:before { + content: ""; + display: block; + } +} + +.bannerContent { + flex: 1 1 0; + display: flex; + justify-content: center; + align-items: center; + column-gap: 1rem; + row-gap: 0.5rem; + margin: 0 0.5rem; + min-width: 0; + flex-wrap: wrap; +} + +.bannerText { + white-space: pre-wrap; + overflow-wrap: break-word; + font-family: $roboto; + font-size: 16px; + color: #fff; + line-height: 24px; + font-weight: bold; +} + diff --git a/src/lib/components/Maintenance.svelte b/src/lib/components/Maintenance.svelte new file mode 100644 index 00000000..e5179a93 --- /dev/null +++ b/src/lib/components/Maintenance.svelte @@ -0,0 +1,12 @@ + + +
+
+
+ Topcoder will be undergoing maintenance on Tuesday, October 21, 2025 from 1 AM to 6 AM EST +
+
+
diff --git a/src/lib/marketing-navigation/MarketingNavigation.svelte b/src/lib/marketing-navigation/MarketingNavigation.svelte index 90c85db9..5c485162 100644 --- a/src/lib/marketing-navigation/MarketingNavigation.svelte +++ b/src/lib/marketing-navigation/MarketingNavigation.svelte @@ -12,6 +12,7 @@ import { checkAndLoadFonts } from 'lib/utils/fonts'; import NavigationBar from './components/NavigationBar.svelte'; import UserArea from 'lib/components/user-area/UserArea.svelte'; + import Maintenance from 'lib/components/Maintenance.svelte'; const ctx = getAppContext() $: ({auth, navigationHandler} = $ctx) @@ -35,6 +36,7 @@
+ + {#if $isMobile}