@if (! empty($slot) && $slot->isNotEmpty()) {!! $slot !!} @elseif (! empty($items)) @foreach ($items as $item)
@php $text_color = (! empty($item['text_color'])) ? $item['text_color'] : 'text-purple group-hover:text-purple-700'; @endphp
{!! $item['amount'] !!}
{!! $item['title'] !!}
@endforeach @else @if (! empty($first) && $first->isNotEmpty()) {!! $first !!} @elseif (! empty($first))
@if ($first->attributes->has('tooltip')) @endif @if ($first->attributes->has('href')) @endif @php $text_color = $first->attributes->has('text-color') ? $first->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
attributes->get('class')])> {!! $first->attributes->get('amount') !!}
{!! $first->attributes->get('title') !!} @if ($first->attributes->has('href'))
@endif @if ($first->attributes->has('tooltip'))
@endif
@if ($first->attributes->has('divider')) @endif @endif @if (! empty($second) && $second->isNotEmpty()) {!! $second !!} @elseif (! empty($second))
@if ($second->attributes->has('tooltip')) @endif @if ($second->attributes->has('href')) @endif @php $text_color = $second->attributes->has('text-color') ? $second->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
attributes->get('class')])> {!! $second->attributes->get('amount') !!}
{!! $second->attributes->get('title') !!} @if ($second->attributes->has('href'))
@endif @if ($second->attributes->has('tooltip'))
@endif
@if ($second->attributes->has('divider')) @endif @endif @if (! empty($third) && $third->isNotEmpty()) {!! $third !!} @elseif (! empty($third))
@if ($third->attributes->has('tooltip')) @endif @if ($third->attributes->has('href')) @endif @php $text_color = $third->attributes->has('text-color') ? $third->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
attributes->get('class')])> {!! $third->attributes->get('amount') !!}
{!! $third->attributes->get('title') !!} @if ($third->attributes->has('href'))
@endif @if ($third->attributes->has('tooltip'))
@endif
@endif @endif