Bootstrap Ladill Link from QR Plus extract template.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{{-- Desktop cart pill (between launcher and avatar divider). --}}
|
||||
@if (! empty($cartRoute))
|
||||
<a href="{{ $cartRoute }}"
|
||||
class="hidden items-center gap-2 rounded-full border border-slate-200 px-3 py-1.5 text-sm font-medium text-slate-700 transition hover:bg-slate-50 lg:inline-flex">
|
||||
<span>Cart</span>
|
||||
@if (($cartCount ?? 0) > 0)
|
||||
<span class="inline-flex min-w-5 items-center justify-center rounded-full bg-slate-900 px-1.5 py-0.5 text-[11px] font-semibold text-white">{{ $cartCount }}</span>
|
||||
@endif
|
||||
</a>
|
||||
@endif
|
||||
Reference in New Issue
Block a user