@props(['active']) @php $classes = ($active ?? false) ? 'flex items-center w-full p-2 text-emerald-400 transition duration-75 rounded-lg ps-4 bg-emerald-600/10 border-r-2 border-emerald-500 font-medium text-xs group' : 'flex items-center w-full p-2 text-slate-400 transition duration-75 rounded-lg ps-4 hover:bg-slate-800 hover:text-white text-xs group'; @endphp merge(['class' => $classes]) }}> {{ $slot }}