Skip to content

Commit aad5104

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

3 files changed

Lines changed: 16 additions & 0 deletions

File tree

src/components/Footer/Footer.jsx

Lines changed: 7 additions & 0 deletions
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

Lines changed: 6 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)