File: D:/HostingSpaces/SBogers95/rentman.io/resources/views/site/components/cta/cta.blade.php
@php
$headingType = 'h3';
if(isset($alterHeadings) && $alterHeadings) $headingType = 'h2';
@endphp
<div class="c-cta">
<div class="c-cta__main">
<div class="c-cta__content">
@include('site.components.heading', [ 'headingType' => $headingType])
@if(isset($ctaDescription))
<div class="c-cta__description s-text s-text--mid">
{!! $ctaDescription !!}
</div>
@endif
@if(!empty($usp1) || !empty($usp2) || !empty($usp3))
<ul class="c-cta__usp c-checklist c-checklist--centered">
@if(!empty($usp1))
<li class="c-checklist__item">{{ $usp1 }}</li>
@endif
@if(!empty($usp2))
<li class="c-checklist__item">{{ $usp2 }}</li>
@endif
@if(!empty($usp3))
<li class="c-checklist__item">{{ $usp3 }}</li>
@endif
</ul>
@endif
</div>
@if(!empty($ctaButtonLink) || !empty($ctaButtonLink2))
<div class="c-cta__actions @if(!empty($ctaButtonLink) && !empty($ctaButtonText) && !empty($ctaButtonLink2) && !empty($ctaButtonText2)) c-cta__actions--flex @endif">
@if(!empty($ctaButtonLink) && !empty($ctaButtonText))
<div class="c-cta__button">
@include('site.components.buttonLink', [
'modifiers' => ['icon', 'filled'],
'buttonLink' => $ctaButtonLink,
'buttonText' => $ctaButtonText
])
</div>
@endif
@if(!empty($ctaButtonLink2) && !empty($ctaButtonText2))
<div class="c-cta__button">
@include('site.components.buttonLink', [
'modifiers' => ['icon'],
'buttonLink' => $ctaButtonLink2,
'buttonText' => $ctaButtonText2
])
</div>
@endif
</div>
@endif
</div>
</div>