make albums on artist page reactive

+ show artist name on artist album component on album page
+ attach artist page link to artist card
+ use small artist page on album header
+ use album color on genre banner on album page
This commit is contained in:
geoffrey45
2022-12-04 19:35:16 +03:00
committed by Mungai Njoroge
parent 075765088f
commit e54fea2d4d
14 changed files with 104 additions and 60 deletions
+9 -2
View File
@@ -20,7 +20,11 @@ const imageRoutes = {
large: "/t/",
small: "/t/s/",
},
artist: "/a/",
// artist: "/a/",
artist: {
large: "/a/",
small: "/a/s/",
},
playlist: "/p/",
raw: "/raw/",
};
@@ -83,7 +87,10 @@ const paths = {
small: baseImgUrl + imageRoutes.thumb.small,
large: baseImgUrl + imageRoutes.thumb.large,
},
artist: baseImgUrl + imageRoutes.artist,
artist: {
small: baseImgUrl + imageRoutes.artist.small,
large: baseImgUrl + imageRoutes.artist.large,
},
playlist: baseImgUrl + imageRoutes.playlist,
raw: baseImgUrl + imageRoutes.raw,
},