diff --git a/resources/views/give/dashboard.blade.php b/resources/views/give/dashboard.blade.php index fbf206b..309ca02 100644 --- a/resources/views/give/dashboard.blade.php +++ b/resources/views/give/dashboard.blade.php @@ -2,9 +2,16 @@ Overview @php $fmt = fn ($m) => 'GHS '.number_format($m / 100, 2); @endphp
-
-

Overview

-

Total raised today, active giving pages, and recent donations.

+
+
+

Overview

+ +
+ @include('partials.mobile-header-btn', [ + 'href' => route('give.giving-pages.create'), + 'label' => 'New giving page', + 'variant' => 'indigo', + ])
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') diff --git a/resources/views/qr/dashboard.blade.php b/resources/views/qr/dashboard.blade.php index 68ed5a4..d051ebb 100644 --- a/resources/views/qr/dashboard.blade.php +++ b/resources/views/qr/dashboard.blade.php @@ -2,9 +2,16 @@ Overview @php $fmt = fn ($m) => 'GHS '.number_format($m / 100, 2); @endphp
-
-

QR Plus

-

Dynamic utility QR codes — links, WiFi, business pages & more.

+
+
+

QR Plus

+ +
+ @include('partials.mobile-header-btn', [ + 'href' => route('events.create'), + 'label' => 'Create code', + 'variant' => 'indigo', + ])
@@ -23,7 +30,12 @@

Recent codes

-
Create code + @include('partials.mobile-icon-link', [ + 'href' => route('events.create'), + 'label' => 'Create code', + 'icon' => 'plus', + 'desktopClass' => 'text-sm font-medium text-indigo-600 hover:text-indigo-800', + ])
@if($recentCodes->isEmpty())

No QR codes yet. Create your first code.