
<?php
    $destinations = $section['resolved']['destinations'] ?? collect();
    $data = $section['data'] ?? [];
?>
<?php if($destinations->isNotEmpty()): ?>
<section class="v-section v-section--canvas">
    <div class="v-container">
        <header class="v-section__header">
            <?php if(!empty($data['subtitle'])): ?><span class="v-section__eyebrow"><?php echo e($data['subtitle']); ?></span><?php endif; ?>
            <h2 class="v-section__title"><?php echo e($data['title'] ?? 'Popüler Bölgeler'); ?></h2>
        </header>
        <div class="v-mosaic">
            <?php $__currentLoopData = $destinations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $destination): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php
                    $url = $preview ? '#' : route('customer.agency.tours.list', [
                        'agency' => $agency->slug,
                        'type' => $destination->type_slug,
                        'q' => $destination->name,
                    ]);
                ?>
                <a href="<?php echo e($url); ?>" class="v-mosaic__card<?php echo e($index === 0 ? ' v-mosaic__card--tall' : ''); ?>">
                    <?php if($destination->image): ?>
                        <img src="<?php echo e($destination->image); ?>" alt="<?php echo e($destination->name); ?>" loading="lazy">
                    <?php else: ?>
                        <span class="v-mosaic__fallback"><?php if (isset($component)) { $__componentOriginal1d587595677eea2b7eb65f0cd1501da8 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1d587595677eea2b7eb65f0cd1501da8 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.voyage.icon','data' => ['name' => 'pin']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('voyage.icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'pin']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1d587595677eea2b7eb65f0cd1501da8)): ?>
<?php $attributes = $__attributesOriginal1d587595677eea2b7eb65f0cd1501da8; ?>
<?php unset($__attributesOriginal1d587595677eea2b7eb65f0cd1501da8); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1d587595677eea2b7eb65f0cd1501da8)): ?>
<?php $component = $__componentOriginal1d587595677eea2b7eb65f0cd1501da8; ?>
<?php unset($__componentOriginal1d587595677eea2b7eb65f0cd1501da8); ?>
<?php endif; ?></span>
                    <?php endif; ?>
                    <span class="v-mosaic__scrim"></span>
                    <span class="v-mosaic__label">
                        <strong><?php echo e($destination->name); ?></strong>
                        <small><?php echo e($destination->count); ?> Tur</small>
                    </span>
                </a>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>
</section>
<?php endif; ?>
<?php /**PATH C:\xampp\htdocs\acente\resources\views/site/templates/voyage/sections/destinations.blade.php ENDPATH**/ ?>