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