@extends('web.layouts.default') @section('content')
@isset($sections[0]) @php $section1= $sections[0]; @endphp

{!! $section1->title !!}

{!! $section1->sub_title!!}
@isset($section1->sub_sections) @foreach($section1->sub_sections as $sub_sec)
@if(isset($sub_sec->image) && $sub_sec->image!="") @php $image=asset(Storage::url('public/sections')).'/'.$sub_sec->page->alias.'/'.$sub_sec->image @endphp @else @php $image='' @endphp @endif
{!! $sub_sec->title !!}
@endforeach @endisset
@endisset @isset($sections[1]) @php $section2= $sections[1]; @endphp @if(isset($section2->image) && $section2->image!="") @php $image=asset(Storage::url('public/sections')).'/'.$section2->page->alias.'/'.$section2->image @endphp @else @php $image='' @endphp @endif

{!! $section2->title !!}

{!! $section2->description !!}

@endisset @isset($sections[2]) @php $section3= $sections[2]; @endphp

{!! $section3->title !!}

{!! $section3->description !!}

@endisset @isset($sections[3]) @php $section4= $sections[3]; @endphp

{!! $section4->title !!}

{!! $section4->description !!}

@isset($section4->sub_sections) @foreach($section4->sub_sections as $sub_sec) @if(isset($sub_sec->image) && $sub_sec->image!="") @php $image=asset(Storage::url('public/sections')).'/'.$sub_sec->page->alias.'/'.$sub_sec->image @endphp @else @php $image='' @endphp @endif

{!! $sub_sec->title !!}

{!! $sub_sec->description !!}

FIND MORE
@endforeach @endisset
@endisset @isset($sections[4]) @php $section5= $sections[4]; @endphp @if(isset($section5->image) && $section5->image!="") @php $image=asset(Storage::url('public/sections')).'/'.$section5->page->alias.'/'.$section5->image @endphp @else @php $image='' @endphp @endif

{!! $section5->title !!}

{!! $section5->description !!}

@endisset @isset($sections[5]) @php $section6= $sections[5]; @endphp

{!! $section6->title !!}

@isset($section4->sub_sections) @foreach($section6->sub_sections as $sub_sec) @if(isset($sub_sec->image) && $sub_sec->image!="") @php $image=asset(Storage::url('public/sections')).'/'.$sub_sec->page->alias.'/'.$sub_sec->image @endphp @else @php $image='' @endphp @endif

{!! $sub_sec->description !!}

by {!! $sub_sec->title !!}

{!! $sub_sec->sub_title !!}

@endforeach @endisset
@endisset @isset($sections[6]) @php $section7= $sections[6]; @endphp
@isset($section7->sub_sections) @foreach($section7->sub_sections as $sub_sec) @if(isset($sub_sec->image) && $sub_sec->image!="") @php $image=asset(Storage::url('public/sections')).'/'.$sub_sec->page->alias.'/'.$sub_sec->image @endphp @else @php $image='' @endphp @endif
@endforeach @endisset
@endisset @endsection