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

    <main>
            <!--start page-heading-->
            <div class="page-heading">
                <nav aria-label="breadcrumb">
                   <div class="container">
                    <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().'/blog')); ?>"><?php echo e(__('web.blogs')); ?></a></li>
                        <li class="breadcrumb-item active" aria-current="page"><?php echo e(blogname($blog->id)); ?> </li>
                      </ol>
                   </div>
                </nav>
            </div>
            <!--start single-blog-->
            <section class="single-blog">
                <div class="container">
                    <div class="text-heading text-center">
                        <h1><?php echo e(__('web.blogs')); ?></h1>
                        <span><?php echo e(__('web.blogs')); ?></span>
                        <p><?php echo e(__('web.blogsdesc')); ?></p>
                    </div>
                    <div class="row">
                        <div class="col-md-8">
                            <div class="single-blog-inner">
                                <img src="<?php echo e(asset($blog->image)); ?>" class="blog-img">
                                <div class="inner">
                                    <h4><?php echo e(blogname($blog->id)); ?></h4>
                                    <div class="details">
                                        <div class="author">
                                            <img src="<?php echo e(asset($blog->user->photo)); ?>">
                                            <p><?php echo e(blogname($blog->id)); ?></p>
                                        </div>
                                        <div class="date">
                                            <p><i class="far fa-clock mr-1"></i> <?php echo e(date_format($blog->created_at,"Y/m/d")); ?></p>
                                        </div>
                                    </div>
                                    <p class="desc">
                                      <?php echo e(blogdescription($blog->id)); ?>

                                    </p>
                                </div>
                         
                            </div>
                           
                        </div>
                        <div class="col-md-4">
                            <div class="related-news">
                                <h5><?php echo e(__('web.related')); ?></h5>
                                <?php $__currentLoopData = $blogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <a href="<?php echo e(url(getCurrentLocale().'/blog/'.$row->id)); ?>">
                                    <div class="item">
                                        <img src="<?php echo e(asset($row->image)); ?>">
                                        <div class="text">
                                            <h6><?php echo e(blogname($row->id)); ?></h6>
                                            <p>  <?php echo e(substr_replace(blogdescription($row->id),"",100)); ?></p>
                                        </div>
                                    </div>
                                </a>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </div>
                            <div class="contact-card">
                                <h5>Contact Us</h5>
                                <div class="item">
                                    <div class="icon">
                                        <i class="far fa-building"></i>
                                    </div>
                                    <div class="text">
                                        <h6>
                                            <?php echo e(__('web.postal')); ?>:</h6>
                                        <p>
                                           <?php echo e(wbsetting('postal')); ?>

                                        </p>
                                    </div>
                                </div>
                                <div class="item">
                                    <div class="icon">
                                        <i class="fas fa-mobile-alt"></i>
                                    </div>
                                    <div class="text">
                                        <h6>
                                            <?php echo e(__('web.phone')); ?>:</h6>
                                        <p>
                                            <?php echo e(wbsetting('phone')); ?>

                                        </p>
                                    </div>
                                </div>
                                <div class="item">
                                    <div class="icon">
                                        <i class="fas fa-fax"></i>
                                    </div>
                                    <div class="text">
                                        <h6>
                                            <?php echo e(__('web.fax')); ?>:</h6>
                                        <p>
                                             <?php echo e(wbsetting('fax')); ?>

                                        </p>
                                    </div>
                                </div>
                                <div class="item">
                                    <div class="icon">
                                        <i class="far fa-envelope"></i>
                                    </div>
                                    <div class="text">
                                        <h6>
                                            <?php echo e(__('web.email')); ?>:</h6>
                                        <p>
                                             <?php echo e(wbsetting('email')); ?>

                                        </p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </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/omaralyomhost/public_html/alhindi/resources/views/web/pages/blog.blade.php ENDPATH**/ ?>