- redesign the dashboard
- add search bar
- Mobile-friendly design
This commit is contained in:
Saeed Vaziry
2024-03-21 15:57:57 +01:00
committed by GitHub
parent 7949165648
commit d3aaf2a6fa
55 changed files with 1175 additions and 1009 deletions

View File

@ -0,0 +1,14 @@
@props([
"active",
])
@php
$classes =
$active ?? false
? "flex h-10 items-center justify-start rounded-lg bg-primary-50 px-3 py-2 font-semibold text-primary-500 dark:bg-primary-500 dark:bg-opacity-20"
: "flex h-10 items-center justify-start rounded-lg px-3 py-2 font-semibold text-gray-800 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-700";
@endphp
<a {{ $attributes->merge(["class" => $classes]) }}>
{{ $slot }}
</a>