This commit is contained in:
2025-12-28 12:16:05 +05:45
commit 7c46ec6731
3358 changed files with 467149 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
<?php if($page->children->count() > 7): ?>
<?php
$blogpage = $page->children[7];
?>
<!--Blog One Start-->
<?php
$blogs = getBlogs(limit: 3, order: 'desc', paginate: true);
?>
<section class="blog-one section-bg pt-10 pb-10">
<div class="container">
<div class="section-title text-center">
<div class="section-title__tagline-box"> <span
class="section-title__tagline"><?php echo e($blogpage->title); ?></span> </div>
<h2 class="section-title__title"><?php echo implode(' ', array_slice(explode(' ', $blogpage->short_description), 0, 3)) .
'<br>' .
implode(' ', array_slice(explode(' ', $blogpage->short_description), 3)); ?></h2>
</div>
<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 class="blog-style1" src="<?php echo e($blog->image); ?>"
alt=""> </div>
</div>
<div class="blog-one__content">
<ul class="blog-one__meta list-unstyled">
<li> <a href="<?php echo e(route('blog.single', $blog->slug)); ?>"><span
class="icon-calendar"></span><?php echo e(getFormatted(date: $blog->date, format: 'd M, Y')); ?></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(str($blog->short_description)->limit(170)); ?></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 One End-->
<?php endif; ?>
<styLe>
.blog-style1 {
height: 300PX;
object-fit: cover;
}
</styLe>
<?php /**PATH D:\installed\xampp\htdocs\bib\Consultancy-CCMS\resources\views/client/rohini/pages/partials/blog.blade.php ENDPATH**/ ?>