File: /home/armgroup/libs/storage/framework/views/678b103b5b4d5a08d01347790b8861f79774d52c.php
<?php $__env->startSection('content'); ?>
<div class="container-fluid body-content ps-0 pe-0">
<div class="c-navi-categories__overlay js-navi-overlay"></div>
<?php if(count($sliderProducts)): ?>
<section class="container-fluid slider p-0">
<div class="container p-0">
<div class="row">
<div class="col-12 p-0 slide-col position-relative">
<div class="owl-carousel owl-theme owl-slider">
<?php $__currentLoopData = $sliderProducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $sliderProduct): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<a class="item img-pro-banner position-relative" href="<?php echo e(route('products.show', $sliderProduct->slug)); ?>">
<video class="video-item w-100" muted loop autoplay>
<source src="<?php echo e(asset($sliderProduct->slider_video)); ?>" type="video/mp4">
</video>
<div class="owl-slide-text">
<div class="row">
<div class="col-12 text-center">
<div class="main-img-slide">
<div class="wrp-img">
<img src="<?php echo e(asset($sliderProduct->image)); ?>" class="img-fluid" alt="<?php echo e($sliderProduct->name); ?>" />
</div>
</div>
</div>
</div>
<div class="row align-items-center">
<div class="col-lg-5 col-md-6 col-12">
<ul class="p-0">
<?php $__currentLoopData = preg_split('/\r\n|\r|\n/', $sliderProduct->slider_text); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $text): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li class="owl-slide-animated main-text-slider main-tilte d-block w-100">
<?php echo e($text); ?>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
<div class="col-lg-7 col-md-6 col-12">
<span class="more-link lnk-slide2">
مشاهده جزئیات ...
</span>
</div>
</div>
</div>
</a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
</div>
</section>
<?php endif; ?>
<?php if(isset($coming_soon->activeItems[0]->image)): ?>
<section class="container-fluid main-category pt-5 pb-5">
<div class="container p-0">
<div class="row">
<div class="col-12 text-center">
<img src="<?php echo e(asset($coming_soon->activeItems[0]->image)); ?>" class="img-fluid" alt="<?php echo e($coming_soon->activeItems[0]->title); ?>" />
</div>
</div>
<div class="row mt-5">
<div class="col-xl-11 col-lg-12 mx-auto col-12 p-0">
<div class="owl-carousel owl-theme owl-main-cat">
<?php $__currentLoopData = $coming_soon->activeItems->skip(1); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="item">
<a href="<?php echo e($item->url); ?>" class="d-block">
<div class="main-img-cat">
<img src="<?php echo e(asset($item->image)); ?>" class="img-fluid" alt="<?php echo e($item->title); ?>" />
</div>
<div class="cat-name text-center mt-3"><?php echo e($item->title); ?></div>
</a>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
</div>
</section>
<?php endif; ?>
<?php if($top_of_latest_products): ?>
<section class="container-fluid banner three-banner pt-3 pb-3">
<div class="container p-0">
<div class="row">
<div class="col-xl-11 col-lg-12 mx-auto col-12 p-0">
<div class="row row-banner">
<?php $__currentLoopData = $top_of_latest_products->activeItems; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="col-lg-4 col-md-4 col-12 pr-padding">
<a href="<?php echo e($item->url); ?>" class="img-box img-pro-banner">
<img src="<?php echo e(asset($item->image)); ?>" alt="<?php echo e($item->title); ?>" class="img-fluid w-100" />
</a>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
</div>
</section>
<?php endif; ?>
<?php if(count($latestProducts)): ?>
<section class="container-fluid categori-section pt-5 pb-5 mt-md-4 mb-md-4">
<div class="container p-0">
<div class="row">
<div class="col-xl-11 col-lg-12 mx-auto col-12">
<div class="row align-items-center">
<div class="col-md-8 ps-0">
<div class="main-title-section"><?php echo e(settings('index-products-title')); ?></div>
<div class="sub-title-section"><?php echo e(settings('index-products-description')); ?></div>
</div>
<div class="col-md-4 pe-0 text-end">
<a href="<?php echo e(route('search.index')); ?>" class="link-more"> مشاهده همه محصولات </a>
</div>
</div>
</div>
</div>
<div class="row mt-3">
<div class="col-xl-11 col-lg-12 mx-auto col-12 prl-xs-0">
<div class="owl-carousel owl-theme owl-pro">
<?php $__currentLoopData = $latestProducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $latestProduct): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="item item-pro position-relative">
<div class="quick-btn">
<ul class="list-menu ps-0">
<?php
if (! isset($_instance)) {
$html = \Livewire\Livewire::mount('frontend.search.add-to-favorite', ['product' => $latestProduct])->html();
} elseif ($_instance->childHasBeenRendered('f-'.e($latestProduct->id).'')) {
$componentId = $_instance->getRenderedChildComponentId('f-'.e($latestProduct->id).'');
$componentTag = $_instance->getRenderedChildComponentTagName('f-'.e($latestProduct->id).'');
$html = \Livewire\Livewire::dummyMount($componentId, $componentTag);
$_instance->preserveRenderedChild('f-'.e($latestProduct->id).'');
} else {
$response = \Livewire\Livewire::mount('frontend.search.add-to-favorite', ['product' => $latestProduct]);
$html = $response->html();
$_instance->logRenderedChild('f-'.e($latestProduct->id).'', $response->id(), \Livewire\Livewire::getRootElementTagName($html));
}
echo $html;
?>
</ul>
</div>
<div class="item-img">
<div class="row">
<div class="col-12 mt-3">
<div class="img-pro position-relative">
<a href="<?php echo e(route('products.show', $latestProduct->slug)); ?>" target="_blank">
<img src="<?php echo e(asset($latestProduct->image)); ?>" class="img-fluid" alt="<?php echo e($latestProduct->name); ?>" />
</a>
</div>
</div>
</div>
</div>
<div class="row name-col">
<div class="col-12 pro-name-special position-relative">
<a class="d-block pro-name" href="<?php echo e(route('products.show', $latestProduct->slug)); ?>">
<h3><?php echo e($latestProduct->name); ?></h3>
</a>
</div>
</div>
<?php if($latestProduct->stock && $latestProduct->price): ?>
<div class="row cost-col">
<div class="col-12 text-center mb-2 mt-2">
<?php if($latestProduct->special_mask): ?>
<span class="old-cost"><?php echo e(number_format($latestProduct->price)); ?></span>
<?php endif; ?>
<span class="cost-total"><?php echo e(number_format($latestProduct->special_mask ?: $latestProduct->price)); ?></span>
<span class="unit">تومان</span>
</div>
</div>
<?php
if (! isset($_instance)) {
$html = \Livewire\Livewire::mount('frontend.search.add-to-cart', ['product' => $latestProduct])->html();
} elseif ($_instance->childHasBeenRendered('c-'.e($latestProduct->id).'')) {
$componentId = $_instance->getRenderedChildComponentId('c-'.e($latestProduct->id).'');
$componentTag = $_instance->getRenderedChildComponentTagName('c-'.e($latestProduct->id).'');
$html = \Livewire\Livewire::dummyMount($componentId, $componentTag);
$_instance->preserveRenderedChild('c-'.e($latestProduct->id).'');
} else {
$response = \Livewire\Livewire::mount('frontend.search.add-to-cart', ['product' => $latestProduct]);
$html = $response->html();
$_instance->logRenderedChild('c-'.e($latestProduct->id).'', $response->id(), \Livewire\Livewire::getRootElementTagName($html));
}
echo $html;
?>
<?php else: ?>
<div class="row cost-col">
<div class="col-12 text-center mb-2 mt-2">
<span class="unit">ناموجود</span>
</div>
</div>
<?php endif; ?>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
</div>
</section>
<?php endif; ?>
<?php if($why_us): ?>
<section class="container-fluid msc-industry__wrapper msc-industry__content p-0">
<h2 class="main-title-section"><?php echo e($why_us->name); ?></h2>
<div class="d-block position-relative">
<div id="msc-industry__bg-wrapper" class="msc-industry__bg-wrapper">
<?php $__currentLoopData = $why_us->activeItems; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<img src="<?php echo e(asset($item->image)); ?>"
class="msc-industry__bg <?php echo e($loop->first ? 'msc-industry__bg--active' : ''); ?>"
data-id="<?php echo e($loop->iteration); ?>"
alt="<?php echo e($item->title); ?>" />
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<ul class="msc-industry__list">
<?php $__currentLoopData = $why_us->activeItems; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li class="msc-industry__item" data-id="<?php echo e($loop->iteration); ?>">
<img src="<?php echo e(asset($item->image)); ?>"
class="msc-industry__image visuallyhidden"
alt="<?php echo e($item->title); ?>"
data-id="<?php echo e($loop->iteration); ?>" />
<a class="msc-industry__item-card" href="<?php echo e($item->url); ?>">
<div class="msc-industry__title">
<span><?php echo e($item->title); ?></span>
</div>
<div class="msc-industry__nav">
<div class="msc-industry__nav-list">
<div class="msc-industry__nav-item">
<div class="msc-industry__nav-link">
<span class="name"><?php echo e($item->description); ?></span>
</div>
</div>
</div>
</div>
</a>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
</section>
<?php endif; ?>
<?php if(count($articles)): ?>
<section class="container-fluid news-section pt-5 pb-5 mt-md-5 mb-md-4">
<div class="container p-0">
<div class="row">
<div class="col-xl-11 col-lg-12 mx-auto col-12">
<div class="row align-items-center">
<div class="col-md-8 ps-0">
<div class="main-title-section"><?php echo e(settings('articles-title')); ?></div>
<div class="sub-title-section"><?php echo e(settings('articles-description')); ?></div>
</div>
<div class="col-md-4 pe-0 text-end">
<a href="<?php echo e(route('articles.index')); ?>" class="link-more">
مشاهده همه آرشیو
<span class="img-slice icon-more ms-1"></span>
</a>
</div>
</div>
</div>
</div>
<div class="row mt-5">
<div class="col-xl-11 col-lg-12 mx-auto col-12 prl-xs-0">
<div class="owl-carousel owl-theme owl-news">
<?php $__currentLoopData = $articles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $article): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="item position-relative">
<a class="item-img position-relative" href="<?php echo e(route('articles.show', $article->slug)); ?>">
<div class="d-block img-special">
<img src="<?php echo e(asset($article->image)); ?>" alt="<?php echo e($article->title); ?>" />
</div>
<div class="d-block p-3">
<div class="d-flex flex-top">
<div class="article-cat"><?php echo e($article->categories?->first()?->name); ?></div>
<div class="date-article"><?php echo e(jdate($article->created_at)->format('d %B Y')); ?></div>
</div>
<div class="title-blog"><?php echo e($article->title); ?></div>
<div class="short-desc-blog"><?php echo e($article->description); ?></div>
</div>
</a>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
</div>
</section>
<?php endif; ?>
<?php if($top_of_footer): ?>
<section class="container-fluid about-company-top mb-5 mt-md-3">
<div class="container">
<div class="row send-section mt-3">
<div class="col-xl-11 col-lg-11 mx-auto col-12 p-0">
<div class="owl-carousel owl-theme owl-send">
<?php $__currentLoopData = $top_of_footer->activeItems; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="item">
<a class="thumbnail thum-send" href="<?php echo e($item->url); ?>">
<div class="icon-send">
<i class="img-send">
<img src="<?php echo e(asset($item->image)); ?>" alt="<?php echo e($item->title); ?>" />
</i>
</div>
<div class="title-send d-block"><?php echo e($item->title); ?></div>
<div class="desc-send"><?php echo e($item->description); ?></div>
</a>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
</div>
</section>
<?php endif; ?>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/technova/technovar/resources/views/frontend/index.blade.php ENDPATH**/ ?>