@forelse ($properties as $property)
@if($property->images->count() > 0) @foreach($property->images->take(4) as $index => $image) {{ $property->title }} @endforeach @else
No Image
@endif {{ $property->type->label() }} @if($property->is_featured) Featured @endif

{{ $property->title }}

{{ $property->city }}, {{ $property->state }}

@if($property->bedrooms) {{ $property->bedrooms }} Beds @endif @if($property->bathrooms) {{ $property->bathrooms }} Baths @endif @if($property->area_sqft) {{ number_format($property->area_sqft) }} sqft @endif

{{ $property->formatted_price }}

@empty

No properties found matching your criteria.

@endforelse
{{ $properties->links() }}