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

  <main>
        <!--start about header-->
        <section class="pg-header team-head">
            <div class="text text-center">
                <h4 class="mb-0"> فريق العمل </h4>
            </div>
        </section>
        <section class="team-pg">
            <div class="container">
                <div class="row">
                    <?php $__currentLoopData = $doctors; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="col-lg-3 col-md-4 col-sm-12 col-xs-12">
                        <div class="card wow flipInY" data-wow-duration="2s">
                            <div class="image-container">
                            <a href="<?php echo e(url('doctor'.'/'.$row->id)); ?>"> <img src="<?php echo e(asset($row->photo)); ?>"></a>
                                 <div class="icons">
                             <?php if(!is_null($row->details->facebook)): ?>
                                    <a href="https://<?php echo e($row->details->facebook); ?>">
                                        <i class="fab fa-facebook-f"></i>
                                    </a>
                                    <?php endif; ?>
                                    <?php if(!is_null($row->details->instagram)): ?>
                                    <a href="https://<?php echo e($row->details->instagram); ?>">
                                        <i class="fab fa-instagram"></i>
                                    </a>
                                    <?php endif; ?>
                                    <?php if(!is_null($row->details->whatsapp)): ?>
                                    <a href="https://<?php echo e($row->details->whatsapp); ?>">
                                        <i class="fab fa-whatsapp"></i>
                                    </a>
                                    <?php endif; ?>
                                    <?php if(!is_null($row->details->twitter)): ?>
                                    <a href="https://<?php echo e($row->details->twitter); ?>">
                                        <i class="fab fa-twitter"></i>
                                    </a>
                                    <?php endif; ?>
                        </div>
                            </div>
                            <div class="card-body text-center">
                                <h5><?php echo e($row->name); ?></h5>
                                <p><?php echo e($row->details->specialty->name); ?></p>
                            </div>
                        </div>
                    </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </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/green_apple/resources/views/web/pages/team.blade.php ENDPATH**/ ?>