<?php $__env->startSection('meta_title'); ?>
  <?php echo app('translator')->get('front.event'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>






 <!-- Page Title -->
        <div class="page-title-area" style="background-image: url(<?php echo e(render_image_path(get_banners('Events')?->image)); ?>)">
            <div class="d-table">
                <div class="d-table-cell">
                    <div class="container">
                        <div class="title-content">
                            <h2>
                                <?php echo app('translator')->get('front.event'); ?>

                            </h2>
                            
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- End Page Title -->
      <section class="blog-area two pt-100 pb-70">
            <div class="container">

                <div class="row justify-content-center">

                    <?php $__currentLoopData = $posts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                    <div class="col-sm-6 col-lg-4">
                        <div class="blog-item">
                            <div class="top">
                                <img src="<?php echo e(render_image_path($item->image)); ?>" alt="<?php echo e(render_post_title($item)); ?>">
                            </div>
                            <div class="bottom">
                                <ul>

                                    <li>
                                        <i class="bx bx-calendar"></i>
                                     <?php echo e(\Carbon\Carbon::parse($item->date)->format('d F, Y')); ?>

                                    </li>
                                </ul>
                                <h3>
                                    <a href="<?php echo e(render_route('event.show',$item->id)); ?>">
                                        <?php echo e(render_post_title($item)); ?>

                                    </a>
                                </h3>
                                <p>
                                    <?php echo strip_tags(str()->words(render_post_description($item),20   )); ?>



                                </p>
                                <a class="blog-btn" href="<?php echo e(render_route('event.show',$item->id)); ?>">

                                    <?php echo app('translator')->get('front.more'); ?>
                                </a>
                            </div>
                        </div>
                    </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>




                </div>
            </div>
        </section>
        <!--=== End Blog ===-->

    <?php $__env->stopSection(); ?>

<?php echo $__env->make('website.layout.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/wssupport/app.mami/resources/views/website/event/index.blade.php ENDPATH**/ ?>