From aad5104ed85902a5e5fa236db058ce379ef9625d Mon Sep 17 00:00:00 2001 From: shelly verma Date: Sun, 6 Apr 2025 03:09:45 -0700 Subject: [PATCH 1/4] Added Discord icon to footer --- src/components/Footer/Footer.jsx | 7 +++++++ src/components/Navigation/Navigation.jsx | 6 ++++++ src/styles/icons/discord.svg | 3 +++ 3 files changed, 16 insertions(+) create mode 100644 src/styles/icons/discord.svg diff --git a/src/components/Footer/Footer.jsx b/src/components/Footer/Footer.jsx index 8fde23618b80..bf40da09fcea 100644 --- a/src/components/Footer/Footer.jsx +++ b/src/components/Footer/Footer.jsx @@ -48,6 +48,13 @@ const Footer = () => ( > Changelog + + Join Discord + + Creative Commons License Creative Commons License diff --git a/src/components/Navigation/Navigation.jsx b/src/components/Navigation/Navigation.jsx index d709b43d2cb0..a0dadd755bae 100644 --- a/src/components/Navigation/Navigation.jsx +++ b/src/components/Navigation/Navigation.jsx @@ -13,6 +13,7 @@ import Tooltip from '../Tooltip/Tooltip'; // Load Styling import '@docsearch/css'; +import DiscordIcon from '../../styles/icons/discord.svg'; import GithubIcon from '../../styles/icons/github.svg'; import XIcon from '../../styles/icons/x.svg'; import StackOverflowIcon from '../../styles/icons/stack-overflow.svg'; @@ -140,6 +141,11 @@ function Navigation({ links, pathname, hash = '', toggleSidebar }) { title: 'GitHub', children: , }, + { + to: 'https://discord.com/invite/5sxFZPdx2k', + title: 'Discord', + children: , + }, { to: 'https://x.com/webpack', title: 'X', diff --git a/src/styles/icons/discord.svg b/src/styles/icons/discord.svg new file mode 100644 index 000000000000..9905364b4a96 --- /dev/null +++ b/src/styles/icons/discord.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file From c3acc09a1f35cc02070817f9c641c0995a79c9e3 Mon Sep 17 00:00:00 2001 From: shelly verma Date: Sun, 6 Apr 2025 03:58:22 -0700 Subject: [PATCH 2/4] Removed Discord link from footer --- src/components/Footer/Footer.jsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/Footer/Footer.jsx b/src/components/Footer/Footer.jsx index bf40da09fcea..af3b71590ef3 100644 --- a/src/components/Footer/Footer.jsx +++ b/src/components/Footer/Footer.jsx @@ -48,12 +48,6 @@ const Footer = () => ( > Changelog - - Join Discord - Creative Commons License From d7f9c0b1f181bfef01d30267f5d573306b679343 Mon Sep 17 00:00:00 2001 From: shelly verma Date: Sat, 19 Apr 2025 23:53:45 -0700 Subject: [PATCH 3/4] Added Discord link in footer as suggested --- src/components/Footer/Footer.jsx | 4 ++++ src/components/Navigation/Navigation.jsx | 7 +------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/components/Footer/Footer.jsx b/src/components/Footer/Footer.jsx index af3b71590ef3..805637fcaac2 100644 --- a/src/components/Footer/Footer.jsx +++ b/src/components/Footer/Footer.jsx @@ -42,6 +42,10 @@ const Footer = () => ( Gitter + + Discord + + , }, - { - to: 'https://discord.com/invite/5sxFZPdx2k', - title: 'Discord', - children: , - }, + { to: 'https://x.com/webpack', title: 'X', From 803b211815f755d1179dc2fdb11440ff1d9bb1ac Mon Sep 17 00:00:00 2001 From: shelly verma Date: Sun, 20 Apr 2025 00:24:06 -0700 Subject: [PATCH 4/4] Added Discord link to footer --- src/components/Footer/Footer.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Footer/Footer.jsx b/src/components/Footer/Footer.jsx index 8fde23618b80..8cdefae7756b 100644 --- a/src/components/Footer/Footer.jsx +++ b/src/components/Footer/Footer.jsx @@ -42,6 +42,10 @@ const Footer = () => ( Gitter + + Discord + +