@extends('web.layouts.container') @section('header')
@foreach ($sliders as $slider)

{{$slider->title}}

@endforeach
{{__('main.scroll_down')}}
@endsection @section('content')

{{__('main.about_us')}}

@php //$description = trim(preg_replace('/\s\s+/', '', $detail->details)); $description = $detail ?? null ? explode('@@', $detail->details, 2) : []; @endphp

{{count($description) > 0 ? $description[0] : ''}}

{{count($description) > 0 ? $description[1] : ''}}

@php $description = $detail ?? null ? explode('@@', $detail->details_plus, 2) : []; @endphp

{{count($description) > 0 ? $description[0] : ''}}

{{count($description) > 0 ? $description[1] : ''}}

{{__('main.vision')}}

{{$detail ?? null ? $detail->vision : null}}

{{__('main.mission')}}

{{$detail ?? null ? $detail->mission : null}}

{{__('main.our_values')}}

@if ($ourValues) @foreach ($ourValues as $value)

{{$value}}

@endforeach @endif
@php $number = $detail ?? null ? preg_match('/[0-9]+/', $detail->percentage_first, $match) : []; $number = $number ? $match[0] : 0; $char = $detail ?? null ? preg_replace('/[0-9]+/', '', $detail->percentage_first) : ''; @endphp

{{$number}}{{$char}}

{{$detail ?? null ? $detail->percentage_text_first : null}}

@php $number = $detail ?? null ? preg_match('/[0-9]+/', $detail->percentage_second, $match) : []; $number = $number ? $match[0] : 0; $char = $detail ?? null ? preg_replace('/[0-9]+/', '', $detail->percentage_second) : ''; @endphp

{{$number}}{{$char}}

{{$detail ?? null ? $detail->percentage_text_second : null}}

@php $number = $detail ?? null ? preg_match('/[0-9]+/', $detail->percentage_third, $match) : []; $number = $number ? $match[0] : 0; $char = $detail ?? null ? preg_replace('/[0-9]+/', '', $detail->percentage_third) : ''; @endphp

{{$number}}{{$char}}

{{$detail ?? null ? $detail->percentage_text_third : null}}

{{__('main.latest_news')}}

@foreach ($articles as $article)
{{date('Y', strtotime($article->added_year))}} {{date('M', strtotime($article->added_year))}} {{$article->title}} {{-- NT&T Awarded NESCO Project--}}
@endforeach
@endsection @section('inner_js') @endsection