2022-02-19 00:18:01 -05:00
|
|
|
<template>
|
2018-08-11 01:47:10 -04:00
|
|
|
<div class="media">
|
2022-02-19 00:39:14 -05:00
|
|
|
<div v-if="$slots['artwork']" class="media-left fd-has-action">
|
|
|
|
<slot name="artwork" />
|
2020-08-02 01:33:17 -04:00
|
|
|
</div>
|
2022-02-19 00:18:01 -05:00
|
|
|
<div class="media-content fd-has-action is-clipped">
|
2022-05-20 07:44:22 -04:00
|
|
|
<h1 class="title is-6" v-text="album.name" />
|
2022-02-19 00:39:14 -05:00
|
|
|
<h2 class="subtitle is-7 has-text-grey">
|
2022-05-20 07:44:22 -04:00
|
|
|
<b v-text="album.artists[0].name" />
|
2022-02-19 00:39:14 -05:00
|
|
|
</h2>
|
2022-05-20 07:44:22 -04:00
|
|
|
<h2 class="subtitle is-7 has-text-grey has-text-weight-normal" v-text="[album.album_type, $filters.date(album.release_date)].join(', ')" />
|
2018-08-11 01:47:10 -04:00
|
|
|
</div>
|
|
|
|
<div class="media-right">
|
2022-02-19 00:39:14 -05:00
|
|
|
<slot name="actions" />
|
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>
|
|
|
|
|
2022-02-19 00:39:14 -05:00
|
|
|
<style></style>
|