@if ($subtitle = $shortcode->subtitle)
{!! BaseHelper::clean($subtitle) !!}
@endif
@if ($title = $shortcode->title)
{!! BaseHelper::clean($title) !!}
@endif
@if ($image = $shortcode->image)
{{ RvMedia::image($image, __('Image'), attributes: ['class' => 'rounded-4 border border-2 border-white mb-10 mt-5']) }}
@endif
@php
$primaryButtonLabel = $shortcode->default_action_label;
$primaryButtonUrl = $shortcode->default_action_url;
@endphp
@if ($primaryButtonLabel && $primaryButtonUrl)
@endif
@if ($contentTitle = $shortcode->content_title)
{!! BaseHelper::clean($contentTitle) !!}
@endif
@if ($contentDescription = $shortcode->content_description)
{!! BaseHelper::clean($contentDescription) !!}
@endif
@if($features)
@php
$featuresChunk = array_chunk($features, ceil(count($features) / 2));
@endphp
@foreach($featuresChunk as $features)
$loop->last])>
@foreach($features as $feature)
@continue(! $featureTitle = Arr::get($feature, 'title'))
-
{!! BaseHelper::clean($featureTitle) !!}
@endforeach
@endforeach
@endif
@php
$authorName = $shortcode->author_name;
$authorAvatar = $shortcode->author_avatar;
@endphp
@if ($authorName && $authorAvatar)
{{ RvMedia::image($authorAvatar, $authorName, attributes: ['class' => 'rounded-circle border border-5 border-primary-light']) }}
@if($authorSignature = $shortcode->author_signature)
{{ RvMedia::image($authorSignature, $authorName, attributes: ['class' => 'filter-invert']) }}
@endif
{!! BaseHelper::clean($authorName) !!}
@if($authorTitle = $shortcode->author_title)
, {!! BaseHelper::clean($authorTitle) !!}
@endif
@endif
@php
$dataCountTitle = $shortcode->data_count_title;
$dataCount = $shortcode->data_count;
$dataCountUnit = $shortcode->data_count_unit;
@endphp
@if ($dataCountTitle && $dataCount)
@if ($dataCountUnit)
{!! BaseHelper::clean($dataCountUnit) !!}
@endif
{!! BaseHelper::clean($dataCountTitle) !!}
@endif