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

<?php $__env->startSection('content'); ?>
  
<section id="page-title background-dark">
    <div class="container">
    <div class="page-title">
    <div data-animate="fadeIn">
    <h1 class="text-white"><?php echo e($work->title_ar); ?></h1>
    </div>
    <div class="portfolio-attributes style1">
    <div class="attribute" data-animate="fadeInUp" data-animate-delay="1000">
    <strong>العميل:</strong><?php echo e($work->client); ?></div>
    <div class="attribute" data-animate="fadeInUp" data-animate-delay="1200"><strong>Date:</strong>
        <?php echo e($work->date); ?></div>
    <?php if($work->category): ?>
    <div class="attribute" data-animate="fadeInUp" data-animate-delay="1400">
        <strong>الخدمة:</strong><?php echo e($work->category->title_ar); ?></div> 
    <?php endif; ?>
    </div>
    <div class="portfolio-share" data-animate="fadeIn" data-animate-delay="1600">
    <h4 class="text-white">شارك العمل</h4>
    <div class="align-center">
    <a class="btn btn-xs btn-slide btn-light"href="https://www.facebook.com/sharer/sharer.php?u=<?php echo e(url('/')); ?>/work/<?php echo e($work->id); ?>&display=popup" target="_blank">
    <i class="fab fa-facebook-f"></i>
    <span>Facebook</span>
    </a>
    <a class="btn btn-xs btn-slide btn-light" href="https://twitter.com/intent/tweet?url=<?php echo e(url('/')); ?>/work/<?php echo e($work->id); ?>" target="_blank" data-width="100">
    <i class="fab fa-twitter"></i>
    <span>Twitter</span>
    </a> 
    </div>
    </div>
    </div>
    </div>
    </section>
    
    
    <section id="page-content background-dark" class="p-b-0">
    <div class="container">
    <div class="grid-layout grid-2-columns" data-item="grid-item" data-margin="30" data-lightbox="gallery">
    <div class="grid-item large-width">
    <a title="Saiba Chair" data-lightbox="gallery-image" href="<?php echo e(asset('storage/works/' . ($work->image ?? ''))); ?>">
    <img src="<?php echo e(asset('storage/works/' . ($work->image ?? ''))); ?>">
    </a>
    </div>
    <?php $__currentLoopData = $work->work_images; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <div class="grid-item">
        <a title="Saiba Chair" data-lightbox="gallery-image" href="<?php echo e(asset('storage/works/' . ($item->image ?? ''))); ?>">
        <img src="<?php echo e(asset('storage/works/' . ($item->image ?? ''))); ?>">
        </a>
        </div>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    
     
    </div>
    <hr class="space">
    <div class="row m-b-40">
    <div class="col-lg-8 center">
    <?php if($work->description_ar): ?>
    <div class="project-description">
        <h2 class="text-white">وصف العمل</h2>
        <h3 class="text-white"><?php echo e($work->description_ar); ?></h3>
        </div>
    <?php endif; ?> 
    <div class="portfolio-attributes">
    <div class="attribute"><strong>العميل:</strong><?php echo e($work->client); ?></div>
    <?php if($work->link): ?>
    <div class="attribute"><strong>Website:</strong> <a href="<?php echo e($work->link); ?>" title="Mindsparkle Shop" target="_blank">mindsparkleshop.com</a></div>

    <?php endif; ?>
    <div class="attribute"><strong>التاريخ:</strong> <?php echo e($work->date); ?></div>
    <?php if($work->category): ?>
    <div class="attribute" >
        <strong>الخدمة:</strong><?php echo e($work->category->title_ar); ?></div> 
    <?php endif; ?> 
    </div>
    <?php if($work->link): ?>
    <div> <a href="<?php echo e($work->link); ?>" class="btn btn-dark btn-outline">زيارة الموقع</a></div>
        
    <?php endif; ?>
    </div>
    </div>
    </div>
     
    </section>
    
     
<?php $__env->stopSection(); ?>

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


<?php echo $__env->make('front.layout.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\crm\resources\views/front/work.blade.php ENDPATH**/ ?>