@extends('web.layouts.default') @section('content') @foreach($sliders as $key=>$slider) @if($slider->image!="") @php $image=asset(Storage::url('public/sliders')).'/'.$slider->image; @endphp @endif {!! $slider->title !!} {!! $slider->sub_title !!} {{ $slider->button_text }} @endforeach Previous Next @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 !!} {!! $section2->sub_title !!} @endisset @isset($sections[2]) @php $section3= $sections[2]; @endphp {!! $section3->title !!} {!! $section3->description !!} @foreach($properties as $property) @php $image=asset(Storage::url('public/properties')).'/'.$property->image; @endphp {{ $property->title }} Starting ${{ $property->price }} {{$property->no_of_bedrooms }} {{ $property->no_of_bathrooms }} {{ $property->sqft }} @endforeach @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 !!} {!! $section5->sub_title !!} @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
{!! $slider->sub_title !!}
{!! $section2->description !!}
{!! $section3->description !!}
Starting ${{ $property->price }} {{$property->no_of_bedrooms }} {{ $property->no_of_bathrooms }} {{ $property->sqft }}
{!! $section4->description !!}
{!! $sub_sec->description !!}
{!! $section5->description !!}
by {!! $sub_sec->title !!}
{!! $sub_sec->sub_title !!}