@extends('frontend.layouts.app') @section('content')
@if ($property->primary_image_url) {{ $property->title }} @else {{ $property->title }} @endif
{{ $property->listing_type === 'sale' ? 'For Sale' : 'For Rent' }} @if ($property->is_verified) Verified @endif @if ($property->is_featured) Featured @endif

{{ $property->title }}

{{ $property->full_location }}

@if ($property->images && $property->images->count() > 0)
@if ($property->primary_image_url) @endif @foreach ($property->images as $image) @endforeach
@endif
@if ($property->area_size)

{{ number_format($property->area_size) }}

{{ $property->area_unit }}

@endif @if ($property->bedrooms)

{{ $property->bedrooms }}

Beds

@endif @if ($property->bathrooms)

{{ $property->bathrooms }}

Baths

@endif @if ($property->facing)

{{ ucfirst($property->facing) }}

Facing

@endif

{{ $property->listing_type === 'sale' ? 'Price' : 'Rent' }}

{{ $property->formatted_price }} @if ($property->listing_type === 'rent') /month @endif

@if ($property->price_per_sqft)

₹{{ number_format($property->price_per_sqft) }}/sqft

@endif

Description

{!! nl2br(e($property->description)) !!}

Property Details

Property Type

{{ ucfirst($property->property_type) }}

@if ($property->floor_number)

Floor

{{ $property->floor_number }} of {{ $property->total_floors }}

@endif @if ($property->furnishing)

Furnishing

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

@endif @if ($property->possession_status)

Possession

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

@endif @if ($property->ownership_type)

Ownership

{{ ucfirst($property->ownership_type) }}

@endif @if ($property->age_of_property)

Age of Property

{{ $property->age_of_property }} years

@endif
@if ($property->amenities && $property->amenities->count() > 0)

Amenities

@foreach ($property->amenities as $amenity)
{{ $amenity->name }}
@endforeach
@endif @if ($property->rera_approved || $property->bank_approved || $property->rera_number)

Legal & Approvals

@if ($property->rera_approved) RERA Approved @endif @if ($property->bank_approved) Bank Loan Available @endif
@if ($property->rera_number)

RERA No: {{ $property->rera_number }}

@endif
@endif
@if ($similarProperties->count() > 0)

Similar Properties

@foreach ($similarProperties as $similar) @include('frontend.partials.property-card', ['property' => $similar]) @endforeach
@endif @php $propertySchema = json_encode( [ '@context' => 'https://schema.org', '@type' => 'RealEstateListing', 'name' => $property->title, 'description' => $property->short_description ?? ($property->meta_description ?? ''), 'url' => url('/property/' . $property->slug), 'image' => $property->primary_image_url ?? asset('images/property-placeholder.jpg'), 'datePosted' => $property->created_at->toIso8601String(), 'address' => [ '@type' => 'PostalAddress', 'addressLocality' => $property->area?->name ?? '', 'addressRegion' => $property->city?->name ?? 'Varanasi', 'addressCountry' => 'IN', ], 'offers' => [ '@type' => 'Offer', 'price' => (string) $property->price, 'priceCurrency' => 'INR', 'availability' => 'https://schema.org/InStock', ], ], JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT, ); @endphp @if (isset($propertySchema)) @endif @endsection