From 02e13cb642532ef30ac863c0288da694c36554bf Mon Sep 17 00:00:00 2001 From: Artem Anufrij Date: Tue, 26 Sep 2023 23:51:33 +0200 Subject: [PATCH] wip --- src/views/Home.vue | 132 ++++++++++++++++++--------------------------- 1 file changed, 52 insertions(+), 80 deletions(-) diff --git a/src/views/Home.vue b/src/views/Home.vue index a3ac45e..f3c87c2 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -2,30 +2,31 @@
- - + +
-
+
@@ -160,6 +114,9 @@ export default { this.$store.dispatch("boxes/loadNewest"); this.$store.dispatch("tracks/loadMostListened"); this.$store.dispatch("videos/loadMostViewed"); + + this.$store.dispatch("albums/loadAlbums", true); + this.$store.dispatch("artists/loadArtists", true); }, loadNextPage() { this.scrollPosition = this.$refs.welcome.scrollTop; @@ -194,6 +151,8 @@ export default { serverInfo: "serverInfo", mostListened: "tracks/mostListened", mostViewed: "videos/mostViewed", + albums: ["albums/collection"], + artists: ["artists/collection"], }), historyToggleText() { return this.historyAll ? "less..." : "more..."; @@ -221,4 +180,17 @@ export default { #history.more { max-height: initial; } + +#banner { + position: relative; +} + +#collage { + bottom: 0; + top: 0; + left: 0; + right: 0; + opacity: 0.25; + position: absolute; +} \ No newline at end of file