@php $classes = $active ? 'flex items-center p-2 text-white bg-[#388E3C] rounded-lg group' : 'flex items-center p-2 text-gray-600 bg-white hover:bg-[#388E3C] hover:text-white rounded-lg group transition duration-150'; @endphp merge(['href' => $href, 'class' => $classes]) }}> {{ $slot }}