Add: Bookshelf list link to audiobook page

This commit is contained in:
advplyr 2021-10-30 20:12:36 -05:00
parent 729654f5b2
commit e564c80ed2
3 changed files with 9 additions and 6 deletions

View file

@ -11,9 +11,9 @@
<cards-book-cover :width="24" :audiobook="book" />
</td>
<td class="body-cell min-w-64 max-w-64 px-2">
<p class="truncate">
<nuxt-link :to="`/audiobook/${book.id}`" class="truncate hover:underline">
{{ book.book.title }}<span v-if="book.book.subtitle">: {{ book.book.subtitle }}</span>
</p>
</nuxt-link>
</td>
<td class="body-cell min-w-48 max-w-48 px-2">
<p class="truncate">{{ book.book.authorFL }}</p>

View file

@ -13,7 +13,7 @@
<div class="mb-4">
<div class="flex items-end">
<h1 class="text-3xl font-sans">
{{ title }}<span v-if="isDeveloperMode"> ({{ audiobook.ino }})</span>
{{ title }}
</h1>
<p v-if="subtitle" class="ml-4 text-gray-400 text-2xl">{{ subtitle }}</p>
</div>