From a81f50878edb161ab9da5531ef2528be36197f85 Mon Sep 17 00:00:00 2001 From: advplyr Date: Thu, 2 Mar 2023 17:59:11 -0600 Subject: [PATCH] Add:Authors page #618 --- components/home/BookshelfNavBar.vue | 16 +++---- components/home/BookshelfToolbar.vue | 2 + pages/bookshelf/authors.vue | 66 +++++++++++++++++++++++++--- 3 files changed, 71 insertions(+), 13 deletions(-) diff --git a/components/home/BookshelfNavBar.vue b/components/home/BookshelfNavBar.vue index 2508120b..06294c1e 100644 --- a/components/home/BookshelfNavBar.vue +++ b/components/home/BookshelfNavBar.vue @@ -101,15 +101,15 @@ export default { icon: 'collections_bookmark', iconClass: 'text-xl', text: 'Collections' + }, + { + to: '/bookshelf/authors', + routeName: 'bookshelf-authors', + iconPack: 'abs-icons', + icon: 'authors', + iconClass: 'text-2xl', + text: 'Authors' } - // { - // to: '/bookshelf/authors', - // routeName: 'bookshelf-authors', - // iconPack: 'abs-icons', - // icon: 'authors', - // iconClass: 'text-2xl pb-px', - // text: 'Authors' - // } ] } diff --git a/components/home/BookshelfToolbar.vue b/components/home/BookshelfToolbar.vue index 148bc71a..2def7d40 100644 --- a/components/home/BookshelfToolbar.vue +++ b/components/home/BookshelfToolbar.vue @@ -66,6 +66,8 @@ export default { return 'Collections' } else if (this.page === 'playlists') { return 'Playlists' + } else if (this.page === 'authors') { + return 'Authors' } return '' }, diff --git a/pages/bookshelf/authors.vue b/pages/bookshelf/authors.vue index 280edfcb..bb4a628d 100644 --- a/pages/bookshelf/authors.vue +++ b/pages/bookshelf/authors.vue @@ -1,14 +1,70 @@ \ No newline at end of file