@extends('layouts.guest') @section('title', $property->title) @section('content')
Home / Properties / {{ $property->name }}

{{ $property->name }}

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

{{-- @foreach(($property->images ?? []) as $index => $image) --}} Property Image {{-- @endforeach --}}

Price

{{ formatPrice($property->min_price) }}

Type

{{ $property->property_type ?? 'N/A' }}

Status

{{ ucfirst(str_replace('_', ' ', $property->configurations)) }}

Overview

{!! $property->overview !!}

@if(!empty($property->amenities))

Amenities

@foreach(($property->amenities ?? []) as $feature)
{{ $feature }}
@endforeach
@endif

Comments

@forelse($property->comments ?? [] as $comment)
{{ $comment->user->name ?? 'Anonymous' }} {{ $comment->created_at->format('d M Y') }}

{{ $comment->content }}

@empty

No comments yet. Be the first to comment!

@endforelse @auth
@csrf
@else

Please login to add a comment.

@endauth
@php $message = "I am interested in {$property->name}. Please share more details."; $phone = preg_replace('/\D/', '', $phone); @endphp @endsection