Skip to content

Commit

Permalink
Add some social links to the footer.
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyzohKey committed Mar 19, 2018
1 parent d77a150 commit c96fb76
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 5 deletions.
22 changes: 21 additions & 1 deletion src/components/Footer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import {
FaGithub,
FaTwitter,
FaFacebook,
FaForumbee // No Spectrum icon :(
FaForumbee, // No Spectrum icon :(
FaReddit,
FaHashtag
} from "react-icons/lib/fa";

import styles from "./styles";
Expand Down Expand Up @@ -60,6 +62,24 @@ export class Footer extends React.Component {
>
<FaForumbee color={Theme.Colors.BACKGROUND} size={24} />
</a>
<a
href="https://www.reddit.com/r/projecttox/"
rel="noopener noreferrer"
target="_blank"
title={t("footer:links.reddit")}
style={styles.socialLink}
>
<FaReddit color={Theme.Colors.BACKGROUND} size={24} />
</a>
<a
href="https://webchat.freenode.net/?channels=tox,tox-dev,toktok"
rel="noopener noreferrer"
target="_blank"
title={t("footer:links.irc")}
style={styles.socialLink}
>
<FaHashtag color={Theme.Colors.BACKGROUND} size={24} />
</a>
</div>
</div>
);
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/en/footer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"github": "Tox on GitHub",
"twitter": "Tox on Twitter",
"facebook": "Tox on Facebook",
"spectrum": "Tox on Spectrum"
"spectrum": "Tox on Spectrum",
"reddit": "Tox on Reddit",
"irc": "Tox's IRC chans"
}
}
9 changes: 6 additions & 3 deletions src/i18n/fr/footer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"credits": "Créé pour Tox par SkyzohLabs & des contributeurs exceptionels avec 💖 tout autours de la Terre.",
"credits":
"Créé pour Tox par SkyzohLabs & des contributeurs exceptionels avec 💖 tout autours de la Terre.",
"links": {
"github": "Tox sur GitHub",
"twitter": "Tox sur Twitter",
"facebook": "Tox sur Facebook",
"spectrum": "Tox sur Spectrum"
"spectrum": "Tox sur Spectrum",
"reddit": "Tox sur Reddit",
"irc": "Canaux IRC de Tox"
}
}
}

0 comments on commit c96fb76

Please sign in to comment.