From 354449185424b5aa2ec13f14e73afbff30a07546 Mon Sep 17 00:00:00 2001
From: Claas Augner <495429+caugner@users.noreply.github.com>
Date: Wed, 8 Nov 2023 16:00:16 +0100
Subject: [PATCH] fix(discord): add /discord redirect with updated signup link
(#9976)
* fix(discord): replace expired Discord link
* chore(plus/docs): link to issue report forms
* chore(fundamental-redirects): add /discord redirect
---
client/src/ui/organisms/footer/index.tsx | 2 +-
copy/plus/features/playground.md | 10 ++++++----
libs/fundamental-redirects/index.js | 3 +++
3 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/client/src/ui/organisms/footer/index.tsx b/client/src/ui/organisms/footer/index.tsx
index c1b9fda3dfb3..c501c84ad8b2 100644
--- a/client/src/ui/organisms/footer/index.tsx
+++ b/client/src/ui/organisms/footer/index.tsx
@@ -133,7 +133,7 @@ export function Footer() {
diff --git a/copy/plus/features/playground.md b/copy/plus/features/playground.md
index 18f9f10b2ee7..98acf32f6f23 100644
--- a/copy/plus/features/playground.md
+++ b/copy/plus/features/playground.md
@@ -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.
diff --git a/libs/fundamental-redirects/index.js b/libs/fundamental-redirects/index.js
index 48497e13ed76..cf98d4adfb98 100644
--- a/libs/fundamental-redirects/index.js
+++ b/libs/fundamental-redirects/index.js
@@ -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,
}),