<?php
    $blogs = getContent('blog.element',false,3);
    $blogContent = getContent('blog.content',true);
?>

<!-- blog-section start -->
<section class="blog-section pt-150 pb-150">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-lg-6">
                <div class="section-header text-center">
                    <h2 class="section__title"><?php echo e(__(@$blogContent->data_values->heading)); ?></h2>
                    <div class="header__divider">
                        <span class="left-dot"></span>
                        <span class="right-dot"></span>
                    </div>
                    <p><?php echo e(__(@$blogContent->data_values->sub_heading)); ?></p>
                </div><!-- section-header end -->
            </div>
        </div>

        <div class="row mb-none-30 justify-content-center">

            <?php $__currentLoopData = $blogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k=> $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="col-lg-4 col-md-6 mb-30">
                <div class="post-item">
                    <div class="post-item__thumb"><img src="<?php echo e(getImage('assets/images/frontend/blog/thumb_'.@$data->data_values->image)); ?>" alt="image"></div>
                    <div class="post-item__content">
                        <h3 class="post__title text-shadow">
                            <a href="<?php echo e(route('blog.details',[slug($data->data_values->title),$data->id])); ?>">
                                <?php echo e(__(@$data->data_values->title)); ?>

                            </a>
                        </h3>

                        <p><?php
                            echo strLimit(strip_tags(@$data->data_values->description),180);
                        ?></p>
                        <a href="<?php echo e(route('blog.details',[slug($data->data_values->title),$data->id])); ?>" class="btn btn-primary btn-small mt-4"><?php echo e(trans('Read More')); ?></a>
                    </div>
                </div><!-- post-item end -->
            </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

        </div>
    </div>
</section>
<!-- blog-section end -->
<?php /**PATH /home/yesuntec/public_html/core/resources/views/templates/neo_dark/sections/blog.blade.php ENDPATH**/ ?>