Skip to content

Commit

Permalink
chore(placement): add scrimba discount (#11785)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoMcA authored Sep 12, 2024
1 parent f2bca97 commit ac157ff
Showing 1 changed file with 16 additions and 1 deletion.
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") ? (
<p className="fallback-copy">
Learn front-end development with a 30% discount on{" "}
<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

0 comments on commit ac157ff

Please sign in to comment.