Skip to content

Commit

Permalink
fix(discord): add /discord redirect with updated signup link (#9976)
Browse files Browse the repository at this point in the history
* fix(discord): replace expired Discord link

* chore(plus/docs): link to issue report forms

* chore(fundamental-redirects): add /discord redirect
  • Loading branch information
caugner authored Nov 8, 2023
1 parent 45aa619 commit 3544491
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/src/ui/organisms/footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export function Footer() {
<li className="footer-nav-item">
<a
className="footer-nav-link"
href="https://discord.gg/hkGN8VKvvD"
href="/discord"
target="_blank"
rel="noopener noreferrer"
>
Expand Down
10 changes: 6 additions & 4 deletions copy/plus/features/playground.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,12 @@ involved:

Sign up for an MDN Plus account if you haven't already.

1. Participate in discussions, share ideas, and seek help in the
[Playground forums](https://discord.gg/3Pb8cQrTfB).
2. Contribute to the improvement of the Playground by reporting issues or
suggesting new features.
1. Participate in discussions, share ideas, and seek help on
[Discord](/discord).
2. Contribute to the improvement of the Playground by
[reporting issues](https://github.com/mdn/yari/issues/new?template=bug-report.yml)
or
[suggesting new features](https://github.com/mdn/mdn/issues/new?template=content-or-feature-suggestion.yml).
3. Showcase your projects, share your knowledge, and inspire others by
contributing code examples to MDN.

Expand Down
3 changes: 3 additions & 0 deletions libs/fundamental-redirects/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1116,6 +1116,9 @@ for (const [pattern, path] of [
}

const MISC_REDIRECT_PATTERNS = [
redirect(/^discord\/?$/i, "https://discord.gg/Gt4Qf6q67h", {
permanent: false,
}),
redirect(/^events\/?$/i, "https://community.mozilla.org/events/", {
permanent: false,
}),
Expand Down

0 comments on commit 3544491

Please sign in to comment.