@if ($subtitle = $shortcode->subtitle)
{!! BaseHelper::clean($subtitle) !!}
@endif
@if ($title = $shortcode->title)
{!! BaseHelper::clean($title) !!}
@endif
@if ($description = $shortcode->description)
{!! BaseHelper::clean($description) !!}
@endif
@php
$primaryButtonLabel = $shortcode->primary_action_label;
$primaryButtonUrl = $shortcode->primary_action_url;
$secondaryButtonLabel = $shortcode->secondary_action_label;
$secondaryButtonUrl = $shortcode->secondary_action_url;
@endphp
@if(($primaryButtonLabel && $primaryButtonUrl) || ($secondaryButtonLabel && $secondaryButtonUrl))
@endif
@if ($content = $shortcode->main_content)
{!! BaseHelper::clean($content) !!}
@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