Viewing file: b9b33aafc948b3df394d78f4892c9bfc3d272a31.php (10.4 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('page_title', $page->name); ?>
<?php $__env->startSection('seo'); ?>
<meta name="robots" content="index, follow">
<meta name="title" content="<?php echo e($page->meta_title ?? $page->title); ?>">
<meta name="description" content="<?php echo e($page->meta_description); ?>" />
<meta name="keywords" content="">
<!-- Schema.org markup for Google+ -->
<meta itemprop="name" content="<?php echo e($page->meta_title ?? $page->title); ?>">
<meta itemprop="description" content="<?php echo e($page->meta_description); ?>">
<meta itemprop="image" content="<?php echo e($page->fileUrl()); ?>">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="<?php echo e(url()->current()); ?>">
<meta property="og:title" content="<?php echo e($page->meta_title ?? $page->title); ?>">
<meta property="og:description" content="<?php echo e($page->meta_description); ?>">
<meta property="og:image" content="<?php echo e($page->fileUrl()); ?>">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="<?php echo e(url()->current()); ?>">
<meta property="twitter:title" content="<?php echo e($page->meta_title ?? $page->title); ?>">
<meta property="twitter:description" content="<?php echo e($page->meta_description); ?>">
<meta property="twitter:image" content="<?php echo e($page->fileUrl()); ?>">
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<section class="mx-4 lg:mx-4 xl:mx-32 2xl:mx-64 3xl:mx-92">
<div class="mt-8">
<nav class="text-gray-600 text-sm" aria-label="Breadcrumb">
<ol
class="list-none p-0 flex flex-wrap md:inline-flex text-xs md:text-sm roboto-medium font-medium text-gray-10 leading-5">
<li class="flex items-center">
<svg class="-mt-1 <?php echo e(languageDirection() == 'ltr' ? 'mr-2' : 'ml-2'); ?>" width="13"
height="15" viewBox="0 0 13 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M5.35643 1.89407C4.93608 2.1717 4.43485 2.59943 3.69438 3.23412L2.916 3.9013C2.0595 4.63545 1.82512 4.85827 1.69934 5.13174C1.57357 5.4052 1.55692 5.72817 1.55692 6.85625V10.1569C1.55692 10.9127 1.55857 11.4013 1.60698 11.7613C1.65237 12.099 1.72565 12.2048 1.7849 12.264C1.84416 12.3233 1.94997 12.3966 2.28759 12.442C2.64759 12.4904 3.13619 12.492 3.89206 12.492H8.56233C9.31819 12.492 9.80679 12.4904 10.1668 12.442C10.5044 12.3966 10.6102 12.3233 10.6695 12.264C10.7287 12.2048 10.802 12.099 10.8474 11.7613C10.8958 11.4013 10.8975 10.9127 10.8975 10.1569V6.85625C10.8975 5.72817 10.8808 5.4052 10.755 5.13174C10.6293 4.85827 10.3949 4.63545 9.53838 3.9013L8.76 3.23412C8.01953 2.59943 7.5183 2.1717 7.09795 1.89407C6.69581 1.62848 6.44872 1.55676 6.22719 1.55676C6.00566 1.55676 5.75857 1.62848 5.35643 1.89407ZM4.49849 0.595063C5.03749 0.239073 5.5849 0 6.22719 0C6.86948 0 7.41689 0.239073 7.95589 0.595063C8.4674 0.932894 9.04235 1.42573 9.7353 2.01972L10.5515 2.71933C10.5892 2.75162 10.6264 2.78347 10.6632 2.81492C11.3564 3.40806 11.8831 3.85873 12.1694 4.48124C12.4557 5.10375 12.4551 5.79693 12.4543 6.70926C12.4543 6.75764 12.4542 6.80662 12.4542 6.85625L12.4542 10.2081C12.4543 10.8981 12.4543 11.4927 12.3903 11.9688C12.3217 12.479 12.167 12.9681 11.7703 13.3648C11.3736 13.7615 10.8845 13.9162 10.3742 13.9848C9.89812 14.0488 9.30358 14.0488 8.61355 14.0488H3.84083C3.1508 14.0488 2.55626 14.0488 2.08015 13.9848C1.56991 13.9162 1.08082 13.7615 0.68411 13.3648C0.2874 12.9681 0.132701 12.479 0.064101 11.9688C9.07021e-05 11.4927 0.000124017 10.8981 0.000162803 10.2081L0.000164659 6.85625C0.000164659 6.80662 0.000122439 6.75763 8.07765e-05 6.70926C-0.000705247 5.79693 -0.00130245 5.10374 0.285011 4.48124C0.571324 3.85873 1.09802 3.40806 1.79122 2.81492C1.82798 2.78347 1.8652 2.75162 1.90288 2.71933L2.68126 2.05215all_categories.bladeC2.69391 2.0413 2.70652 2.03049 2.71909 2.01972C3.41204 1.42573 3.98698 0.932893 4.49849 0.595063Z"
fill="#898989"></path>
<path fill-rule="evenodd" clip-rule="evenodd"
d="M3.50293 9.37853C3.50293 8.51876 4.19991 7.82178 5.05969 7.82178H7.39482C8.25459 7.82178 8.95158 8.51876 8.95158 9.37853V13.2704C8.95158 13.7003 8.60309 14.0488 8.1732 14.0488C7.74331 14.0488 7.39482 13.7003 7.39482 13.2704V9.37853H5.05969V13.2704C5.05969 13.7003 4.71119 14.0488 4.28131 14.0488C3.85142 14.0488 3.50293 13.7003 3.50293 13.2704V9.37853Z"
fill="#898989"></path>
</svg>
<a href="<?php echo e(route('site.index')); ?>"><?php echo e(__('Home')); ?></a>
<p class="px-2 text-gray-12">/</p>
</li>
<li class="flex items-center text-gray-12">
<a href="javascript: void(0)"><?php echo e(__('All Categories')); ?></a>
</li>
</ol>
</nav>
</div>
<?php
$uncategorized = App\Models\Category::parents();
$categories = $uncategorized->where('id', '!=', 1);
?>
<div class="grid md:grid-cols-4 grid-cols-1 gap-30p w-full">
<?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php $checkChildCategory =count($category->childrenCategories) ?>
<div>
<img class="primary-bg-color w-16 h-16 rounded mb-30p mt-6 neg-transition-scale" src="<?php echo e($category->fileUrl()); ?>"
alt="">
<p class="text-gray-12 text-lg dm-sans font-medium leading-5 mb-22p"><?php echo e($category->name); ?></p>
<div id="navigation">
<?php if($checkChildCategory): ?>
<ul class="dm-sans font-medium text-15 text-gray-10">
<?php $__currentLoopData = $category->childrenCategories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $childCategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li class="py-2">
<div class="flex items-center">
<p>
<a
href="<?php echo e(route('site.productSearch', ['categories' => $childCategory->slug])); ?>"><?php echo e($childCategory->name); ?></a>
</p>
<?php if($childCategory->categories->count() > 0): ?>
<h3>
<a class="click rotates" href="javascript:void(0)">
<svg class="click rotates <?php echo e(languageDirection() == 'ltr' ? 'ml-2' : 'mr-2 neg-transition-scale'); ?>"
width="5" height="9" viewBox="0 0 5 9" fill="none"
xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M0.870679 3.60997e-07L-3.02758e-07 0.948839L3.25864 4.5L3.18147e-07 8.05116L0.87068 9L5 4.5L0.870679 3.60997e-07Z"
fill="#898989" />
</svg>
</a>
</h3>
<?php endif; ?>
</div>
<?php if($childCategory->categories->count() > 0): ?>
<ul class="mt-3 <?php echo e(languageDirection() == 'ltr' ? 'pr-3' : 'pl-3'); ?> pl-8">
<?php $__currentLoopData = $childCategory->categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $grandChildCategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li class="py-2">
<div class="flex items-center">
<p>
<a
href=<?php echo e(route('site.productSearch', ['categories' => $grandChildCategory->slug])); ?>><?php echo e($grandChildCategory->name); ?></a>
</p>
</div>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
<?php endif; ?>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
<?php endif; ?>
</div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</section>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('js'); ?>
<script src="<?php echo e(asset('public/dist/js/custom/site/all-categories.min.js')); ?>"></script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('site.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/ecom1.picotech.app/public_html/resources/views/site/all_categories/all_categories.blade.php ENDPATH**/ ?>
|