From ac157ff0a659e10b7fed6646d105e1ed90a7ea44 Mon Sep 17 00:00:00 2001 From: Leo McArdle Date: Thu, 12 Sep 2024 11:08:53 +0100 Subject: [PATCH] chore(placement): add scrimba discount (#11785) https://mozilla-hub.atlassian.net/browse/MP-1482 --- client/src/ui/organisms/placement/index.tsx | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/client/src/ui/organisms/placement/index.tsx b/client/src/ui/organisms/placement/index.tsx index 53850d0fcf4c..e9f7a051ceb3 100644 --- a/client/src/ui/organisms/placement/index.tsx +++ b/client/src/ui/organisms/placement/index.tsx @@ -92,7 +92,22 @@ export function SidePlacement() { function TopPlacementFallbackContent() { const gleanClick = useGleanClick(); - return ( + return Date.now() < Date.parse("2024-10-12") ? ( +

+ Learn front-end development with a 30% discount on{" "} + { + gleanClick(BANNER_SCRIMBA_CLICK); + }} + > + Scrimba + {" "} + — limited time offer! +

+ ) : (

Learn front-end development with high quality, interactive courses from{" "}