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): add scrimba discount #11785

Merged
merged 4 commits into from
Sep 12, 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
17 changes: 16 additions & 1 deletion client/src/ui/organisms/placement/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,22 @@ export function SidePlacement() {
function TopPlacementFallbackContent() {
const gleanClick = useGleanClick();

return (
return Date.now() < Date.parse("2024-10-12") ? (
LeoMcA marked this conversation as resolved.
Show resolved Hide resolved
<p className="fallback-copy">
Learn front-end development with a 30% discount on{" "}
LeoMcA marked this conversation as resolved.
Show resolved Hide resolved
<a
href="https://scrimba.com/learn/frontend?via=mdn"
target="_blank"
rel="noreferrer"
onClick={() => {
gleanClick(BANNER_SCRIMBA_CLICK);
}}
>
Scrimba
</a>{" "}
&mdash; limited time offer!
</p>
) : (
<p className="fallback-copy">
Learn front-end development with high quality, interactive courses from{" "}
<a
Expand Down