From 5696257684ca1920af168b5dc292b4a77d9aae1a Mon Sep 17 00:00:00 2001 From: Madhura Date: Fri, 15 May 2026 15:30:58 +0100 Subject: [PATCH 1/2] Add banner for question bug --- .../HomepageHighlight/HomepageHighlight.tsx | 10 +++------- src/app/components/pages/IsaacCompetition/dateUtils.ts | 2 +- src/scss/cs/homepage.scss | 2 +- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/app/components/pages/IsaacCompetition/HomepageHighlight/HomepageHighlight.tsx b/src/app/components/pages/IsaacCompetition/HomepageHighlight/HomepageHighlight.tsx index 0e9b313aef..33d0e57f99 100644 --- a/src/app/components/pages/IsaacCompetition/HomepageHighlight/HomepageHighlight.tsx +++ b/src/app/components/pages/IsaacCompetition/HomepageHighlight/HomepageHighlight.tsx @@ -13,12 +13,8 @@ const HomepageHighlight = () => { const getBannerContent = () => { if (isBeforeCompetitionOpenDate(currentDate)) { return { - title: "National Computer Science Competition 2025/26", - subtitle: "Opening November 2025", - button: { - to: "https://forms.office.com/e/23bsQuZfjm", - label: "Be the first one to know", - }, + subtitle: + "Some users may be experiencing issues when attempting questions. We’re actively working on a fix and will restore normal service as soon as possible. Thank you for your patience.", }; } else if (isAfterCompetitionOpenDateAndBeforeCompetitionEndDate(currentDate)) { return { @@ -64,7 +60,7 @@ const HomepageHighlight = () => { return ( <> -

{bannerContent.title}

+

{bannerContent.title}

{bannerContent.subtitle}

); diff --git a/src/app/components/pages/IsaacCompetition/dateUtils.ts b/src/app/components/pages/IsaacCompetition/dateUtils.ts index 915a238088..8a28674c7c 100644 --- a/src/app/components/pages/IsaacCompetition/dateUtils.ts +++ b/src/app/components/pages/IsaacCompetition/dateUtils.ts @@ -1,6 +1,6 @@ //Expression of interest banner will be shown till midnight on 2 Nov 2025. Entries open banner will be displayed after this till COMPETITION_END_DATE //The competition entry form will be displayed on the Events -> National Competition page after this date. -export const COMPETITION_OPEN_DATE = new Date("2025-11-02T23:59:59Z"); // UTC timezone +export const COMPETITION_OPEN_DATE = new Date("2026-05-20T23:59:59Z"); // UTC timezone //The Entries open banner will be displayed till midnight on 28 Feb 2026. Entries closed banner will be displayed after this till ENTRIES_CLOSED_BANNER_END_DATE export const COMPETITION_END_DATE = new Date("2026-02-28T23:59:59Z"); // UTC timezone diff --git a/src/scss/cs/homepage.scss b/src/scss/cs/homepage.scss index cda6ae3542..6c83b045b5 100644 --- a/src/scss/cs/homepage.scss +++ b/src/scss/cs/homepage.scss @@ -317,7 +317,7 @@ &-sub-title { color: #120540; - font-size: 32px; + font-size: 24px; @include respond-below(md) { font-size: 24px; From adcea8b5767b791cd74f9e9f988c0900c3ea5e4f Mon Sep 17 00:00:00 2001 From: Madhura Date: Fri, 15 May 2026 15:42:24 +0100 Subject: [PATCH 2/2] Refine banner content --- .../IsaacCompetition/HomepageHighlight/HomepageHighlight.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/pages/IsaacCompetition/HomepageHighlight/HomepageHighlight.tsx b/src/app/components/pages/IsaacCompetition/HomepageHighlight/HomepageHighlight.tsx index 33d0e57f99..a3618795f5 100644 --- a/src/app/components/pages/IsaacCompetition/HomepageHighlight/HomepageHighlight.tsx +++ b/src/app/components/pages/IsaacCompetition/HomepageHighlight/HomepageHighlight.tsx @@ -14,7 +14,7 @@ const HomepageHighlight = () => { if (isBeforeCompetitionOpenDate(currentDate)) { return { subtitle: - "Some users may be experiencing issues when attempting questions. We’re actively working on a fix and will restore normal service as soon as possible. Thank you for your patience.", + "Some users are experiencing issues when attempting questions on mobile devices, including iPads. Please use a computer for now if possible while we fix this. Thank you for your patience.", }; } else if (isAfterCompetitionOpenDateAndBeforeCompetitionEndDate(currentDate)) { return {