1
0
Fork 0

use new shortlinks for social icons

This commit is contained in:
Moritz Ruth 2019-03-04 00:36:33 +01:00
parent 45b4437fc4
commit a04627ddea
2 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,5 @@
<template>
<a id="root" rel="noopener" :href="to" target="_blank"
<a id="root" rel="noopener" :href="`https://go.ctexxx.dev/${name}`" target="_blank"
@mouseenter="$store.commit('setLogoText', username)"
@mouseleave="$store.commit('resetLogoText', username)"
>
@ -18,7 +18,7 @@
export default {
name: "SocialIcon",
props: {
icon: String,
name: String,
to: String,
username: String,
invert: {
@ -28,7 +28,7 @@
},
data() {
return {
simpleIcon: requireIcon(`./${this.icon}.js`)
simpleIcon: requireIcon(`./${this.name}.js`)
}
}
};