Fix socials link not working #37

This commit is contained in:
dragongoose 2023-09-10 13:56:31 -04:00
parent 9ae90ba64b
commit 8b14ae58b2
No known key found for this signature in database
GPG key ID: 01397EEC371CDAA5
4 changed files with 7 additions and 7 deletions

View file

@ -1,7 +1,7 @@
export interface Social {
type: string | null
name: string
link: string
url: string
}
export interface StreamData {

View file

@ -141,8 +141,8 @@ export default {
<hr class="my-auto w-full bg-gray-200 rounded-full opacity-40" />
<ul class="flex font-semibold text-md justify-start flex-wrap flex-row">
<li v-for="link in data.streamer.socials" :key="link.link">
<a :href="link.link" class="text-white hover:text-gray-400 mr-4">
<li v-for="link in data.streamer.socials" :key="link.url">
<a :href="link.url" class="text-white hover:text-gray-400 mr-4">
<v-icon :name="`bi-${link.type}`" class="w-6 h-6 mr-1"></v-icon>
<span>{{ link.name }}</span>
</a>

View file

@ -180,8 +180,8 @@ export default {
<hr class="my-auto w-full bg-gray-200 rounded-full opacity-40" />
<ul class="flex font-semibold text-md justify-start flex-wrap flex-row">
<li v-for="link in data.socials" :key="link.link">
<a :href="link.link" class="text-white hover:text-gray-400 mr-4">
<li v-for="link in data.socials" :key="link.url">
<a :href="link.url" class="text-white hover:text-gray-400 mr-4">
<v-icon :name="`bi-${link.type}`" class="w-6 h-6 mr-1"></v-icon>
<span>{{ link.name }}</span>
</a>

View file

@ -129,8 +129,8 @@ export default {
<hr class="my-auto w-full bg-gray-200 rounded-full opacity-40" />
<ul class="flex font-semibold text-md justify-start flex-wrap flex-row">
<li v-for="link in data.streamer.socials" :key="link.link">
<a :href="link.link" class="text-white hover:text-gray-400 mr-4">
<li v-for="link in data.streamer.socials" :key="link.url">
<a :href="link.url" class="text-white hover:text-gray-400 mr-4">
<v-icon :name="`bi-${link.type}`" class="w-6 h-6 mr-1"></v-icon>
<span>{{ link.name }}</span>
</a>