Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADDED: discourse forum footer icon/link #102

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/assets/svg/icon-social-discourse.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 15 additions & 7 deletions src/components/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,37 @@
<p class="h1" v-html="$t('footer.socialTitle')"></p>
<ul>
<li>
<a :href="$t('social.discord')" target="_blank">
<a :href="$t('social.discord')" target="_blank" title="Discord">
<SVGIconDiscord/>
</a>
</li>
<li>
<a :href="$t('social.twitter')" target="_blank">
<a :href="$t('social.discourse')" target="_blank" title="Discourse">
<SVGIconDiscourse/>
</a>
</li>
<li>
<a :href="$t('social.twitter')" target="_blank" title="Twitter">
<SVGIconTwitter/>
</a>
</li>
<li>
<a :href="$t('social.telegram')" target="_blank">
<a :href="$t('social.telegram')" target="_blank" title="Telegram">
<SVGIconTelegram/>
</a>
</li>
<li>
<a :href="$t('social.linkedin')" target="_blank">
<a :href="$t('social.linkedin')" target="_blank" title="LinkedIn">
<SVGIconLinkedIn/>
</a>
</li>
<li>
<a :href="$t('social.youtube')" target="_blank">
<a :href="$t('social.youtube')" target="_blank" title="Youtube">
<SVGIconYoutube/>
</a>
</li>
<li>
<a :href="$t('social.github')" target="_blank">
<a :href="$t('social.github')" target="_blank" title="Github">
<SVGIconGithub/>
</a>
</li>
Expand Down Expand Up @@ -95,6 +100,7 @@

<script>
import SVGIconDiscord from '@/assets/svg/icon-social-discord.svg?inline';
import SVGIconDiscourse from '@/assets/svg/icon-social-discourse.svg?inline';
import SVGIconTwitter from '@/assets/svg/icon-social-twitter.svg?inline';
import SVGIconTelegram from '@/assets/svg/icon-social-telegram.svg?inline';
import SVGIconLinkedIn from '@/assets/svg/icon-social-linkedin.svg?inline';
Expand All @@ -106,6 +112,7 @@ export default {
name: 'Footer',
components: {
SVGIconDiscord,
SVGIconDiscourse,
SVGIconTwitter,
SVGIconTelegram,
SVGIconLinkedIn,
Expand Down Expand Up @@ -243,8 +250,9 @@ footer {

@include breakpoint('sm') {
margin-top: 24px;
flex-wrap: wrap;
justify-content: flex-start;
gap: 0;
gap: 12px;
}

li {
Expand Down
1 change: 1 addition & 0 deletions src/locales/en-us.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export default {
},
social: {
discord: 'https://discord.gg/caspernetwork',
discourse: 'https://forum.casper.network',
twitter: 'https://twitter.com/Casper_Network',
linkedin: 'https://www.linkedin.com/company/casper-association/',
youtube: 'https://www.youtube.com/c/CasperNetwork',
Expand Down
Loading