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(placement): update Scrimba banner #12385

Merged
merged 1 commit into from
Jan 2, 2025
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
23 changes: 5 additions & 18 deletions client/src/ui/organisms/placement/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,23 +89,7 @@ function TopPlacementFallbackContent() {
});
const now = Date.now();

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/javascriptmas?via=mdn"
target="_blank"
rel="noreferrer"
ref={observedNode}
onClick={() => {
gleanClick(BANNER_SCRIMBA_CLICK);
}}
>
Join now
</a>
</p>
) : (
return (
<p className="fallback-copy">
Learn front-end development with high quality, interactive courses from{" "}
<a
Expand All @@ -119,7 +103,10 @@ function TopPlacementFallbackContent() {
>
Scrimba
</a>
. Enroll now!
.{" "}
{now < Date.parse("2025-01-08")
? "Enroll now and save 25% this New Year!"
: "Enroll now!"}
</p>
);
}
Expand Down
Loading