From 7a2639ae83d7fe5045500708268a380bfaef2421 Mon Sep 17 00:00:00 2001 From: Claas Augner <495429+caugner@users.noreply.github.com> Date: Thu, 2 Jan 2025 13:16:21 +0100 Subject: [PATCH] chore(placement): update Scrimba banner (#12385) Promotes 25% new year discount. --- client/src/ui/organisms/placement/index.tsx | 23 +++++---------------- 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/client/src/ui/organisms/placement/index.tsx b/client/src/ui/organisms/placement/index.tsx index b2bfd2a24e97..7dd8c0bf0295 100644 --- a/client/src/ui/organisms/placement/index.tsx +++ b/client/src/ui/organisms/placement/index.tsx @@ -89,23 +89,7 @@ function TopPlacementFallbackContent() { }); const now = Date.now(); - return now < Date.parse("2024-12-25") ? ( -
- Take our daily challenges on Scrimba until 24th December and win exciting - prizes.{" "} - { - gleanClick(BANNER_SCRIMBA_CLICK); - }} - > - Join now - -
- ) : ( + return (Learn front-end development with high quality, interactive courses from{" "} Scrimba - . Enroll now! + .{" "} + {now < Date.parse("2025-01-08") + ? "Enroll now and save 25% this New Year!" + : "Enroll now!"}
); }