<?php $__env->startSection('title', __('Homepage')); ?>
<?php $__env->startSection('content'); ?>
<!-- promotion area start -->
<?php if($coupon): ?>
<div class="p-1 text-white text-center"
     style="background-image: url('<?php echo e(asset('frontend/img/bg/12.jpg')); ?>')">
    <?php echo e($coupon->value); ?><?php echo e($coupon->type == 'percentage' ? '%' : ''); ?> off use (<?php echo e($coupon->code); ?>)
</div>
<?php endif; ?>
<!-- promotion area end -->

<?php echo $__env->make('partials.frontend.sliders', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!-- categories area start -->
<div class="container">
    <div class="pb-50">
        <div class="section-title-furits text-center">
            <img src="<?php echo e(url("img/favicon.png")); ?>" alt="MINI LOGO" style="height: 60px; width: 65px;">
            <h2><?php echo e(__("BROWSE OUR CATEGORIES")); ?></h2>
        </div>
        <br>
        <?php if($categories): ?>
            <section>
                <header class="text-center">
                    <p class="small text-muted small text-uppercase mb-1"><?php echo e(__("Carefully created collections")); ?></p>
                    <h2 class="h5 text-uppercase mb-4"><?php echo e(__("Browse our categories")); ?></h2>
                </header>
                <div class="row">
                    <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php

                        $imgStyle = $titleStyle = "";
                         // if ($loop->iteration == 1) {
                              $imgStyle = "margin: 7px;";
                              $titleStyle = "margin-top: -124px;";
                          //}
                          if (is_int($loop->iteration / 2)) {
                              $imgStyle = "margin: 9px;";
                              $titleStyle = "margin-top: 104px;";
                          }
                         ?>
                        <div class="col-md-4 mb-4 mb-md-0">
                            <a class="category-item" href="<?php echo e(route('shop.index', $category->slug ?? '')); ?>">
                                <img class="img-fluid" src="<?php echo e($category->image); ?>"
                                    style="<?php echo e($imgStyle); ?>"
                                     alt="<?php echo e($category->name ?? ''); ?>">
                                <strong  style="<?php echo e($titleStyle); ?>" class="category-item-title"><?php echo e($category->name ?? ''); ?></strong>
                            </a>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </section>
        <?php else: ?>

        <?php endif; ?>

    </div>
</div>
<!-- categories area end -->



<!-- TRENDING PRODUCTS -->
<div class="container">
    <?php
if (! isset($_instance)) {
    $html = \Livewire\Livewire::mount('frontend.product.top-trending-products', [])->html();
} elseif ($_instance->childHasBeenRendered('QtJPfob')) {
    $componentId = $_instance->getRenderedChildComponentId('QtJPfob');
    $componentTag = $_instance->getRenderedChildComponentTagName('QtJPfob');
    $html = \Livewire\Livewire::dummyMount($componentId, $componentTag);
    $_instance->preserveRenderedChild('QtJPfob');
} else {
    $response = \Livewire\Livewire::mount('frontend.product.top-trending-products', []);
    $html = $response->html();
    $_instance->logRenderedChild('QtJPfob', $response->id(), \Livewire\Livewire::getRootElementTagName($html));
}
echo $html;
?>
</div>


<!-- services area start -->


































<!-- services area end -->
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/lekruu/public_html/resources/views/frontend/index.blade.php ENDPATH**/ ?>