?
<!----------------------------------------- section-listing------------------------------------>
<section class="common-header">
<img class="img-fluid" src="../userassets/bkg.jpg">
<div class="header-title">
<div class="container">
<h2>Media</h2>
</div>
</div>
</section>
<div class="homeblog page-inside">
<div class="container">
<div class="row g-4 ">
<?php $__currentLoopData = $posts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="col-xl-4 col-md-6 mb-3 fade-in">
<div class="blog-card card border-0 h-100">
<a href="<?php echo e(url('post')); ?>/<?php echo e($post->slug); ?>">
<?php if(!empty($post->image1)): ?>
<img class="img-fluid" title='<?php echo e($post->title); ?>' alt='<?php echo e($post->title); ?>'
src="<?php echo e(url('storage/product')); ?>/<?php echo e($post->image1); ?>">
<?php else: ?>
<img src="<?php echo e(url('storage/product')); ?>/default-blogpost.jpg" class="img-fluid">
<?php endif; ?>
</a>
<div class="card-body">
<!-- <div class="list-badge now-open"><?php echo e($post->key); ?></div> -->
<div class="blog-title ">
<h3 class="card-title"> <a class="card-title" href="<?php echo e(url('post')); ?>/<?php echo e($post->slug); ?>"> <?php echo e($post->title); ?> </a></h3>
</div>
<!--
<div class="post-link mt-4">
<a class="blog-view"
href="<?php echo e(url('post')); ?>/<?php echo e($post->slug); ?>">View<i class="class="feather icon-feather-arrow-right"></i></a>
</div> -->
</div>
</div></div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div> </div>
<div class="col-xl-3 col-md-6 mb-3 sidebar-cate fade-in mt-lg-5 mt-md-5">
<div class="cate-bubbles">
<?php if(!empty($getInsideCategory)): ?>
<ul class="mt-0">
<h4 class="mb-3">Search by category</h4>
<?php $__currentLoopData = $getInsideCategory; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($list->parentid != 0): ?>
<li><a href="<?php echo e(url('/category')); ?>/<?php echo e($list->slug); ?>" title='<?php echo e($list->title); ?>'><?php echo e($list->title); ?></a></li>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
<?php else: ?>
<ul>
<?php $__currentLoopData = $CategoryBeta; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li><a href="<?php echo e(url('/category')); ?>/<?php echo e($list->slug); ?>" title='<?php echo e($list->title); ?>'><?php echo e($list->title); ?></a></li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
<?php endif; ?>
</div>
</div>
</div>
<div class='container'>
<div class="d-flex justify-content-center">
<?php echo e($posts->links()); ?>
</div>
</div>
<!-- sidebar -->
<!-- <div class="col-lg-4 col-sm-12 sliderbanner ">
<div class="row">
<div class="col-lg-12 col-md-6 col-sm-12 mb-4 ">
<?php $__currentLoopData = $insideBanner; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $inBanner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<a target='_blank' href='<?php echo e($inBanner->ctaurl ?? ''); ?>'>
<img class="img-fluid" src="<?php echo e(url('storage/banner')); ?>/<?php echo e($inBanner->image ?? ''); ?>" alt="">
</a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div> -->
<!-- sidebar -->
</div>
<?php /**PATH /home/sanghavirealty/public_html/resources/views/blog/category-grid.blade.php ENDPATH**/ ?>