mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-10-15 09:50:48 +02:00
lint and prettier
This commit is contained in:
@@ -23,7 +23,8 @@
|
||||
v-for="mangaconnectorId in chapter.mangaConnectorIds.sort((a, b) =>
|
||||
a.mangaConnectorName < b.mangaConnectorName ? -1 : 1
|
||||
)"
|
||||
v-bind="mangaconnectorId" />
|
||||
v-bind="mangaconnectorId"
|
||||
:key="mangaconnectorId.key" />
|
||||
</div>
|
||||
</template>
|
||||
</UPageCard>
|
||||
|
@@ -2,6 +2,7 @@
|
||||
<UPageList class="gap-2">
|
||||
<UPageCard
|
||||
v-for="l in fileLibraries"
|
||||
:key="l.key"
|
||||
variant="soft"
|
||||
icon="i-lucide-library-big"
|
||||
:title="l.libraryName"
|
||||
|
@@ -6,20 +6,20 @@
|
||||
@click="$emit('click')">
|
||||
<MangaCover :manga="manga" blur />
|
||||
<div class="absolute -top-4 -right-4 flex flex-col bg-pink rounded-full">
|
||||
<MangaconnectorIcon v-for="m in manga.mangaConnectorIds" v-bind="m" />
|
||||
<MangaconnectorIcon v-for="m in manga.mangaConnectorIds" v-bind="m" :key="m.key" />
|
||||
</div>
|
||||
</UCard>
|
||||
<UCard
|
||||
v-else
|
||||
orientation="horizontal"
|
||||
reverse
|
||||
class="relative max-w-[600px] w-full h-[350px] mt-2"
|
||||
class="relative max-w-[600px] w-full h-[350px] mt-2 mb-2"
|
||||
:ui="{ body: 'p-0 sm:p-0', root: 'overflow-visible' }"
|
||||
@click="$emit('click')">
|
||||
<div class="flex flex-row w-full h-full basis-auto">
|
||||
<MangaCover :manga="manga" class="shrink-0" />
|
||||
<div class="absolute -top-4 -right-4 flex flex-col bg-pink rounded-full">
|
||||
<MangaconnectorIcon v-for="m in manga.mangaConnectorIds" v-bind="m" />
|
||||
<MangaconnectorIcon v-for="m in manga.mangaConnectorIds" v-bind="m" :key="m.key" />
|
||||
</div>
|
||||
<div class="flex flex-col h-[350px] shrink mx-2">
|
||||
<p class="font-semibold text-xl">{{ manga.name }}</p>
|
||||
|
@@ -6,13 +6,15 @@
|
||||
<USkeleton v-else class="w-[240px] h-[350px]" />
|
||||
<p v-if="manga" class="font-semibold text-xl">
|
||||
{{ manga.name }}
|
||||
<MangaconnectorIcon v-for="m in manga.mangaConnectorIds" v-bind="m" />
|
||||
<MangaconnectorIcon v-for="m in manga.mangaConnectorIds" v-bind="m" :key="m.key" />
|
||||
</p>
|
||||
<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" variant="outline" color="neutral">{{ author.name }}</UBadge>
|
||||
<UBadge v-for="tag in manga.tags" variant="outline">{{ tag }}</UBadge>
|
||||
<NuxtLink v-for="link in manga.links" :to="link.url">
|
||||
<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">{{ tag }}</UBadge>
|
||||
<NuxtLink v-for="link in manga.links" :key="link.key" :to="link.url" external noPrefetch>
|
||||
<UBadge variant="outline" color="warning">{{ link.provider }}</UBadge>
|
||||
</NuxtLink>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user