@extends('layouts.app') @section('title', 'Properties') @section('content')

Our Properties

Home Properties
@forelse($properties as $property)
@if($property->main_image) @if(Str::startsWith($property->main_image, 'http')) {{ $property->title }} @elseif(Str::startsWith($property->main_image, 'assets/')) {{ $property->title }} @else {{ $property->title }} @endif @else {{ $property->title }} @endif
{{ $property->featured ? 'Featured' : 'Popular' }}
{{ $property->title }}

{{ $property->address }}

{{ $property->bedrooms }} Beds
{{ $property->bathrooms }} Bathrooms
{{ $property->formatted_area }}
@empty

No properties found

Try adjusting your search criteria or check back later for new listings.

@endforelse
@if($properties->hasPages())
{{ $properties->links() }}
@endif
@endsection