From d14006a08a5b7c6afc8262e11146ad15364c75d8 Mon Sep 17 00:00:00 2001
From: Paul <paulmakles@gmail.com>
Date: Sun, 27 Jun 2021 21:36:23 +0100
Subject: [PATCH] Add Mastodon and GitHub links.

---
 components/Footer.tsx | 14 ++++++++++----
 urls.js               |  5 ++++-
 2 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/components/Footer.tsx b/components/Footer.tsx
index 22d1e52..f3996e1 100644
--- a/components/Footer.tsx
+++ b/components/Footer.tsx
@@ -1,7 +1,7 @@
 import URLs from '../urls';
 import Link from 'next/link';
 import styles from './Footer.module.scss';
-import { Gitlab, Reddit, Twitter } from '@styled-icons/simple-icons';
+import { Gitlab, Reddit, Twitter, Mastodon, Github } from '@styled-icons/simple-icons';
 
 export function Footer() {
     return (
@@ -9,15 +9,21 @@ export function Footer() {
             <div className={styles.branding}>
                 <img src="/logo.svg" draggable={false} />
                 <div className={styles.socials}>
-                    <a href="https://gitlab.insrt.uk/revolt">
+                    <a href={URLs.GitLab}>
                         <Gitlab size={24} />
                     </a>
-                    <a href="https://reddit.com/r/revoltchat">
+                    <a href={URLs.GitHub}>
+                        <Github size={24} />
+                    </a>
+                    <a href={URLs.Reddit}>
                         <Reddit size={24} />
                     </a>
-                    <a href="https://twitter.com/revoltchat">
+                    <a href={URLs.Twitter}>
                         <Twitter size={24} />
                     </a>
+                    <a rel="me" href={URLs.Mastodon}>
+                        <Mastodon size={24} />
+                    </a>
                 </div>
             </div>
             <div className={styles.links}>
diff --git a/urls.js b/urls.js
index ea233a2..b06fec0 100644
--- a/urls.js
+++ b/urls.js
@@ -4,11 +4,14 @@ module.exports = {
     App: 'https://app.revolt.chat',
     Developers: 'https://developers.revolt.chat',
     Wekan: 'https://wekan.insrt.uk/b/jj3x5C6nbYzM6ERQD/revolt',
-
+    
     Feedback: 'https://form.insrt.uk/form/607f276fed17160022857908',
     SourceCode: 'https://gitlab.insrt.uk/revolt',
     Reddit: 'https://reddit.com/r/revoltchat',
     Twitter: 'https://twitter.com/revoltchat',
+    Mastodon: 'https://mastodon.social/@revoltapp',
+    GitHub: 'https://github.com/revoltchat',
+    GitLab: 'https://gitlab.insrt.uk/revolt',
 
     Translate: 'https://weblate.insrt.uk/engage/revolt/?utm_source=widget'
 };
-- 
GitLab