From 99d43bca1e2e901be5ecf04759704af90b96ac3b Mon Sep 17 00:00:00 2001 From: "aditya.chandel" Date: Mon, 21 Jul 2025 18:00:57 -0600 Subject: [PATCH] Add buttons to open BookLore documentation in topbar and mobile menu --- .../layout-topbar/app.topbar.component.html | 93 +++++++++++-------- 1 file changed, 56 insertions(+), 37 deletions(-) diff --git a/booklore-ui/src/app/layout/component/layout-topbar/app.topbar.component.html b/booklore-ui/src/app/layout/component/layout-topbar/app.topbar.component.html index 9b6896d19..e1d7a4ce5 100644 --- a/booklore-ui/src/app/layout/component/layout-topbar/app.topbar.component.html +++ b/booklore-ui/src/app/layout/component/layout-topbar/app.topbar.component.html @@ -33,7 +33,7 @@
  • @if (userData.permissions.canManipulateLibrary || userData.permissions.admin) { - + }
  • @@ -42,48 +42,47 @@
  • @if (userData.permissions.canManipulateLibrary || userData.permissions.admin) { - + }
  • }
  • - +
  • -
  • - - - @if (shouldShowNotificationBadge) { - {{ completedTaskCount }} - } - - - - -
  • - -
    +
  • + + + @if (shouldShowNotificationBadge) { + {{ completedTaskCount }} + } + + + + +
  • +
  • +
  • + + + +
  • @@ -135,7 +144,7 @@ class="flex items-center gap-2 w-full text-left p-2 hover:bg-surface-200 dark:hover:bg-surface-700 rounded" (click)="openLibraryCreatorDialog(); mobileMenu.hide()" > - + Create Library @@ -144,7 +153,7 @@ class="flex items-center gap-2 w-full text-left p-2 hover:bg-surface-200 dark:hover:bg-surface-700 rounded" (click)="openFileUploadDialog(); mobileMenu.hide()" > - + Upload Book @@ -155,16 +164,26 @@ class="flex items-center gap-2 w-full text-left p-2 hover:bg-surface-200 dark:hover:bg-surface-700 rounded" (click)="navigateToSettings(); mobileMenu.hide()" > - + Settings +
  • + + + Documentation + +
  • @@ -173,7 +192,7 @@ class="flex items-center gap-2 w-full text-left p-2 hover:bg-surface-200 dark:hover:bg-surface-700 rounded" (click)="openUserProfileDialog(); mobileMenu.hide()" > - + Profile @@ -182,7 +201,7 @@ class="flex items-center gap-2 w-full text-left p-2 hover:bg-surface-200 dark:hover:bg-surface-700 rounded" (click)="logout(); mobileMenu.hide()" > - + Logout