Add facebook link (#53)

This commit is contained in:
Damian Czupryn 2020-11-16 19:54:00 +01:00 committed by GitHub
parent 3e0e733b1d
commit f17f795406
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 7 deletions

BIN
src/assets/facebook.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View file

@ -43,6 +43,9 @@
<a class="paypal" title="PayPal" href="https://paypal.me/wulkanowy" @click="paypalClick">
<img src="../assets/paypal.svg" alt="PayPal" />
</a>
<a class="facebook" title="Facebook" href="https://www.facebook.com/wulkanowy" @click="facebookClick">
<img src="../assets/facebook.png" alt="Facebook" />
</a>
</div>
<div class="footer">
<router-link class="footer__link footer__privacy-policy-link" to="polityka-prywatnosci">Polityka prywatności</router-link>
@ -81,6 +84,12 @@
eventAction: 'click',
});
},
facebookClick() {
this.$ga.event({
eventCategory: 'facebook-link',
eventAction: 'click',
});
},
discordClick() {
this.$ga.event({
eventCategory: 'discord-link',
@ -93,12 +102,6 @@
eventAction: 'click',
});
},
trelloClick() {
this.$ga.event({
eventCategory: 'trello-link',
eventAction: 'click',
});
},
paypalClick() {
this.$ga.event({
eventCategory: 'paypal-link',
@ -231,7 +234,7 @@
.quick-links {
margin-top: 32px;
.email, .github, .discord, .paypal {
.email, .github, .discord, .paypal, .facebook {
margin: 8px;
img {