2022-02-19 00:18:01 -05:00
|
|
|
<template>
|
2018-08-11 01:47:10 -04:00
|
|
|
<div class="media">
|
2020-08-02 01:33:17 -04:00
|
|
|
<div class="media-left fd-has-action"
|
2022-02-19 00:18:01 -05:00
|
|
|
v-if="$slots['artwork']">
|
2020-08-02 01:33:17 -04:00
|
|
|
<slot name="artwork"></slot>
|
|
|
|
</div>
|
2022-02-19 00:18:01 -05:00
|
|
|
<div class="media-content fd-has-action is-clipped">
|
|
|
|
<h1 class="title is-6">{{ album.name }}</h1>
|
|
|
|
<h2 class="subtitle is-7 has-text-grey"><b>{{ album.artists[0].name }}</b></h2>
|
|
|
|
<h2 class="subtitle is-7 has-text-grey has-text-weight-normal">({{ album.album_type }}, {{ $filters.time(album.release_date, 'L') }})</h2>
|
2018-08-11 01:47:10 -04:00
|
|
|
</div>
|
|
|
|
<div class="media-right">
|
2018-12-17 05:52:09 -05:00
|
|
|
<slot name="actions"></slot>
|
2018-08-11 01:47:10 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
name: 'SpotifyListItemAlbum',
|
2020-08-02 01:33:17 -04:00
|
|
|
props: ['album']
|
2018-08-11 01:47:10 -04:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
</style>
|