mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2024-12-22 13:22:58 -05:00
Fix socials link not working #37
This commit is contained in:
parent
9ae90ba64b
commit
8b14ae58b2
4 changed files with 7 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
|||
export interface Social {
|
||||
type: string | null
|
||||
name: string
|
||||
link: string
|
||||
url: string
|
||||
}
|
||||
|
||||
export interface StreamData {
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue