initiation librodrome

This commit is contained in:
Yvv
2026-02-20 12:55:10 +01:00
commit 35e2897a73
208 changed files with 18951 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<template>
<div v-if="songs.length > 0" class="flex flex-wrap gap-1">
<span
v-for="song in songs"
:key="song.id"
class="inline-flex items-center gap-1 rounded-full bg-primary/10 px-2 py-0.5 text-xs text-primary/70"
>
<div class="i-lucide-music h-2.5 w-2.5" />
{{ song.title }}
</span>
</div>
</template>
<script setup lang="ts">
const props = defineProps<{
chapterSlug: string
}>()
const bookData = useBookData()
await bookData.init()
const songs = computed(() => bookData.getChapterSongs(props.chapterSlug))
</script>