From 95afa96bf002f13ec008fcf8996425eaa3319046 Mon Sep 17 00:00:00 2001 From: Madhura Date: Tue, 12 May 2026 10:01:44 +0100 Subject: [PATCH] Revert changes for login failure banner --- .../HomepageHighlight/HomepageHighlight.tsx | 10 +++++++--- src/app/components/pages/IsaacCompetition/dateUtils.ts | 2 +- src/scss/cs/homepage.scss | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/app/components/pages/IsaacCompetition/HomepageHighlight/HomepageHighlight.tsx b/src/app/components/pages/IsaacCompetition/HomepageHighlight/HomepageHighlight.tsx index 08c8e340aa..0e9b313aef 100644 --- a/src/app/components/pages/IsaacCompetition/HomepageHighlight/HomepageHighlight.tsx +++ b/src/app/components/pages/IsaacCompetition/HomepageHighlight/HomepageHighlight.tsx @@ -13,8 +13,12 @@ const HomepageHighlight = () => { const getBannerContent = () => { if (isBeforeCompetitionOpenDate(currentDate)) { return { - subtitle: - "We're currently experiencing issues with Google authentication on our website. Our team is actively investigating and working on a fix. Thank you for your patience.", + 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", + }, }; } else if (isAfterCompetitionOpenDateAndBeforeCompetitionEndDate(currentDate)) { return { @@ -60,7 +64,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 8a28674c7c..915a238088 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("2026-05-20T23:59:59Z"); // UTC timezone +export const COMPETITION_OPEN_DATE = new Date("2025-11-02T23: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 6c83b045b5..cda6ae3542 100644 --- a/src/scss/cs/homepage.scss +++ b/src/scss/cs/homepage.scss @@ -317,7 +317,7 @@ &-sub-title { color: #120540; - font-size: 24px; + font-size: 32px; @include respond-below(md) { font-size: 24px;