🔷 add PlayingFrom component to right sidebar

🔷 move upNext card into separate component
🔷 a lot of refactors
This commit is contained in:
geoffrey45
2022-04-03 21:47:57 +03:00
parent 334cf0fce1
commit 6cf9a58d6d
26 changed files with 425 additions and 220 deletions
+10 -5
View File
@@ -1,16 +1,21 @@
<template>
<div class="r-home">
<Recommendations />
<UpNext :next="queue.next" :playNext="queue.playNext" />
<Recommendations />
</div>
</template>
<style lang="scss">
.r-home {
height: calc(100% - 1rem);
// padding: 0 $small $small 0;
padding: 0 $small $small 0;
margin-top: $small;
}
</style>
<script setup>
import Recommendations from '../Recommendation.vue';
</script>
<script setup lang="ts">
import Recommendations from "../Recommendation.vue";
import UpNext from "../queue/upNext.vue";
import useQStore from "../../../stores/queue";
const queue = useQStore();
</script>