diff --git a/resources/views/components/nav-item.blade.php b/resources/views/components/nav-item.blade.php index c8ad86a..2e74444 100644 --- a/resources/views/components/nav-item.blade.php +++ b/resources/views/components/nav-item.blade.php @@ -3,8 +3,8 @@ @php $isActive = $active ?? request()->fullUrlIs($href) || request()->is(trim(parse_url($href, PHP_URL_PATH) ?? '', '/')); $classes = $isActive - ? 'bg-blue-50 text-blue-700 border-r-2 border-blue-500' - : 'text-gray-600 hover:bg-gray-50 hover:text-gray-900'; + ? 'bg-gradient-to-r from-blue-50 to-white text-blue-700 border-l-[3px] border-blue-500 shadow-sm' + : 'text-gray-600 hover:text-gray-900 hover:bg-gray-100/70 border-l-[3px] border-transparent'; $faIcons = [ 'home' => 'fa-solid fa-house', @@ -26,7 +26,7 @@ $faIcons = [ $faClass = $faIcons[$icon] ?? 'fa-solid fa-circle'; @endphp -merge(['class' => 'group flex items-center px-3 py-2 text-sm font-medium rounded-md ' . $classes]) }}> - +merge(['class' => 'group flex items-center px-3 py-2.5 text-sm font-medium rounded-lg transition-all duration-150 ' . $classes]) }}> + {{ $slot }} diff --git a/resources/views/dashboard/index.blade.php b/resources/views/dashboard/index.blade.php index ca25b37..b959fb1 100644 --- a/resources/views/dashboard/index.blade.php +++ b/resources/views/dashboard/index.blade.php @@ -12,7 +12,7 @@ {{-- Gradient Stats Cards --}}
data terbaru
semua waktu
terdata