mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-10-15 09:50:48 +02:00
Add "TrangaPage" composable
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
<template>
|
||||
<MangaCard v-for="(m, i) in manga" :key="m.key" :manga="m" :expanded="i === expanded" @click="expanded = expanded === i ? -1 : i">
|
||||
<template #actions="forManga">
|
||||
<UButton :to="`/manga/${forManga.key}`">Details</UButton>
|
||||
</template>
|
||||
</MangaCard>
|
||||
<div class="flex flex-row flex-wrap gap-2">
|
||||
<MangaCard v-for="(m, i) in manga" :key="m.key" :manga="m" :expanded="i === expanded" @click="expanded = expanded === i ? -1 : i">
|
||||
<template #actions="forManga">
|
||||
<UButton :to="`/manga/${forManga.key}`">Details</UButton>
|
||||
</template>
|
||||
</MangaCard>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
Reference in New Issue
Block a user