@php $tabs = []; $quantity = min((int) $shortcode->quantity, 20); if ($quantity) { for ($i = 1; $i <= $quantity; $i++) { $tabs[] = [ 'title' => $shortcode->{'title_' . $i}, 'description' => $shortcode->{'description_' . $i}, 'icon_image' => $shortcode->{'icon_image_' . $i}, 'label' => $shortcode->{'label_' . $i}, 'url' => $shortcode->{'url_' . $i}, 'display' => $shortcode->{'display_' . $i}, ]; } } @endphp
@if ($subtitle = $shortcode->subtitle) {{ $subtitle }} @endif @if ($title = $shortcode->title)

{{ $title }}

@endif @if ($description = $shortcode->description)

{{ $description }}

@endif
@if ($shortcode->button_primary_url || $shortcode->button_primary_label) {{ $shortcode->button_primary_label ?: __('Download App') }} @endif @if ($shortcode->button_secondary_url && $shortcode->button_secondary_label) {{ $shortcode->button_secondary_label }} @endif
@foreach($tabs as $tab) @if ($tab['display'] == 'show_full')
$loop->index == 1])>
@if ($tab['icon_image'])
{{ $tab['title'] }}
@endif
@if ($tab['title'])

{{ $tab['title'] }}

@endif @if($tab['description'])

{{ $tab['description'] }}

@endif
@if($tab['label'] && $tab['url']) {{ $tab['label'] }} @endif
@endif @endforeach
@foreach($tabs as $tab) @if ($tab['display'] == 'show_title')
@if ($tab['icon_image'] && $tab['url'])
{{ $tab['title'] }}
@endif
@if ($tab['title'] && $tab['url'])
{{ $tab['title'] }}
@endif
@endif @endforeach