Skip to content

Commit

Permalink
Merge pull request #885 from Taconut/feature-discordlink
Browse files Browse the repository at this point in the history
Added Discord invite link to footer (fixes #880)
  • Loading branch information
mhuggins authored Mar 16, 2018
2 parents ecdff4d + 008aed2 commit eb11d7d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/containers/App/Footer/Footer.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
// @flow
import React from 'react'
import styles from './Footer.scss'
import { shell } from 'electron'

const Footer = () => <div className={styles.container}>Created by CoZ. Donations: Adr3XjZ5QDzVJrWvzmsTTchpLRRGSzgS5A</div>
const discordInviteLink = 'https://discordapp.com/invite/R8v48YA'
const openDiscordLink = () => shell.openExternal(discordInviteLink)

const Footer = () => <div className={styles.container}>Community Support: <a href='#' onClick={openDiscordLink}>{discordInviteLink}</a> | Created by CoZ. Donations: Adr3XjZ5QDzVJrWvzmsTTchpLRRGSzgS5A</div>

export default Footer

0 comments on commit eb11d7d

Please sign in to comment.