Added album slider
This commit is contained in:
1 parent
5c9b82265d
commit
7cbc087049
1 file changed
+11
@@ -83,6 +83,17 @@ const { playAlbum, playShuffledAlbum, playAlbumAtIndex } = usePlayer()
|
|||||||
/>
|
/>
|
||||||
</section>
|
</section>
|
||||||
</Slider>
|
</Slider>
|
||||||
|
|
||||||
|
<Slider title="Albums">
|
||||||
|
<AlbumCard
|
||||||
|
v-for="album in albumsData"
|
||||||
|
:key="album._id"
|
||||||
|
:name="album.name"
|
||||||
|
:file="`${BACKEND_SERVE}${album.file}`"
|
||||||
|
:artists="album.artists"
|
||||||
|
:_id="album._id"
|
||||||
|
/>
|
||||||
|
</Slider>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|||||||
Reference in new issue
Block a user