Skip to content

Commit 54caba3

Browse files
authored
chore(scrimba): remove past banner and update link (#12237)
1 parent 10faab1 commit 54caba3

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

Diff for: client/src/ui/organisms/placement/index.tsx

+2-18
Original file line numberDiff line numberDiff line change
@@ -89,28 +89,12 @@ function TopPlacementFallbackContent() {
8989
});
9090
const now = Date.now();
9191

92-
return now < Date.parse("2024-12-01") ? (
93-
<p className="fallback-copy">
94-
Learn front-end with MDN’s course partner{" "}
95-
<a
96-
href="https://scrimba.com/learn/frontend?via=mdn"
97-
target="_blank"
98-
rel="noreferrer"
99-
ref={observedNode}
100-
onClick={() => {
101-
gleanClick(BANNER_SCRIMBA_CLICK);
102-
}}
103-
>
104-
Scrimba
105-
</a>{" "}
106-
- 30% discount this week!
107-
</p>
108-
) : now < Date.parse("2024-12-25") ? (
92+
return now < Date.parse("2024-12-25") ? (
10993
<p className="fallback-copy">
11094
Take our daily challenges on Scrimba until 24th December and win exciting
11195
prizes.{" "}
11296
<a
113-
href="https://scrimba.com/learn/frontend?via=mdn"
97+
href="https://scrimba.com/javascriptmas?via=mdn"
11498
target="_blank"
11599
rel="noreferrer"
116100
ref={observedNode}

0 commit comments

Comments
 (0)