diff --git a/components/app/Appbar.vue b/components/app/Appbar.vue index b7fe929d..c42cece6 100644 --- a/components/app/Appbar.vue +++ b/components/app/Appbar.vue @@ -8,11 +8,9 @@ arrow_back
-
- - - -

{{ currentLibraryName }}

+
+ +

{{ currentLibraryName }}

@@ -45,6 +43,9 @@ export default { currentLibraryName() { return this.currentLibrary ? this.currentLibrary.name : 'Main' }, + currentLibraryIcon() { + return this.currentLibrary ? this.currentLibrary.icon : 'database' + }, showBack() { if (!this.$route.name) return true return this.$route.name !== 'index' && !this.$route.name.startsWith('bookshelf') diff --git a/components/icons/audiobook-svg.vue b/components/icons/audiobook-svg.vue new file mode 100644 index 00000000..905c83cc --- /dev/null +++ b/components/icons/audiobook-svg.vue @@ -0,0 +1,23 @@ + + + \ No newline at end of file diff --git a/components/icons/book-svg.vue b/components/icons/book-svg.vue new file mode 100644 index 00000000..b2e459a4 --- /dev/null +++ b/components/icons/book-svg.vue @@ -0,0 +1,16 @@ + + + \ No newline at end of file diff --git a/components/icons/comic-svg.vue b/components/icons/comic-svg.vue new file mode 100644 index 00000000..30903253 --- /dev/null +++ b/components/icons/comic-svg.vue @@ -0,0 +1,16 @@ + + + \ No newline at end of file diff --git a/components/icons/database-svg.vue b/components/icons/database-svg.vue new file mode 100644 index 00000000..10929b16 --- /dev/null +++ b/components/icons/database-svg.vue @@ -0,0 +1,16 @@ + + + \ No newline at end of file diff --git a/components/icons/podcast-svg.vue b/components/icons/podcast-svg.vue new file mode 100644 index 00000000..d025ab0d --- /dev/null +++ b/components/icons/podcast-svg.vue @@ -0,0 +1,19 @@ + + + \ No newline at end of file diff --git a/components/modals/LibrariesModal.vue b/components/modals/LibrariesModal.vue index 83cb6902..1876e030 100644 --- a/components/modals/LibrariesModal.vue +++ b/components/modals/LibrariesModal.vue @@ -13,10 +13,7 @@
  • - - - - + {{ library.name }}
  • diff --git a/components/widgets/LibraryIcon.vue b/components/widgets/LibraryIcon.vue new file mode 100644 index 00000000..7d8d50ff --- /dev/null +++ b/components/widgets/LibraryIcon.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file