show albums from artist at the bottom of album page

+ add a testing genres strip in album page
+ misc refactors
This commit is contained in:
geoffrey45
2022-11-24 12:01:39 +03:00
committed by Mungai Njoroge
parent da852e72f3
commit 4a49d48011
14 changed files with 211 additions and 24 deletions
+5 -1
View File
@@ -49,6 +49,7 @@
</div>
</div>
</div>
</template>
<script setup lang="ts">
@@ -59,7 +60,7 @@ import { albumHeaderSmall } from "@/stores/content-width";
import useNavStore from "@/stores/nav";
import useAlbumStore from "@/stores/pages/album";
import { formatSeconds, useVisibility } from "@/utils";
import { getButtonColor, isLight } from "../../composables/colors/album";
import { isLight } from "../../composables/colors/album";
import { playSources } from "../../composables/enums";
import { AlbumInfo } from "../../interfaces";
@@ -73,6 +74,7 @@ const albumheaderthing = ref<any>(null);
const imguri = paths.images;
const nav = useNavStore();
/**
* Calls the `toggleShowPlay` method which toggles the play button in the nav.
* Emits the `resetBottomPadding` event to reset the album page content bottom padding.
@@ -87,6 +89,8 @@ useVisibility(albumheaderthing, handleVisibilityState);
</script>
<style lang="scss">
.a-header {
display: grid;
grid-template-columns: max-content 1fr;