

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

	<?php if($ps->slider == 1): ?>

		<?php if(count($sliders)): ?>

			<?php echo $__env->make('includes.slider-style', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
		<?php endif; ?>
	<?php endif; ?>

	<?php if($ps->slider == 1): ?>
		<!-- Hero Area Start -->
		<section class="hero-area">
			<div class="container">
				<div class="row">
					<div class="col-lg-3 decrease-padding">
						<div class="featured-link-box">
							<h4 class="title">
									<?php echo e($langg->lang831); ?>

							</h4>
							<ul class="link-list">
								<?php $__currentLoopData = DB::table('featured_links')->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
								<li>
									<a href="<?php echo e($data->link); ?>" target="_blank"><img class="lazy" data-src="<?php echo e($data->photo ? asset('assets/images/featuredlink/'.$data->photo) :  asset('assets/images/noimage.png')); ?>" alt=""><?php echo e($data->name); ?></a>
								</li>
								<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
							</ul>
						</div>
					</div>
					<div class="col-lg-9 decrease-padding">
							<?php if($ps->slider == 1): ?>
							<?php if(count($sliders)): ?>
								<div class="hero-area-slider">
									<div class="slide-progress"></div>
									<div class="intro-carousel">
										<?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
											<div class="intro-content <?php echo e($data->position); ?> lazy" data-src="<?php echo e(asset('assets/images/sliders/'.$data->photo)); ?>" >
												<div class="slider-content">
													<!-- layer 1 -->
													<div class="layer-1">
														<h4 style="font-size: <?php echo e($data->subtitle_size); ?>px; color: <?php echo e($data->subtitle_color); ?>" class="subtitle subtitle<?php echo e($data->id); ?>" data-animation="animated <?php echo e($data->subtitle_anime); ?>"><?php echo e($data->subtitle_text); ?></h4>
														<h2 style="font-size: <?php echo e($data->title_size); ?>px; color: <?php echo e($data->title_color); ?>" class="title title<?php echo e($data->id); ?>" data-animation="animated <?php echo e($data->title_anime); ?>"><?php echo e($data->title_text); ?></h2>
													</div>
													<!-- layer 2 -->
													<div class="layer-2">
														<p style="font-size: <?php echo e($data->details_size); ?>px; color: <?php echo e($data->details_color); ?>"  class="text text<?php echo e($data->id); ?>" data-animation="animated <?php echo e($data->details_anime); ?>"><?php echo e($data->details_text); ?></p>
													</div>
													<!-- layer 3 -->
													<div class="layer-3">
														<a href="<?php echo e($data->link); ?>" target="_blank" class="mybtn1"><span><?php echo e($langg->lang25); ?> <i class="fas fa-chevron-right"></i></span></a>
													</div>
												</div>
											</div>
										<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
									</div>
								</div>
							<?php endif; ?>
						<?php endif; ?>
					</div>
				</div>	
			</div>
		</section>
		<!-- Hero Area End -->
	<?php endif; ?>


	<?php if($ps->featured_category == 1): ?>

	
	<section class="slider_bottom_banner">
		<div class="container">
		<?php $__currentLoopData = DB::table('featured_banners')->get()->chunk(4); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data1): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
			<div class="row">
				<?php $__currentLoopData = $data1; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
				<div class="col-lg-3 col-6">
				<a href="<?php echo e($data->link); ?>" target="_blank" class="banner-effect">
					<img src="<?php echo e($data->photo ? asset('assets/images/featuredbanner/'.$data->photo) : asset('assets/images/noimage.png')); ?>" alt="">
				</a>
				</div>
				<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
			</div>
			<?php if(!$loop->last): ?>
			<br>
			<?php endif; ?>
		<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>		
	
			</div>
		</div>
	</section>
	

	<?php endif; ?>




<?php if($ps->service == 1): ?>


<section class="info-area">
		<div class="container">
	
			<?php $__currentLoopData = $services->chunk(4); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $chunk): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
	
			<div class="row">
	
				<div class="col-lg-12 p-0">
					<div class="info-big-box">
						<div class="row">
							<?php $__currentLoopData = $chunk; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $service): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
							<div class="col-6 col-xl-3 p-0">
								<div class="info-box">
									<div class="icon">
										<img src="<?php echo e(asset('assets/images/services/'.$service->photo)); ?>">
									</div>
									<div class="info">
										<div class="details">
											<h4 class="title"><?php echo e($service->title); ?></h4>
											<p class="text">
												<?php echo $service->details; ?>

											</p>
										</div>
									</div>
								</div>
							</div>
							<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
						</div>
					</div>
				</div>
	
			</div>
	
			<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
	
		</div>
	</section>
	


<?php endif; ?>	



	<?php if($ps->featured == 1): ?>
		<!-- Trending Item Area Start -->
		<section  class="trending">
			<div class="container">
				<div class="row">
					<div class="col-lg-12 remove-padding">
						<div class="section-top">
							<h2 class="section-title">
								<?php echo e($langg->lang26); ?>

							</h2>
							
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-lg-12 remove-padding">
						<div class="trending-item-slider">
							<?php $__currentLoopData = $feature_products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $prod): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
								<?php echo $__env->make('includes.product.slider-product', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
							<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
						</div>
					</div>

				</div>
			</div>
		</section>
		<!-- Tranding Item Area End -->
	<?php endif; ?>

	<?php if($ps->small_banner == 1): ?>
		<!-- Banner Area One Start -->
		<section class="banner-section">
			<div class="container">
				<?php $__currentLoopData = $top_small_banners->chunk(2); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $chunk): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
					<div class="row">
						<?php $__currentLoopData = $chunk; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $img): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
							<div class="col-lg-6 remove-padding">
								<div class="left">
									<a class="banner-effect" href="<?php echo e($img->link); ?>" target="_blank">
										<img src="<?php echo e(asset('assets/images/banners/'.$img->photo)); ?>" alt="">
									</a>
								</div>
							</div>
						<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
					</div>
				<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
			</div>
		</section>
		<!-- Banner Area One Start -->
	<?php endif; ?>

	<section id="extraData">
		<div class="text-center">
		<img class="<?php echo e($gs->is_loader == 1 ? '' : 'd-none'); ?>" src="<?php echo e(asset('assets/images/'.$gs->loader)); ?>">
		</div>
	</section>


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

<?php $__env->startSection('scripts'); ?>
<script type="text/javascript" src="<?php echo e(asset('assets/front/js/lazy.min.js')); ?>"></script>
<script type="text/javascript" src="<?php echo e(asset('assets/front/js/lazy.plugin.js')); ?>"></script>

	<script>
        	function lazy (){
			$(".lazy").Lazy({
				scrollDirection: 'vertical',
				effect: 'fadeIn',
				visibleOnly: true,
				onError: function(element) {
					console.log('error loading ' + element.data('src'));
				}
			});
		}

        $(window).on('load',function() {

            setTimeout(function(){
                $('#extraData').load('<?php echo e(route('front.extraIndex')); ?>');

            }, 500);

			 lazy();
        });


	</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.front', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/u834843299/domains/agreeme.in/public_html/demo/ecomsingle/project/resources/views/front/index.blade.php ENDPATH**/ ?>