

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

<!-- start header =====
        ============ -->
<header class="header header-pages">

    <!-- start top-par -->
    <div class="top-par">
        <div class="main-container">
            <div class="logo">
                <a href="<?php echo e(url('/')); ?>">
                    <img src="<?php echo e(getSetting('logo')); ?>" alt="">
                </a>
            </div>



            <div class="icons-top-par">
                <div class="language">
                    <?php if(app()->getLocale() == 'ar'): ?>
                    <a href="<?php echo e(route('web.lang' , 'en')); ?>">

                        <span> En </span>
                    </a>
                    <?php else: ?>
                    <a href="<?php echo e(route('web.lang' , 'ar')); ?>">

                        <span> عربي </span>
                    </a>
                    <?php endif; ?>
                </div>


                <!-- ----------- -->


                <div class="menu-div">
                    <div class="content" id="times-ican">
                        <a href="#" title="Navigation menu" class="navicon" aria-label="Navigation">
                            <span class="navicon__item"></span>
                            <span class="navicon__item"></span>
                            <span class="navicon__item"></span>
                            <span class="navicon__item"></span>
                        </a>
                    </div>
                </div>



            </div>
        </div>
    </div>
    <!-- end top-par -->



    <!-- start sub-header -->
    <div class="sub-header">
        <div class="sub-slider-header">
            <div class="img-slider" style="background-image: url(<?php echo e(url('web')); ?>/images/bg03.png);"></div>
            <div class="main-container">
                <div class="text-slider-header">
                    <div class="title-text-slider-header">
                        <img src="<?php echo e(url('web')); ?>/images/img.png" alt="">
                        <h2 class="slider-title-fill h42 slider-tr-delay01 medium-title red-color" data-text="<?php echo e(awtTrans('اخر الاخبار')); ?>">
                            <?php echo e(awtTrans('اخر الاخبار')); ?>

                        </h2>
                    </div>

                    <p>
                        <span class="slider-title-fill h42 slider-tr-delay01" data-text="<?php echo e(getSettingLang('about_application')); ?>">
                            <?php echo e(getSettingLang('about_application')); ?> </span>
                    </p>
                </div>

            </div>
        </div>
    </div>
    <!-- +
 sub-header -->



</header>
<!-- end header =====
============== -->


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

    <section class="news mr-section">
        <div class="main-container">
            <div class="title-center">
                <h2> <?php echo e(awtTrans('اخر الاخبار')); ?> </h2>
            </div>


            <div class="main-news-index">
                <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" data-aos="fade-up" data-aos-easing="linear" data-aos-duration="700">
                            <a href="<?php echo e(route('web.post' , $post->slug)); ?>">
                                <div class="img-news-inex">
                                    <img src="<?php echo e($post->photo); ?>" alt="">
                                </div>
                                <div class="text-news-index">
                                    <h4> <?php echo e($post->title); ?></h4>
                                    <p> <?php echo e($post->created_at->format('Y M')); ?> </p>
                                </div>
                            </a>
                        </div>
                    </div>

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

                </div>
            </div>

        </div>
    </section>














</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\ics-back\resources\views/web/posts/index.blade.php ENDPATH**/ ?>