@props(['href', 'active' => false]) @php $isActive = url()->current() === $href; @endphp merge([ 'class' => 'rounded-full px-3.5 py-2 text-sm font-medium transition-colors ' . ($isActive ? 'bg-accent-50 text-accent-700' : 'text-stone-600 hover:text-stone-900 hover:bg-stone-900/5'), 'aria-current' => $isActive ? 'page' : null, ]) }}> {{ $slot }}