mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-10-15 09:50:48 +02:00
clean
This commit is contained in:
@@ -12,5 +12,5 @@ type Manga = components['schemas']['Manga'];
|
||||
type MinimalManga = components['schemas']['MinimalManga'];
|
||||
|
||||
const expanded = ref(-1);
|
||||
defineProps<{manga?: (MinimalManga | Manga)[]}>()
|
||||
defineProps<{ manga?: (MinimalManga | Manga)[] }>();
|
||||
</script>
|
||||
|
@@ -11,7 +11,9 @@
|
||||
<USkeleton v-else class="text-xl h-20 w-full" />
|
||||
<div v-if="manga" class="flex flex-row gap-1 flex-wrap">
|
||||
<UBadge v-for="author in manga.authors" :key="author.key" variant="outline" color="neutral">{{ author.name }}</UBadge>
|
||||
<UBadge v-for="tag in manga.tags" :key="tag" variant="outline" color="primary"><NuxtLink :to="`/manga/tag/${tag}`">{{ tag }}</NuxtLink></UBadge>
|
||||
<UBadge v-for="tag in manga.tags" :key="tag" variant="outline" color="primary"
|
||||
><NuxtLink :to="`/manga/tag/${tag}`">{{ tag }}</NuxtLink></UBadge
|
||||
>
|
||||
<NuxtLink v-for="link in manga.links" :key="link.key" :to="link.url" external no-prefetch>
|
||||
<UBadge variant="outline" color="secondary">{{ link.provider }}</UBadge>
|
||||
</NuxtLink>
|
||||
|
Reference in New Issue
Block a user