mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
implement track favoriting
update img route
This commit is contained in:
committed by
Mungai Njoroge
parent
35a8446f8b
commit
c7cc687286
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user