Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(scrimba): remove past banner and update link #12237

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading