2022-02-19 00:18:01 -05:00
|
|
|
<template>
|
2023-07-01 03:09:16 -04:00
|
|
|
<div class="media is-align-items-center">
|
2023-06-10 13:22:29 -04:00
|
|
|
<div v-if="$slots['artwork']" class="media-left is-clickable">
|
2022-02-19 00:39:14 -05:00
|
|
|
<slot name="artwork" />
|
2020-08-02 01:33:17 -04:00
|
|
|
</div>
|
2023-06-10 13:22:29 -04:00
|
|
|
<div class="media-content is-clickable 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-29 12:49:00 -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 {
|
2023-07-18 09:19:24 -04:00
|
|
|
name: 'ListItemAlbumSpotify',
|
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>
|