<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag;

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames(([
    'title',
    'description' => null,
    'primaryLabel',
    'primaryHref',
    'secondaryLabel' => null,
    'secondaryHref' => null,
]));

foreach ($attributes->all() as $__key => $__value) {
    if (in_array($__key, $__propNames)) {
        $$__key = $$__key ?? $__value;
    } else {
        $__newAttributes[$__key] = $__value;
    }
}

$attributes = new \Illuminate\View\ComponentAttributeBag($__newAttributes);

unset($__propNames);
unset($__newAttributes);

foreach (array_filter(([
    'title',
    'description' => null,
    'primaryLabel',
    'primaryHref',
    'secondaryLabel' => null,
    'secondaryHref' => null,
]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
}

$__defined_vars = get_defined_vars();

foreach ($attributes->all() as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
}

unset($__defined_vars, $__key, $__value); ?>

<div
    <?php echo e($attributes->merge(['class' => 'relative overflow-hidden rounded-2xl bg-brand-dark px-6 py-12 sm:px-12 sm:py-16'])); ?>

    data-reveal="up"
>
    <div class="map-grid pointer-events-none absolute inset-0 opacity-40"></div>

    <div class="relative mx-auto flex max-w-2xl flex-col items-center gap-5 text-center">
        <h2 class="text-2xl font-bold text-brand-white sm:text-3xl"><?php echo e($title); ?></h2>

        <?php if($description): ?>
            <p class="text-base leading-relaxed text-brand-white/80"><?php echo e($description); ?></p>
        <?php endif; ?>

        <div class="mt-2 flex flex-col gap-3 sm:flex-row">
            <a href="<?php echo e($primaryHref); ?>" class="btn btn-primary"><?php echo e($primaryLabel); ?></a>

            <?php if($secondaryLabel && $secondaryHref): ?>
                <a href="<?php echo e($secondaryHref); ?>" class="btn btn-secondary-inverse"><?php echo e($secondaryLabel); ?></a>
            <?php endif; ?>
        </div>
    </div>
</div>
<?php /**PATH C:\wamp64\www\nh-trans\resources\views/components/call-to-action.blade.php ENDPATH**/ ?>