Skip to content

Commit

Permalink
chore(scrimba): remove past banner and update link (#12237)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoMcA authored Dec 3, 2024
1 parent 10faab1 commit 54caba3
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions client/src/ui/organisms/placement/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,28 +89,12 @@ function TopPlacementFallbackContent() {
});
const now = Date.now();

return now < Date.parse("2024-12-01") ? (
<p className="fallback-copy">
Learn front-end with MDN’s course partner{" "}
<a
href="https://scrimba.com/learn/frontend?via=mdn"
target="_blank"
rel="noreferrer"
ref={observedNode}
onClick={() => {
gleanClick(BANNER_SCRIMBA_CLICK);
}}
>
Scrimba
</a>{" "}
- 30% discount this week!
</p>
) : now < Date.parse("2024-12-25") ? (
return now < Date.parse("2024-12-25") ? (
<p className="fallback-copy">
Take our daily challenges on Scrimba until 24th December and win exciting
prizes.{" "}
<a
href="https://scrimba.com/learn/frontend?via=mdn"
href="https://scrimba.com/javascriptmas?via=mdn"
target="_blank"
rel="noreferrer"
ref={observedNode}
Expand Down

0 comments on commit 54caba3

Please sign in to comment.