From 71b031ca64ee6fba2a95e69b9ff0bf30e0bc463a Mon Sep 17 00:00:00 2001 From: "Joseph.Rawlings" Date: Wed, 22 Apr 2026 10:56:39 -0400 Subject: [PATCH] feat: Enhance UI components with improved styles and responsiveness across various views --- themes/lucentui/js/app.js | 4 +- themes/lucentui/views/auth/login.blade.php | 8 +- themes/lucentui/views/auth/register.blade.php | 4 +- .../views/client/account/security.blade.php | 4 +- .../views/components/card/stat.blade.php | 21 ++++- themes/lucentui/views/dashboard.blade.php | 80 ++++++------------- themes/lucentui/views/home.blade.php | 2 + .../lucentui/views/invoices/index.blade.php | 14 ++-- .../lucentui/views/invoices/widget.blade.php | 4 +- .../views/products/checkout.blade.php | 25 +++--- themes/lucentui/views/products/show.blade.php | 8 +- .../lucentui/views/services/index.blade.php | 18 ++--- .../lucentui/views/services/widget.blade.php | 2 +- themes/lucentui/views/tickets/show.blade.php | 17 ++-- 14 files changed, 108 insertions(+), 103 deletions(-) diff --git a/themes/lucentui/js/app.js b/themes/lucentui/js/app.js index 9d85ad868..b148989a8 100644 --- a/themes/lucentui/js/app.js +++ b/themes/lucentui/js/app.js @@ -24,7 +24,9 @@ Alpine.store('notifications', { }, addNotification(notification) { - notification = notification[0]; + // Livewire dispatches pass args as an array; unwrap if needed. + if (Array.isArray(notification)) notification = notification[0]; + if (!notification || typeof notification !== 'object') return; notification.show = false; notification.id = Date.now() + Math.floor(Math.random() * 1000); notification.type = notification.type || 'success'; diff --git a/themes/lucentui/views/auth/login.blade.php b/themes/lucentui/views/auth/login.blade.php index 75c408ac3..f8c702900 100644 --- a/themes/lucentui/views/auth/login.blade.php +++ b/themes/lucentui/views/auth/login.blade.php @@ -1,6 +1,6 @@ -
-