@props(['active'])

@php
$classes = ($active ?? false)
            ? 'block w-full rounded-2xl border border-cyan-400/30 bg-cyan-400/10 px-4 py-3 text-start text-base font-semibold text-cyan-100 transition duration-150 ease-in-out'
            : 'block w-full rounded-2xl border border-transparent px-4 py-3 text-start text-base font-medium text-slate-300 transition duration-150 ease-in-out hover:border-white/10 hover:bg-white/5 hover:text-white';
@endphp

<a {{ $attributes->merge(['class' => $classes]) }}>
    {{ $slot }}
</a>
