Browse Source

Use /discord link for Discord invites in navbar

- Switch from links.discord to /discord redirect in navbar
- Remove links.discord

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
pull/276/head
Tomas Slusny 1 month ago
parent
commit
94d98a4d69
3 changed files with 2 additions and 3 deletions
  1. 1
    1
      redirect.js
  2. 0
    1
      src/_data/links.js
  3. 1
    1
      src/components/navigation.js

+ 1
- 1
redirect.js View File

@@ -1,5 +1,5 @@
module.exports = {
discord: 'https://discord.gg/ArdAhnN',
discord: 'https://discord.gg/mePCs8U',
'redirect/launcher/discord': 'https://discord.gg/ArdAhnN',
'redirect/launcher/troubleshooting':
'https://github.com/runelite/runelite/wiki/Troubleshooting-problems-with-the-client'

+ 0
- 1
src/_data/links.js View File

@@ -1,5 +1,4 @@
export default {
discord: 'https://discord.gg/mePCs8U',
patreon: 'https://www.patreon.com/runelite',
twitter: 'https://twitter.com/RuneLiteClient',
github: 'https://github.com/runelite'

+ 1
- 1
src/components/navigation.js View File

@@ -97,7 +97,7 @@ const Navigation = ({ dark, login, loggedIn, username }) => (
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-icon" href={links.discord} title="Discord">
<a class="nav-link nav-icon" href="/discord" title="Discord">
<i class="fab fa-discord" />
<span class="d-lg-none"> Discord</span>
</a>

Loading…
Cancel
Save