feat: add profile image editing and update profile validation

This commit is contained in:
2026-08-22 08:15:01 +03:30
parent aea4d96693
commit b0bf4838ba
12 changed files with 556 additions and 28 deletions
@@ -1,13 +1,15 @@
<div class="listing-content">
<div class="listing-slider owl-carousel owl-theme" dir="ltr">
<?php if($tour->coverImage?->file): ?>
<img src="<?php echo e(getFileUrl($tour->coverImage->file_id)); ?>"
class="w-100 h-100"
alt="<?php echo e($tour->title); ?>">
<?php if($tour->images && $tour->images->count() > 0): ?>
<?php if($tour->images->count() > 1): ?>
<?php $__currentLoopData = $tour->images; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $image): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<img src="<?php echo e(getFileUrl($image->file_id)); ?>" alt="<?php echo e($tour->flight_number); ?>">
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php else: ?>
<img src="<?php echo e(getFileUrl($tour->images->first()->file_id)); ?>" alt="<?php echo e($tour->flight_number); ?>">
<?php endif; ?>
<?php else: ?>
<img src="<?php echo e(asset('assets/Admin/images/tour/single-2.jpg')); ?>"
class="w-100 h-100"
alt="<?php echo e($tour->title); ?>">
<img src="<?php echo e(asset('assets/img/flight/single-1.jpg')); ?>" alt="<?php echo e($tour->flight_number); ?>">
<?php endif; ?>
</div>