

<?php $__env->startPush('css'); ?>

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

<?php $__env->startSection('content'); ?>
	<!-- Banner -->
	<section class="banner-section bg--gradient overflow-hidden position-relative border-bottom">
		<div class="hero-bg bg_img" data-img="<?php echo e(asset('assets/images/'.$gs->breadcumb_banner)); ?>"></div>
		<div class="container">
			<div class="hero-text">
				<h2 class="hero-text-title"><?php echo app('translator')->get('Latest News & Tips'); ?></h2>
				<ul class="breadcrumb">
					<li>
						<a href="<?php echo e(route('front.index')); ?>"><?php echo app('translator')->get('Home'); ?></a>
					</li>
					<li>
						<?php echo app('translator')->get('News & Tips'); ?>
					</li>
				</ul>
			</div>
		</div>
		</div>
	</section>
	<!-- Banner -->


	<!-- Blog Section -->
	<section class="blog-section overflow-hidden pb-100 pt-100">
		<div class="container">
			<div class="row g-4 g-lg-3 g-xl-4 justify-content-center">
				<?php if(count($blogs) == 0): ?>
					<div class="col-12 text-center">
							<h3 class="m-0"><?php echo e(__('No Blog Found')); ?></h3>
					</div>
				<?php else: ?>
					<?php $__currentLoopData = $blogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
						<div class="col-lg-4 col-md-6 col-sm-10">
							<div class="blog__item">
								<a href="<?php echo e(route('blog.details',$data->slug)); ?>" class="blog-link">&nbsp;</a>
								<div class="blog__item-img">
									<img src="<?php echo e(asset('assets/images/'.$data->photo)); ?>"" alt="blog">
									<span class="date">
										<span><?php echo e(Carbon\Carbon::parse($data->created_at)->format('M')); ?></span>
										<span><?php echo e(Carbon\Carbon::parse($data->created_at)->format('d')); ?></span>
									</span>
								</div>
								<div class="blog__item-cont">
									<h5 class="blog__item-cont-title line--2">
										<?php echo e(Str::limit($data->title,30)); ?>

									</h5>
									<p class="line--3">
										<?php echo e(Str::limit($data->details,100)); ?>

									</p>
									<div class="blog__author">
										<div class="author">
											<img src="<?php echo e(asset('assets/images/'.getAdmin()->photo)); ?>" alt="blog">
											<h6><?php echo app('translator')->get('Admin'); ?></h6>
										</div>
										<span class="read--more"><?php echo app('translator')->get('Read More'); ?></span>
									</div>
								</div>
							</div>
						</div>
					<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
				<?php endif; ?>
			</div>
		</div>
	</section>
	<!-- Blog Section -->

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

<?php $__env->startPush('js'); ?>

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

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