@extends('frontLayout.frontlayout') @section('content')
{{$page->breadcrumb_title}}

{{strtok($page['title']," ")}} {{strstr($page['title']," ")}}

{!! nl2br($page['short_description']) !!}

@php $decImages = $page['image'] ? json_decode($page['image'], true) : []; @endphp @if(isset($history) && ( $history->title || $history->description ) )
@php $hisDes = $history->description ? json_decode($history->description, true) : []; @endphp @if($hisDes)

{{$history->title}}

@php $numItems = count($hisDes); $count = 1; $i = 0; @endphp @foreach($hisDes as $hd) @if($hd['year'] || $hd['description']) @if ($count%2 == 1)
@else
@endif

{{$hd['year']}}

{!! nl2br($hd['description']) !!}

@if(++$i != $numItems)
@if ($count%2 == 1) .. @else .. @endif
@endif @endif
@php $count++; @endphp @endforeach
@endif
@endif @if(isset($mission) && ( $mission->title || $mission->description || $mission->image) && $mission->is_active == 1 )
@include('frontend.partials.fileRender', ['file' => $mission->image, 'size' => "large"])

{{$mission->title}}

{!! nl2br($mission->description) !!}

@endif @if(isset($team) && $team)

{{$team->title}}

{{$team->short_description}}

@endif @endsection