@extends('main.layouts.master') @section('title', $row->title) @section('meta') {{-- Open Graph / Facebook --}} {{-- Twitter --}} @endsection @section('css') @endsection @section('content')

{{ $row->title }}

{{ $row->city?->name }} — {{ $row->neighborhood?->name }}
{{ number_format($row->price) }} {!! currency_icon() !!}
{{ $row->city?->name }} — {{ $row->neighborhood?->name }}
@if ($row->description)

الوصف

@php $desc = $row->description; $short = mb_substr($desc, 0, 220); $hasMore = mb_strlen($desc) > 220; @endphp
{!! nl2br(e($short)) !!} @if ($hasMore) ... {!! nl2br(e(mb_substr($desc, 220))) !!} @endif
@endif

النماذج

@foreach ($row->units as $item)
المساحة
{{ $item->area }} م²
عدد الغرف
{{ $item->bedrooms }}
عدد الحمامات
{{ $item->bathrooms }}
السعر
{{ number_format($item->price) }} {!! currency_icon() !!}
@endforeach

التفاصيل

@foreach ($details as $item) @php $has = filled($item['value']); @endphp @if ($has)
{!! $item['icon'] !!} {{ $item['name'] }} {{ $item['value'] }}@if ($item['text']) {{ $item['text'] }} @endif
@endif @endforeach
@if ($row->google_map_iframe)

الموقع

{{ $row->city?->name }} — {{ $row->neighborhood?->name }}
{!! $row->google_map_iframe !!}
@endif @if (count($row->features) > 0)

المميزات

@foreach ($row->features as $feature)
{{ $feature->name }}
@endforeach @if (!count($row->features))
@endif
@endif @if (count($row->amenities) > 0)

وسائل الراحة

@foreach ($row->amenities as $amenitie)
{{ $amenitie->name }}
@endforeach @if (!count($row->amenities))
@endif
@endif @endsection @section('js') @endsection