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

     <div class="page-heading">
                <div class="bread">
                    <h4><?php echo e(newname($new->id)); ?></h4>
                    <nav aria-label="breadcrumb">
                        <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="<?php echo e(url(getCurrentLocale().'/')); ?>"><?php echo e(__('web.home')); ?></a></li>
                        <li class="breadcrumb-item"><a href="<?php echo e(url(getCurrentLocale().'/new')); ?>"><?php echo e(__('web.news')); ?></a></li>
                        <li class="breadcrumb-item active" aria-current="page"><?php echo e(__('web.new')); ?></li>
                        </ol>
                    </nav>
                </div>
        </div>  
        <main>
            <!--start single-blog-->   
            <section class="single-blog">
                <div class="container">
                    <div class="row">
                        <div class="col-md-12">
                            <div class="single-blog-inner">
                                <img src="<?php echo e(asset($new->image)); ?>" class="blog-img">
                                <div class="inner">
                                    <div class="details">
                                        <div class="author">
                                            <i class="far fa-user"></i>
                                            <p><?php echo e(newuser($new->id)); ?></p>
                                        </div>
                                        <div class="date">
                                            <p><i class="far fa-clock"></i> <?php echo e(diff($new->created_at)); ?></p>
                                        </div>
                                    </div>
                                    <h4><?php echo e(newname($new->id)); ?></h4>
                                    <p class="desc">
                                       <?php echo e(newdescription($new->id)); ?>

                                        </p>
                                </div>
                         
                            </div>
                        </div>
                        
                    </div>
                </div>   
            </section>
            <!--start blog-sec-->
            <section class="blog-sec"  style=" z-index:1;">
                <div class="container">
                <div class="text-heading">
                    <h3><?php echo e(__('web.newmatual')); ?></h3>
                    <p><?php echo e(__('web.newdesc')); ?></p>
                </div>
                <div class="row">
                    <?php $__currentLoopData = $news; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="col-md-4">
                        <div class="card">
                            <div class="image-content">
                            <img src="<?php echo e(asset($row->image)); ?>">
                            </div>
                            <div class="card-body">
                            <span class="date"><?php echo e(diff($row->created_at)); ?> </span>
                            <span class="badge"><?php echo e(__('web.new')); ?></span>
                            <h5><?php echo e(newname($row->id)); ?></h5>
                            <p>
                           <?php echo e(mb_substr(newdescription($row->id),0,100,"UTF-8")); ?>

                    </p>
                    <a href="<?php echo e(url(getCurrentLocale().'/new/'.$row->id)); ?>">
                      <i class="fas fa-arrow-right"></i> <?php echo e(__('web.readmore')); ?>

                    </a>
                            </div>
                        </div>
                    </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
                </div>
                <img src="<?php echo e(url('')); ?>/assets/web/images/nawal-pattern-2.png" class="logo-pattern-r">
            </section>
        </main>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('web.layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/nawalgym/public_html/resources/views/web/pages/new.blade.php ENDPATH**/ ?>