{{--
Secondary action. Pass `href` to render the same thing as a link, for an
action that is really navigation, so a "go there" control looks identical to
a "do it" one without either pretending to be the other.
--}}
@props(['href' => null])
@php
$classes = 'inline-flex items-center justify-center gap-2 px-4 py-2 text-sm font-semibold rounded-lg bg-white text-slate-700 border border-slate-200 shadow-xs hover:bg-slate-50 hover:border-slate-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-accent-500 disabled:opacity-50 disabled:cursor-not-allowed active:scale-[0.98] transition-all duration-150';
@endphp
@if ($href)
merge(['class' => $classes]) }}>
{{ $slot }}
@else
@endif