

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

<!-- start heeder -->
<?php echo $__env->make('web.layouts.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!-- end heeder -->


<!-- start app -->
<main id="app">



    <!-- start news  -->
    <section class="news">
        <div class="main-container">
            <div class="title-start">
                <h4> <?php echo e(awtTrans('REACH UPDATES')); ?> <span></span></h4>
                <h2> <?php echo e(awtTrans('Last News')); ?> </h2>
            </div>
            <div class="row">

                <?php $__currentLoopData = $posts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    
                <div class="col-lg-4 col-md-6">
                    <div class="sub-news-index">
                        <div class="img-news-index">
                            <img src="<?php echo e($post->photo); ?>" alt="">
                        </div>
                        <div class="text-news-index">
                            <h4> <img src="<?php echo e(url('web')); ?>/images/share.png" alt=""> <?php echo e($post->created_at->format('M d, Y')); ?></h4>
                            <h2> <?php echo e($post->title); ?></h2>
                            <p> <?php echo e($post->desc); ?> </p>
                            <div class="text-center">
                                <a href="<?php echo e(route('web.post' , $post->slug)); ?>" class="ctm-btn"> <span> <?php echo e(awtTrans('Read Post')); ?> </span></a>
                            </div>
                        </div>
                    </div>
                </div>

                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

            </div>
        </div>

    </section>
    <!-- end news  -->









</main>
<!-- end app -->

<?php $__env->stopSection(); ?>
<?php echo $__env->make('web.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\jaadara\Projects from 10-2022\betan-back\resources\views/web/posts/index.blade.php ENDPATH**/ ?>