Skip to content

Conversation

@vas3a
Copy link
Collaborator

@vas3a vas3a commented Oct 20, 2025

No description provided.

@@ -0,0 +1,43 @@
@import 'lib/styles/fonts.scss';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ maintainability]
Consider using a relative import path for fonts.scss to ensure compatibility across different environments and avoid potential issues with module resolution.

.bannerText {
white-space: pre-wrap;
overflow-wrap: break-word;
font-family: $roboto;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[❗❗ correctness]
Ensure $roboto is defined in fonts.scss. If not, this could lead to a compilation error or unexpected font rendering.

<div class={styles.banner}>
<div class={styles.bannerContent}>
<div class={styles.bannerText}>
Topcoder will be undergoing maintenance on Tuesday, October 21, 2025 from 1 AM to 6 AM EST

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ maintainability]
Consider externalizing the maintenance message to a configuration file or environment variable to allow for easier updates without code changes.


<div class="tc-universal-nav-wrap">
<!-- <Banner /> -->
<Maintenance />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ design]
Consider verifying that the Maintenance component is conditionally rendered based on a relevant state or prop. Rendering it unconditionally might not be appropriate if maintenance mode is not always active.

onMount(checkAndLoadFonts)
</script>

<Maintenance />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ design]
Consider verifying that the <Maintenance /> component does not interfere with the layout or functionality of the existing navigation elements. Ensure it is appropriately styled and positioned, especially on different screen sizes.

@vas3a vas3a merged commit 67a0e90 into dev Oct 20, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants