@extends('frontend.layouts.app') @section('styles') @endsection @section('content')

Properties

@foreach($cities as $city) @endforeach
@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, 21 ) }}
place {{ str_limit( ucfirst($property->address), 30 ) }}
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
{{ $properties->links() }}
@endsection @section('scripts') @endsection