mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-10-15 09:50:48 +02:00
Theming
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
<template>
|
||||
<div class="w-6 h-6 inline-block align-middle m-1">
|
||||
<NuxtLink :href="$props.websiteUrl ?? ''">
|
||||
<NuxtImg
|
||||
v-if="mangaConnector"
|
||||
:src="mangaConnector?.iconUrl"
|
||||
:class="[
|
||||
<NuxtLink :href="props.websiteUrl ?? ''">
|
||||
<UTooltip :text="`${props.useForDownload ? 'Downloading' : 'Not downloading'}, click to see website`">
|
||||
<NuxtImg
|
||||
v-if="mangaConnector"
|
||||
:src="mangaConnector?.iconUrl"
|
||||
:class="[
|
||||
'w-full rounded-full outline-2 -outline-offset-1',
|
||||
props.useForDownload ? 'outline-green-500' : 'outline-red-500',
|
||||
]" />
|
||||
<p v-else>{{ mangaConnectorName }}</p>
|
||||
<p v-else>{{ mangaConnectorName }}</p>
|
||||
</UTooltip>
|
||||
</NuxtLink>
|
||||
</div>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user