implement track favoriting

update img route
This commit is contained in:
geoffrey45
2022-12-17 22:42:11 +03:00
committed by Mungai Njoroge
parent 35a8446f8b
commit c7cc687286
12 changed files with 141 additions and 31 deletions
+16 -1
View File
@@ -1,12 +1,15 @@
<template>
<div class="album-grid-view v-scroll-page">
<div class="scrollable" v-auto-animate="{ duration: 100 }">
<div class="scrollable">
<AlbumCard
v-for="album in artist.toShow"
:album="album"
:key="album.albumhash"
/>
</div>
<!-- <div class="no-albums rounded" v-if="artist.toShow.length == 0">
<b>No {{ artist.page }}</b>
</div> -->
</div>
</template>
@@ -42,5 +45,17 @@ onBeforeRouteLeave(() => {
overflow: auto;
max-height: 100%;
}
.no-albums {
border: solid $red 1px;
width: 30rem;
display: block;
margin: 0 auto;
padding: 5rem;
text-align: center;
font-size: 1.25rem;
color: $red;
opacity: .5;
}
}
</style>