@php if ($tabs) { $featureList = array_filter($tabs, fn($tab) => $tab['title'] && empty($tab['data'])); $counterList = array_filter($tabs, fn($tab) => $tab['title'] && $tab['data']); } @endphp
@if ($image = $shortcode->image) {{ RvMedia::image($image, $shortcode->title) }} @endif @if ($image1 = $shortcode->image_1) {{ RvMedia::image($image1, $shortcode->title, attributes: ['data-parallax' => '{"y" : 100 }']) }} @endif @if (($companyAge = $shortcode->company_age) && ($companyDescription = $shortcode->company_description))

{{ $companyAge }} {!! BaseHelper::clean($companyDescription) !!}

@endif
@if ($subtitle = $shortcode->subtitle) {!! BaseHelper::clean($subtitle) !!} @endif @if ($title = $shortcode->title)

{!! BaseHelper::clean($title) !!}

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

{!! BaseHelper::clean(nl2br($description)) !!}

@endif
@if ($featureList)
    @foreach ($featureList as $feature)
  • {!! BaseHelper::clean($feature['title']) !!}
  • @endforeach
@endif @if ($counterList)
    @foreach ($counterList as $counter)
  • @if ($counter['icon'])
    @elseif($counter['icon_image'])
    {{ RvMedia::image($tab['icon'], $tab['title']) }}
    @endif @if ($counter['data'])

    {{ $counter['unit'] }}

    {!! BaseHelper::clean($counter['title']) !!}

    @endif
  • @endforeach
@endif
@if ($bgImage1 = $shortcode->background_image_1)
{{ RvMedia::image($bgImage1, $shortcode->title) }}
@endif