<?php $__env->startSection('content'); ?>

<?php

    $blogContent = getContent('blog.content', true);
?>

<section class="blog py-60">
    <div class="container">
        <div class="row">
            <div class="col-lg-12">
                <div class="section-heading">
                    <h2 class="section-heading__title"> <?php echo e(__(@$blogContent->data_values->heading)); ?></h2>
                    <p class="section-heading__desc"> <?php echo e(__(@$blogContent->data_values->sub_heading)); ?> </p>
                </div>
            </div>
        </div>
        <div class="row gy-4 justify-content-center">
            <?php $__empty_1 = true; $__currentLoopData = $blogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $blog): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
            <div class="col-lg-4 col-md-6">
                <div class="blog-item bg-img" style="background-image: url(assets/images/thumbs/blog-bg.png);">
                    <div class="blog-item__thumb">
                        <a href="<?php echo e(route('blog.details', [slug($blog->data_values->title), $blog->id])); ?>""
                            class="blog-item__thumb-link">
                            <img src="<?php echo e(getImage('assets/images/frontend/blog/thumb_' . @$blog->data_values->image, '400x320')); ?>"
                                alt="">
                        </a>

                        <div class="blog-item__date"><?php echo e(showDateTime($blog->created_at, 'd')); ?> <span
                                class="text"><?php echo e(showDateTime($blog->created_at, 'M')); ?></span></div>
                    </div>
                    <div class="blog-item__content">
                        <h4 class="blog-item__title"><a
                                href="<?php echo e(route('blog.details', [slug($blog->data_values->title), $blog->id])); ?>"
                                class="blog-item__title-link"><?php echo e(__($blog->data_values->title)); ?></a></h4>

                        <p class="blog-item__desc">
                            <?php echo app('translator')->get(strLimit(strip_tags(@$blog->data_values->description), 100)); ?>
                        </p>
                        <ul class="text-list inline">
                            <li class="text-list__item"> <span class="icon"><i class="fas fa-user"></i></span>
                                <?php echo app('translator')->get(' By Admin'); ?></li>
                            <li class="text-list__item"> <span class="icon"><i
                                        class="fas fa-calendar-check"></i></span>
                                <?php echo e(showDateTime($blog->created_at, 'Y M d')); ?></li>
                        </ul>
                    </div>
                </div>
            </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>

            <?php endif; ?>

        </div>

       <?php echo e($blogs->links()); ?>



    </div>
</section>

    <?php if($sections != null): ?>
        <?php $__currentLoopData = json_decode($sections); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $sec): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php echo $__env->make($activeTemplate . 'sections.' . $sec, \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    <?php endif; ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make($activeTemplate . 'layouts.frontend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\xampp\htdocs\updates\hyiplab\3.2\Files\core\resources\views/templates/red_hyip/blogs.blade.php ENDPATH**/ ?>