@extends('frontend.layouts.app') @section('styles') @endsection @section('content') Services @foreach($services as $service) {{ $service->icon }} {{ $service->title }} {{ $service->description }} @endforeach Featured Properties @foreach($properties as $property) @if(Storage::disk('public')->exists('property/'.$property->image) && $property->image) @else @endif @if($property->featured == 1) star @endif purpose }}"> {{ str_limit( $property->title, 22 ) }} place {{ str_limit( ucfirst($property->address), 35 ) }} location_city {{ ucfirst($property->city) . ", " . ucfirst($property->state) . " " . str_limit($property->postcode, 5, '') }} home {{ $property->bedroom . " bds | " . $property->bathroom . " ba | " . $property->area . " sqft" }} message {{ $property->comments_count . " comments" }} @if($property->purpose == 'rent') ${{ number_format($property->price) }}/Month @else ${{ number_format($property->price) }} @endif @endforeach Testimonials @foreach($testimonials as $testimonial) @if(Storage::disk('public')->exists('testimonial/'.$testimonial->image) && $testimonial->image) @else @endif {{$testimonial->name}} {{$testimonial->testimonial}} @endforeach Recent Blog @foreach($posts as $post) @if(Storage::disk('public')->exists('posts/'.$post->image) && $post->image) @else @endif {{ str_limit($post->title,21) }} {!! str_limit($post->body,120) !!} @foreach($post->categories as $key => $category) folder {{$category->name}} @endforeach @endforeach @endsection @section('scripts') @endsection
{{ $service->description }}
{{$testimonial->testimonial}}
{!! str_limit($post->body,120) !!}