Viewing file: d9bd24c1c9518830e51774eabbb1b278.php (9.53 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $locale = app()->getLocale(); ?> <div class="header-bottom hidden lg:!block bg-primary-800 dark:bg-gray-800"> <div class="container">
<div class="flex gap-6 items-center"> <div class="cat-menu text-white/80 overflow-visible"> <button class="inline-flex gap-2 items-center py-3 heading-07 transition-all duration-300 hover:text-white"> <?php if (isset($component)) { $__componentOriginal8f11fe323f9d347eebd2f0fedd414fd6 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f11fe323f9d347eebd2f0fedd414fd6 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.all-category-icon','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.all-category-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f11fe323f9d347eebd2f0fedd414fd6)): ?> <?php $attributes = $__attributesOriginal8f11fe323f9d347eebd2f0fedd414fd6; ?> <?php unset($__attributesOriginal8f11fe323f9d347eebd2f0fedd414fd6); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f11fe323f9d347eebd2f0fedd414fd6)): ?> <?php $component = $__componentOriginal8f11fe323f9d347eebd2f0fedd414fd6; ?> <?php unset($__componentOriginal8f11fe323f9d347eebd2f0fedd414fd6); ?> <?php endif; ?> <span class="whitespace-nowrap"><?php echo e(__('all_category')); ?></span> </button> <div class="cat-submenu flex flex-col gap-3"> <h3 class="heading-07 text-gray-900 dark:text-gray-100"><a href="/ads"><?php echo e(__('all_category')); ?></a></h3> <ul class="flex flex-col gap-3"> <?php $__currentLoopData = loadCategoriesSubcategories(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li> <a href="<?php echo e(route('frontend.ads.category', $category['slug'])); ?>" class="cat-submenu-link block body-md-400 text-gray-700 dark:text-gray-300 hover:text-primary-500 transition-all duration-300"> <span class="relative"><?php echo e($category['translations']['category'][$locale] ?? $category['name']); ?></span> </a> <?php if($category['subcategories'] && count($category['subcategories'])): ?> <div class="cat-sub-submenu flex flex-col gap-3"> <h3 class="heading-07 text-gray-900"></h3> <ul class="flex flex-col gap-3"> <?php $__currentLoopData = $category['subcategories']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subcategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li> <a href="<?php echo e(route('frontend.ads.sub.category', ['slug' => $category['slug'], 'subslug' => $subcategory['slug']])); ?>" class="body-md-400 text-gray-700 dark:text-gray-300 hover:text-primary-500 transition-all duration-300"> <?php echo e($subcategory['translations'][$locale] ?? $subcategory['name']); ?>
</a> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> </div> <?php endif; ?> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> </div> </div> <div class="swiper category-slider relative text-white/80"> <div class="swiper-wrapper overflow-hidden flex items-center"> <?php $__currentLoopData = loadCategoriesSubcategories(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="swiper-slide whitespace-nowrap max-w-max inline-flex py-[13px]"> <a href="<?php echo e(route('frontend.ads.category', $category['slug'])); ?>" class="heading-07 transition-all duration-300 hover:text-white"> <?php echo e($category['name']); ?>
</a> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <div class="slider-navigation__wrap text-left"> <div class="category-slider_prev cursor-pointer inline-flex items-center bg-white w-[22px] h-[22px] rounded-full p-[5px]"> <?php if (isset($component)) { $__componentOriginald75b38ad4e9cbdf91069a76ddc2c7920 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginald75b38ad4e9cbdf91069a76ddc2c7920 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.right-icon','data' => ['stroke' => '#1768E0','class' => 'rtl:rotate-180']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.right-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['stroke' => '#1768E0','class' => 'rtl:rotate-180']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginald75b38ad4e9cbdf91069a76ddc2c7920)): ?> <?php $attributes = $__attributesOriginald75b38ad4e9cbdf91069a76ddc2c7920; ?> <?php unset($__attributesOriginald75b38ad4e9cbdf91069a76ddc2c7920); ?> <?php endif; ?> <?php if (isset($__componentOriginald75b38ad4e9cbdf91069a76ddc2c7920)): ?> <?php $component = $__componentOriginald75b38ad4e9cbdf91069a76ddc2c7920; ?> <?php unset($__componentOriginald75b38ad4e9cbdf91069a76ddc2c7920); ?> <?php endif; ?> </div> </div> <div class="slider-navigation__wrap text-left"> <div class="category-slider_next cursor-pointer inline-flex items-center bg-white w-[22px] h-[22px] rounded-full p-[5px]"> <?php if (isset($component)) { $__componentOriginald75b38ad4e9cbdf91069a76ddc2c7920 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginald75b38ad4e9cbdf91069a76ddc2c7920 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.right-icon','data' => ['stroke' => '#1768E0','class' => 'rtl:rotate-180']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.right-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['stroke' => '#1768E0','class' => 'rtl:rotate-180']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginald75b38ad4e9cbdf91069a76ddc2c7920)): ?> <?php $attributes = $__attributesOriginald75b38ad4e9cbdf91069a76ddc2c7920; ?> <?php unset($__attributesOriginald75b38ad4e9cbdf91069a76ddc2c7920); ?> <?php endif; ?> <?php if (isset($__componentOriginald75b38ad4e9cbdf91069a76ddc2c7920)): ?> <?php $component = $__componentOriginald75b38ad4e9cbdf91069a76ddc2c7920; ?> <?php unset($__componentOriginald75b38ad4e9cbdf91069a76ddc2c7920); ?> <?php endif; ?> </div> </div> </div> </div> </div> </div> <?php /**PATH E:\add listing 8-9-25\addListing\resources\views/components/frontend/header/header-bottom.blade.php ENDPATH**/ ?>
|