mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2025-01-03 11:20:07 -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 {
|
export interface Social {
|
||||||
type: string | null
|
type: string | null
|
||||||
name: string
|
name: string
|
||||||
link: string
|
url: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface StreamData {
|
export interface StreamData {
|
||||||
|
|
|
@ -141,8 +141,8 @@ export default {
|
||||||
<hr class="my-auto w-full bg-gray-200 rounded-full opacity-40" />
|
<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">
|
<ul class="flex font-semibold text-md justify-start flex-wrap flex-row">
|
||||||
<li v-for="link in data.streamer.socials" :key="link.link">
|
<li v-for="link in data.streamer.socials" :key="link.url">
|
||||||
<a :href="link.link" class="text-white hover:text-gray-400 mr-4">
|
<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>
|
<v-icon :name="`bi-${link.type}`" class="w-6 h-6 mr-1"></v-icon>
|
||||||
<span>{{ link.name }}</span>
|
<span>{{ link.name }}</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -180,8 +180,8 @@ export default {
|
||||||
<hr class="my-auto w-full bg-gray-200 rounded-full opacity-40" />
|
<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">
|
<ul class="flex font-semibold text-md justify-start flex-wrap flex-row">
|
||||||
<li v-for="link in data.socials" :key="link.link">
|
<li v-for="link in data.socials" :key="link.url">
|
||||||
<a :href="link.link" class="text-white hover:text-gray-400 mr-4">
|
<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>
|
<v-icon :name="`bi-${link.type}`" class="w-6 h-6 mr-1"></v-icon>
|
||||||
<span>{{ link.name }}</span>
|
<span>{{ link.name }}</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -129,8 +129,8 @@ export default {
|
||||||
<hr class="my-auto w-full bg-gray-200 rounded-full opacity-40" />
|
<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">
|
<ul class="flex font-semibold text-md justify-start flex-wrap flex-row">
|
||||||
<li v-for="link in data.streamer.socials" :key="link.link">
|
<li v-for="link in data.streamer.socials" :key="link.url">
|
||||||
<a :href="link.link" class="text-white hover:text-gray-400 mr-4">
|
<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>
|
<v-icon :name="`bi-${link.type}`" class="w-6 h-6 mr-1"></v-icon>
|
||||||
<span>{{ link.name }}</span>
|
<span>{{ link.name }}</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue