diff --git a/src/assets/scss/Global/album-grid.scss b/src/assets/scss/Global/album-grid.scss
new file mode 100644
index 0000000..607941b
--- /dev/null
+++ b/src/assets/scss/Global/album-grid.scss
@@ -0,0 +1,12 @@
+.album-grid-view {
+ height: 100%;
+
+ .scrollable {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
+ padding: 0 1rem;
+ padding-bottom: 4rem;
+ overflow: auto;
+ max-height: 100%;
+ }
+}
diff --git a/src/assets/scss/Global/index.scss b/src/assets/scss/Global/index.scss
index 4471eb8..a5c28e1 100644
--- a/src/assets/scss/Global/index.scss
+++ b/src/assets/scss/Global/index.scss
@@ -1,6 +1,6 @@
@import "./app-grid.scss", "./controls.scss", "./inputs.scss",
"./scrollbars.scss", "./state.scss", "./variants.scss", "./basic.scss",
- "./search-tabheaders.scss";
+ "./search-tabheaders.scss", "./album-grid.scss";
* {
box-sizing: border-box;
diff --git a/src/components/nav/NavBar.vue b/src/components/nav/NavBar.vue
index a57321e..38417f8 100644
--- a/src/components/nav/NavBar.vue
+++ b/src/components/nav/NavBar.vue
@@ -17,6 +17,7 @@
/>
💜 Favorite albums
+
diff --git a/src/router/routes.ts b/src/router/routes.ts
index a3e947d..1bdf9c6 100644
--- a/src/router/routes.ts
+++ b/src/router/routes.ts
@@ -130,6 +130,12 @@ const favorites = {
component: () => import("@/views/Favorites.vue"),
};
+const favoriteAlbums = {
+ path: "/favorites/albums",
+ name: "FavoriteAlbums",
+ component: () => import("@/views/FavoriteAlbums.vue"),
+};
+
const notFound = {
name: "NotFound",
path: "/:pathMatch(.*)",
@@ -152,6 +158,7 @@ const routes = [
notFound,
ArtistTracks,
favorites,
+ favoriteAlbums,
];
const Routes = {
@@ -170,6 +177,7 @@ const Routes = {
notFound: notFound.name,
artistTracks: ArtistTracks.name,
favorites: favorites.name,
+ favoriteAlbums: favoriteAlbums.name,
};
export { routes, Routes };
diff --git a/src/views/AlbumsGrid.vue b/src/views/AlbumsGrid.vue
index c5495a3..75c67aa 100644
--- a/src/views/AlbumsGrid.vue
+++ b/src/views/AlbumsGrid.vue
@@ -7,9 +7,6 @@
:key="album.albumhash"
/>
-
@@ -30,32 +27,4 @@ onMounted(() => {
onBeforeRouteLeave(() => {
artist.resetAlbums();
});
-
-
-
+
\ No newline at end of file
diff --git a/src/views/FavoriteAlbums.vue b/src/views/FavoriteAlbums.vue
new file mode 100644
index 0000000..4f00337
--- /dev/null
+++ b/src/views/FavoriteAlbums.vue
@@ -0,0 +1,25 @@
+
+