File: /home/lesanew/anestetues2/web/app/cache/acorn/framework/views/2499ebc2249d5285a1033e176af38135.php
<?php ($col_elements = $col_elements ?? ($colElements ?? [])); ?>
<?php ($no_wave = $no_wave ?? ($noWave ?? false)); ?>
<?php ($img_position = $img_position ?? ($imgPosition ?? 'img-left')); ?>
<?php ($title_class = $title_class ?? ($titleClass ?? null)); ?>
<?php ($btn_1_class = $btn_1_class ?? ($btnOneClass ?? ($btn1Class ?? null))); ?>
<?php ($btn_2_class = $btn_2_class ?? ($btnTwoClass ?? ($btn2Class ?? null))); ?>
<?php $__env->startPush('vite-head'); ?>
<?php echo app('Illuminate\Foundation\Vite')(['resources/css/components/_columns.scss']); ?>
<?php $__env->stopPush(); ?>
<div class="columns <?php echo e($img_position); ?>">
<div class="column column-img">
<?php if(! empty($col_elements['img'])): ?>
<img
src="<?php echo e($col_elements['img']['url'] ?? ''); ?>"
alt="<?php echo e($col_elements['img']['alt'] ?? ''); ?>"
<?php if (! ($no_wave)): ?> class="wave-img" <?php endif; ?>
/>
<?php endif; ?>
</div>
<?php ($boutons = $col_elements['boutons'] ?? null); ?>
<?php ($has_single_btn = ! empty($col_elements['bouton']['url'] ?? null) && ! empty($col_elements['bouton']['title'] ?? null)); ?>
<?php ($has_repeater_btn = ! empty($boutons) && is_iterable($boutons)); ?>
<?php ($has_buttons = $has_single_btn || $has_repeater_btn); ?>
<div class="column column-content">
<?php if(! empty($col_elements['titre'])): ?>
<h2 class="<?php echo e($title_class); ?>"><?php echo e($col_elements['titre']); ?></h2>
<?php endif; ?>
<div class="text <?php echo e($has_buttons ? 'mb' : ''); ?>">
<?php if(! empty($col_elements['texte'])): ?>
<?php echo $col_elements['texte']; ?>
<?php endif; ?>
</div>
<?php if($has_buttons): ?>
<div class="button-container">
<?php if($has_repeater_btn): ?>
<?php ($index = 0); ?>
<?php $__currentLoopData = $boutons; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php ($index++); ?>
<?php ($btn = $item['bouton'] ?? null); ?>
<?php ($btn_target = $btn['target'] ?? null); ?>
<?php ($btn_classes = match (true) {
$index === 1 && ! empty($btn_1_class) => 'btn ' . $btn_1_class,
$index === 2 && ! empty($btn_2_class) => 'btn ' . $btn_2_class,
default => 'btn',
}); ?>
<?php if(! empty($btn['url']) && ! empty($btn['title'])): ?>
<p>
<a
href="<?php echo e($btn['url']); ?>"
class="<?php echo e($btn_classes); ?>"
<?php if(! empty($btn_target)): ?> target="<?php echo e($btn_target); ?>" <?php endif; ?>
>
<?php echo e($btn['title']); ?>
</a>
</p>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php else: ?>
<?php ($btn_classes = ! empty($btn_1_class) ? 'btn ' . $btn_1_class : 'btn arrow-secondary'); ?>
<?php ($btn = $col_elements['bouton'] ?? null); ?>
<?php ($btn_target = $btn['target'] ?? null); ?>
<p>
<a
href="<?php echo e($col_elements['bouton']['url']); ?>"
class="<?php echo e($btn_classes); ?>"
<?php if(! empty($btn_target)): ?> target="<?php echo e($btn_target); ?>" <?php endif; ?>
>
<?php echo e($col_elements['bouton']['title']); ?>
</a>
</p>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
</div>
<?php /**PATH /home/bnowdpik/anes-tetues/web/app/themes/anes-tetues/resources/views/components/columns.blade.php ENDPATH**/ ?>