Skip to content

Commit aad5104

Browse files
committed
Added Discord icon to footer
1 parent 1ff902c commit aad5104

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

src/components/Footer/Footer.jsx

+7
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ const Footer = () => (
4848
>
4949
Changelog
5050
</Link>
51+
<Link
52+
className="footer__link"
53+
to="https://discord.com/invite/your-server"
54+
>
55+
Join Discord
56+
</Link>
57+
5158
<Link className="footer__link footer__license" to="/license">
5259
<img alt="Creative Commons License" src={CC} width={25} height={25} />
5360
<img alt="Creative Commons License" src={BY} width={25} height={25} />

src/components/Navigation/Navigation.jsx

+6
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import Tooltip from '../Tooltip/Tooltip';
1313
// Load Styling
1414
import '@docsearch/css';
1515

16+
import DiscordIcon from '../../styles/icons/discord.svg';
1617
import GithubIcon from '../../styles/icons/github.svg';
1718
import XIcon from '../../styles/icons/x.svg';
1819
import StackOverflowIcon from '../../styles/icons/stack-overflow.svg';
@@ -140,6 +141,11 @@ function Navigation({ links, pathname, hash = '', toggleSidebar }) {
140141
title: 'GitHub',
141142
children: <GithubIcon {...navigationIconProps} />,
142143
},
144+
{
145+
to: 'https://discord.com/invite/5sxFZPdx2k',
146+
title: 'Discord',
147+
children: <DiscordIcon {...navigationIconProps} />,
148+
},
143149
{
144150
to: 'https://x.com/webpack',
145151
title: 'X',

src/styles/icons/discord.svg

+3
Loading

0 commit comments

Comments
 (0)