Add explicit info

This commit is contained in:
mfcar
2023-02-22 12:48:12 +00:00
parent 8c84640484
commit c14d13440f
9 changed files with 62 additions and 15 deletions

View File

@ -28,7 +28,7 @@
</div>
</div>
<div v-else class="px-4 flex-grow">
<h1>{{ book.title }}</h1>
<h1>{{ book.title }}<widgets-explicit-indicator :explicit="book.explicit" /></h1>
<p class="text-base text-gray-300 whitespace-nowrap truncate">by {{ book.author }}</p>
<p v-if="book.genres" class="text-xs text-gray-400 leading-5">{{ book.genres.join(', ') }}</p>
<p class="text-xs text-gray-400 leading-5">{{ book.trackCount }} Episodes</p>
@ -78,4 +78,4 @@ export default {
this.selectedCover = this.bookCovers.length ? this.bookCovers[0] : this.book.cover || null
}
}
</script>
</script>