@php
    $title = $title ?? '';
    $text = $text ?? null;
    $primaryLabel = $primaryLabel ?? null;
    $primaryUrl = $primaryUrl ?? '#';
    $secondaryLabel = $secondaryLabel ?? null;
    $secondaryUrl = $secondaryUrl ?? '#';
    $class = $class ?? '';
@endphp
@if ($title !== '' || $primaryLabel)
    <aside class="reveal-up premium-inner-cta-strip premium-cta-strip {{ $class }}">
        @if ($title !== '')
            <h2 class="font-24 font-weight-bold mb-10">{{ $title }}</h2>
        @endif
        @if (!empty($text))
            <p class="font-16 mb-25">{{ $text }}</p>
        @endif
        <div class="d-flex flex-column flex-sm-row align-items-center justify-content-center">
            @if ($primaryLabel)
                <a href="{{ $primaryUrl }}" class="btn btn-primary btn-lg px-40 mb-10 mb-sm-0">{{ $primaryLabel }}</a>
            @endif
            @if ($secondaryLabel)
                <a href="{{ $secondaryUrl }}" class="btn btn-outline-light btn-lg px-35">{{ $secondaryLabel }}</a>
            @endif
        </div>
    </aside>
@endif
