@props(['active']) @php $classes = ($active ?? false) ? "block rounded-md bg-gray-900 px-3 py-2 text-base font-medium text-white dark:bg-gray-950/50" : "block rounded-md px-3 py-2 text-base font-medium text-gray-300 hover:bg-white/5 hover:text-white" @endphp merge(['class' => $classes]) }}> {{ $slot }}