From af0bdf9081a981ab9e08f498079e502e7916f19a Mon Sep 17 00:00:00 2001 From: isaacclad Date: Fri, 3 Jul 2026 22:41:01 +0000 Subject: [PATCH] Sync mobile notification badge and dashboard icon-link partials. Align mobile unread badge with desktop and add plus icon support for panel actions. --- .../views/partials/mobile-bottom-nav.blade.php | 14 ++++++++------ .../views/partials/mobile-icon-link.blade.php | 8 +++++++- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/resources/views/partials/mobile-bottom-nav.blade.php b/resources/views/partials/mobile-bottom-nav.blade.php index 5fbdf50..a308a67 100644 --- a/resources/views/partials/mobile-bottom-nav.blade.php +++ b/resources/views/partials/mobile-bottom-nav.blade.php @@ -57,12 +57,14 @@ }, }" @endif - class="relative flex flex-col items-center justify-center gap-1 px-2 py-2 transition hover:text-slate-900 {{ $navActive($notificationsActive ?? false) }}"> - - @if ($unreadUrl) - - @endif + class="flex flex-col items-center justify-center gap-1 px-2 py-2 transition hover:text-slate-900 {{ $navActive($notificationsActive ?? false) }}"> + + + @if ($unreadUrl) + + @endif + Notifications diff --git a/resources/views/partials/mobile-icon-link.blade.php b/resources/views/partials/mobile-icon-link.blade.php index b1a96c4..152c58f 100644 --- a/resources/views/partials/mobile-icon-link.blade.php +++ b/resources/views/partials/mobile-icon-link.blade.php @@ -2,14 +2,20 @@ $icon = $icon ?? 'arrow'; $desktopClass = $desktopClass ?? 'text-xs font-medium text-indigo-600 hover:text-indigo-700'; $label = $label ?? ''; + $extraAttributes = $attributes ?? ''; @endphp - @if ($icon === 'shield') + @if ($icon === 'plus') + + @elseif ($icon === 'shield')