<?php $__env->startSection('page_title',__(optional($blogDetail->description)->title)); ?>

<?php $__env->startSection('content'); ?>
	<!-- Banner -->
	<section class="hero-section bg--title">
		<div class="hero-shapes2" style="background:url(<?php echo e(getFile(config('location.breadcrumb.path').'/breadcrumb.png')); ?>) no-repeat center center/cover;">&nbsp;</div>
		<div class="container">
			<div class="hero-breadcrumb">
				<h2 class="title"><?php echo app('translator')->get('Blog Details'); ?></h2>
				<ul class="breadcrumb">
					<li>
						<a href="<?php echo e(route('home')); ?>"><?php echo app('translator')->get('Home'); ?></a>
					</li>
					<li>
						<?php echo app('translator')->get('Blog Details'); ?>
					</li>
				</ul>
			</div>
		</div>
	</section>
	<!-- Banner -->


	<!-- Blog Details -->
	<section class="blog-section pt-100 pb-100">
		<div class="container">
			<div class="row justify-content-between gy-5">
				<div class="col-lg-8">
					<div class="post-details">
						<img src="<?php echo e(getFile(config('location.content.path').(isset($blogDetail->content->contentMedia->description->image) ? optional(optional(optional($blogDetail->content)->contentMedia)->description)->image : ''))); ?>" alt="<?php echo app('translator')->get(optional($blogDetail->description)->title); ?>" class="w-100">
						<div class="d-flex flex-wrrap post-info">
							<div>
								<i class="fas fa-calendar-alt"></i>
								<?php echo app('translator')->get(date('F d, Y',strtotime($blogDetail->created_at)) ); ?>
							</div>
						</div>
						<h4 class="title mt-2"><?php echo app('translator')->get(optional($blogDetail->description)->title); ?></h4>
						<div class="content">
							<p><?php echo __(optional($blogDetail->description)->short_description); ?></p>
						</div>
					</div>
				</div>
				<div class="col-lg-4">
					<div class="ps-xxl-5">
						<div class="sidebar">
							<div class="sidebar-item">
								<h3 class="sidebar-title"><?php echo app('translator')->get('Popular Posts'); ?></h3>

								<ul class="sidebar-posts">
									<?php $__currentLoopData = $latestBlogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $latestBlog): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
									<li>
										<div class="image">
											<a href="<?php echo e(route('blogDetails',$latestBlog)); ?>">
												<img src="<?php echo e(getFile(config('location.content.path').(isset($latestBlog->content->contentMedia->description->image) ? optional(optional(optional($latestBlog->content)->contentMedia)->description)->image : ''))); ?>">
											</a>
										</div>
										<div class="content">
											<a href="<?php echo e(route('blogDetails',$latestBlog)); ?>"><?php echo app('translator')->get(optional($latestBlog->description)->title); ?></a>
											<span><?php echo app('translator')->get(date('d F, Y',strtotime($latestBlog->created_at))); ?></span>
										</div>
									</li>
									<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
								</ul><!-- sidebar-posts -->
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</section>
	<!-- Blog Details -->

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

<?php echo $__env->make('frontend.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\xamp\htdocs\Paysecure-wallet\project\resources\views/frontend/blog-details.blade.php ENDPATH**/ ?>