@php use App\Libraries\General; use App\Libraries\FileSystem; @endphp @extends('layouts.frontlayout') @section('content')

{{isset($page->title) && $page->title ? $page->title:""}}

{{-- @php $image = ""; @endphp @if($page['image']) @php $image = json_decode($page['image']); $image = isset($image[0]) ? $image[0] : ""; @endphp @endif --}}

{{isset($section_1_title) && $section_1_title ? $section_1_title : ""}}

{!! isset($page->description) && $page->description ? $page->description : ""!!}

@if(isset($section_2['status_1']) && $section_2['status_1'] == 1)

{!!isset($section_2_sub_title) && $section_2_sub_title ? $section_2_sub_title : ""!!}

@if(isset($section_2['image_1']) && $section_2['image_1'] && file_exists(public_path($section_2['image_1'])))
@include('frontend.partials.fileRender', ['file' => $section_2['image_1'], 'size' => "large"])
@endif

{{isset($section_2['title_1']) && $section_2['title_1'] ? $section_2['title_1'] : ""}}

{!!isset($section_2['description_1']) && $section_2['description_1'] ? $section_2['description_1'] : ""!!}

@if(isset($section_2['image_2']) && $section_2['image_2'] && file_exists(public_path($section_2['image_2'])))
@include('frontend.partials.fileRender', ['file' => $section_2['image_2'], 'size' => "large"])
@endif

{{isset($section_2['title_2']) && $section_2['title_2'] ? $section_2['title_2'] : ""}}

{!!isset($section_2['description_2']) && $section_2['description_2'] ? $section_2['description_2'] : ""!!}

@if(isset($section_2['image_3']) && $section_2['image_3'] && file_exists(public_path($section_2['image_3'])))
@include('frontend.partials.fileRender', ['file' => $section_2['image_3'], 'size' => "large"])
@endif

{{isset($section_2['title_3']) && $section_2['title_3'] ? $section_2['title_3'] : ""}}

{!!isset($section_2['description_3']) && $section_2['description_3'] ? $section_2['description_3'] : ""!!}

@endif @if(isset($section_3['status_2']) && $section_3['status_2'] == 1)
@if(isset($section_3['images']) && $section_3['images'] && file_exists(public_path($section_3['images'])))
@include('frontend.partials.fileRender', ['file' => $section_3['images'], 'size' => "large"])
@endif

{{isset($section_3['title']) && $section_3['title'] ? $section_3['title'] : ""}}

{!! isset($section_3['description']) && $section_3['description'] ? $section_3['description'] : "" !!}

@endif
@if(isset($section_4['status_3']) && $section_4['status_3'] == 1)

{{isset($section_4['title']) && $section_4['title'] ? $section_4['title'] : ""}}

{!! isset($section_4['description']) && $section_4['description'] ? $section_4['description'] : "" !!}

@endif @if(isset($section_5[4]['status_4']) && $section_5[4]['status_4'] == 1)

{{isset($section_5[0]['title']) && $section_5[0]['title'] ? $section_5[0]['title'] : ""}}

{{isset($section_5[1]['title']) && $section_5[1]['title'] ? $section_5[1]['title'] : ""}}

{{isset($section_5[2]['title']) && $section_5[2]['title'] ? $section_5[2]['title'] : ""}}

+

{{isset($section_5[3]['title']) && $section_5[3]['title'] ? $section_5[3]['title'] : ""}}

@endif
@endsection