@php $totalCard = is_array($component->cta) ? count($component->cta) : 0; @endphp @if ($totalCard)
@foreach ($component->cta as $cta) @php $cta = miniCollection($cta); @endphp
<{{ $component->full_link == 1 ? 'a' : 'div' }} class="block relative" href="{{ $component->full_link == 1 ? $cta['btn_link'] : '' }}">
@isset($cta->image) @endisset
@if ($cta['upper_st'])

{!! $cta['upper_st'] !!}

@endif @if ($cta['lower_st'])

{!! $cta['lower_st'] !!}

@endif @if ($cta['title'])

{!! $cta['title'] !!}

@endif @if ($component->full_link != 1 && $cta['btn_text']) {!! $cta['btn_text'] !!} @endif
full_link == 1 ? 'a' : 'div' }}>
@endforeach
@endif