@php
$animation ??= true;
$centered ??= true;
$buttonLabel ??= $shortcode->button_label;
$buttonUrl ??= $shortcode->button_url;
$hasButton ??= $buttonLabel && $buttonUrl;
@endphp
@if($shortcode->title || $shortcode->subtitle)
$centered && ! $hasButton, 'wow fadeIn' => $animation, 'style-1' => $hasButton, $class ?? null])
@if($animation)
data-wow-delay=".2s" data-wow-duration="2000ms"
@endif
>
@if($hasButton)
@endif
@if($shortcode->subtitle)
{!! BaseHelper::clean($shortcode->subtitle) !!}
@endif
@if($shortcode->title)
{!! BaseHelper::clean($shortcode->title) !!}
@endif
@if($hasButton)
{{ $buttonLabel }}
@endif
@endif