<button @click.prevent="$dispatch('toggle-slide-over', 'cart-drawer')" x-data>
    <span class="badge">
        {{ $this->cart()->count() < 100 ? $this->cart()->count() : '99+' }}
    </span>

    <img src="{{ Vite::asset('resources/images/icons/icon-cart.svg') }}" alt="{{ __('Open cart') }}">
</button>
