@extends('layouts.site') @section('content') @php $lang = app()->getLocale(); $name = 'name_' . $lang; $details = 'details_' . $lang; $type = 'type_' . $lang; $title = 'title_' . $lang; $description = 'description_' . $lang; $img_alt = 'img_alt_' . $lang; @endphp
{{ __('Our work') }}

{{ app()->getLocale() == 'ar' ? 'الجودة ، الالتزام ، والتميّز' : ' Quality, dedication, and exceence' }}

@if ($services && $services->count() > 0)
@foreach ($services as $index => $service)
@if($service->category_pages && $service->category_pages->count() > 0)
@foreach($service->category_pages as $postIndex => $category_page) @if($postIndex % 2 == 0)
{{ $category_page->service->$name }}

{{ $category_page->$name }}

{!! html_entity_decode($category_page ->$details) !!}

{{ app()->getLocale() == 'ar' ? 'عرض المشروع' : 'view case study' }} @if (app()->getLocale() == 'ar') @else @endif
@else
{{ $category_page->service->$name }}

{{ $category_page->$name }}

{!! html_entity_decode($category_page->$details) !!}

{{ app()->getLocale() == 'ar' ? ' عرض المشروع' : 'view case study' }} @if (app()->getLocale() == 'ar') @else @endif
@endif @endforeach
@if($service->category_pages->count() > 2) @endif @else
{{ app()->getLocale() == 'ar' ? 'لا توجد بوستات متاحة لهذه الخدمة' : 'No posts available for this service' }}
@endif
@endforeach
@endif
@stop @section('scripts') @stop