major refactors

- add album page store
- show loaders in beforeEnter guards
- show bitrate on now playing card
- etc
This commit is contained in:
geoffrey45
2022-04-03 01:03:32 +03:00
parent 0c1e792839
commit dbb27734fe
26 changed files with 300 additions and 245 deletions
+17 -3
View File
@@ -7,7 +7,7 @@
<div class="image rounded"></div>
<div class="bottom">
<div class="name ellip">{{ props.playlist.name }}</div>
<div class="count">N Tracks</div>
<div class="count">{{ props.playlist.count }} Tracks</div>
</div>
</router-link>
</template>
@@ -23,21 +23,35 @@ const props = defineProps<{
<style lang="scss">
.p-card {
width: 100%;
background-color: $gray;
background: $gray;
padding: $small;
transition: all 0.2s ease;
&:hover {
background-color: $accent;
.bottom > .count {
color: $white;
}
}
.image {
min-width: 100%;
height: 10rem;
background-image: url("../../assets/images/eggs.jpg");
background-size: auto 10rem;
transition: all 0.2s ease;
}
.bottom {
margin-top: $small;
.name {
text-transform: capitalize;
}
.count {
font-size: $medium;
color: $red;
color: $indigo;
}
}
}