<?php $__env->startSection('content'); ?>

    <main>

        <!-- Start Header -->
        <header class="header ">
            <div class="swiper-container header_swiper">
                <div class="swiper-wrapper">
                    <?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="swiper-slide">
                            <div class="item">
                                <div class="container">
                                    <div class="col-lg-5">
                                        <div class="txt_box">
                                            <h5 class="subtitle color-secondary mb-3"><?php echo $row->title; ?></h5>
                                            <h1 class="title text-white fw-bold mb-5">
                                                <?php echo $row->description; ?>

                                            </h1>
                                            <a href="<?php echo e(route('web.product')); ?>" class="butn secondary_butn px-5 " >
                                               <?php echo e(__('web.shop_now')); ?>

                                            </a>
                                        </div>
                                    </div>
                                </div>
                                <img src="<?php echo e(asset($row->image)); ?>" class="bg" alt="">
                            </div>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
                <div class="swiper-pagination pb-4"></div>
            </div>
        </header>

        <!-- Start section -->
        <section class="categ_sec section">
            <div class="container">
                <div class="sec_head mb-5">
                    <h4 class="sec_title fw-bold"><?php echo e(__('web.categories')); ?></h4>
                </div>
                <div class="swiper-container categ_swiper">
                    <div class="swiper-wrapper">
                        <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="swiper-slide">
                                <a href="<?php echo e(route('web.product').'?category_id='.$row->id); ?>">
                                    <div class="categ_item">
                                        <div class="img_box">
                                            <img src="<?php echo e(asset($row->image)); ?>" class="secImg" alt="" />
                                        </div>
                                        <h5 class="title text-center"> <?php echo $row->title; ?> </h5>
                                    </div>
                                </a>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                    </div>
                </div>
            </div>
        </section>

        <!-- Start section -->
        <section class="products_sec section">
            <div class="container">
                <div class="sec_head mb-5">
                    <h4 class="sec_title fw-bold"><?php echo e(__('web.new_come')); ?></h4>
                </div>
                <div class="row">
                    <div class="col-lg-3">
                        <div class="banner_box">
                            <div class="txt_content">
                                <h5 class="title fw-bold color-secondary mb-4"><?php echo $home_new->description; ?></h5>
                                <a href="<?php echo e(route('web.product')); ?>" class="butn secondary_butn px-5 mx-auto " >
                                   <?php echo e(__('web.shop_now')); ?>

                                </a>
                            </div>
                            <img src="<?php echo e(asset($home_new->image)); ?>" class="secImg" alt="" />
                        </div>
                    </div>
                    <div class="col-lg-9">
                        <?php $__currentLoopData = $newest_products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $products): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="row">
                            <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="col-lg-3">
                                    <?php echo $__env->make('web.pages.components.products.card',['product'=>$row], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
                <a href="<?php echo e(route('web.product')); ?>" class="butn secondary_butn px-5 mx-auto mt-4 " >
                    <?php echo e(__('web.see_more')); ?>

                </a>
            </div>
        </section>

        <!-- Start section -->
        <section class="banner_sec section">
            <div class="container">
                <div class="inner">
                    <div class="zi-5">
                        <div class="txt_box">
                            <h5 class="title mb-4 fw-bold color-secondary" > <?php echo $banner->title; ?> </h5>
                            <h6 class="subtitle mb-4" ><?php echo $banner->description; ?> </h6>
                            <a href="<?php echo e(route('web.product')); ?>" class="butn white_butn px-5 " >
                               <?php echo e(__('web.shop_now')); ?>

                            </a>
                        </div>
                    </div>
                    <img src="<?php echo e(asset($banner->image)); ?>" class="bg" alt="">
                </div>
            </div>

            <img src="<?php echo e(url('')); ?>/assets/web/images/pattern_icon.svg" class="pattern" alt="" />
        </section>

        <!-- Start section -->
        <section class="products_sec section">
            <div class="container">

                <div class="sec_head d-flex align-items-center justify-content-between mb-5">
                    <h4 class="sec_title fw-bold"> <?php echo e(__('web.biggest_sold')); ?>  </h4>

                    <div class="arrows">
                        <div class="swiper-button-next"></div>
                        <div class="swiper-button-prev"></div>
                    </div>
                </div>

                <div class="swiper-container products_swiper">
                    <div class="swiper-wrapper">
                        <?php $__currentLoopData = $sold_products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="swiper-slide">
                                <?php echo $__env->make('web.pages.components.products.card',['product'=>$row], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
            </div>
        </section>

        <!-- Start section -->
        <section class="partners_sec section">
            <div class="container">
                <h3 class="fw-bold color-secondary mb-5 pb-4 text-center"><?php echo e(__('web.partners')); ?></h3>
                <div class="swiper-container partners_swiper pb-5">
                    <div class="swiper-wrapper">
                        <?php $__currentLoopData = $partners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="swiper-slide">
                            <div class="logo_box">
                                <img src="<?php echo e(asset($row->image)); ?>" class="partnerLogo" alt="">
                            </div>
                        </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                    <div class="swiper-pagination"></div>
                </div>
            </div>
        </section>

    </main>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('web.layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/omaralyomhost/public_html/electric/resources/views/web/pages/home/index.blade.php ENDPATH**/ ?>