first
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
$blogs = getBlogs(limit: 8, order: 'desc', paginate: true);
|
||||
?>
|
||||
|
||||
<?php $__env->startSection('content'); ?>
|
||||
<?php echo $__env->make('client.rohini.pages.partials.breadcrumb', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
|
||||
<!--Blog Page One Start-->
|
||||
<section class="blog-page-one">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<!--BLog One Single Start-->
|
||||
<?php $__currentLoopData = $blogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $blog): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<div class="col-xl-4 col-lg-6 col-md-6 wow fadeInLeft" data-wow-delay="100ms">
|
||||
<div class="blog-one__single">
|
||||
<div class="blog-one__img-box">
|
||||
<div class="blog-one__img">
|
||||
<img style="height: 400px; ovject-fit:cover;" src="<?php echo e($blog->image); ?>" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="blog-one__content">
|
||||
|
||||
<div class="blog-one__date">
|
||||
<p><?php echo e(getFormatted(date:$blog->date, format:'d')); ?>
|
||||
|
||||
<br> <span><?php echo e(getFormatted(date:$blog->date, format:'M')); ?></span></p>
|
||||
</div>
|
||||
<ul class="blog-one__meta list-unstyled">
|
||||
<li>
|
||||
<a href="<?php echo e(route('blog.single', $blog->slug)); ?>"><span class="icon-user-icon"></span><?php echo e($blog->author); ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
<h3 class="blog-one__title"><a href="<?php echo e(route('blog.single', $blog->slug)); ?>"><?php echo e($blog->title); ?></a></h3>
|
||||
<p class="blog-one__text"><?php echo e($blog->short_description); ?></p>
|
||||
<a href="<?php echo e(route('blog.single', $blog->slug)); ?>" class="blog-one__btn"><span
|
||||
class="icon-right-arrow"></span>Post Details</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
<!--BLog One Single End-->
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!--Blog Page One End-->
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php echo $__env->make('client.rohini.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\xampp\htdocs\Consultancy-CCMS\resources\views/client/rohini/pages/blog-template.blade.php ENDPATH**/ ?>
|
||||
Reference in New Issue
Block a user