@extends('layouts.landing') @section('title', $property->name) @section('meta_description', Str::limit($property->description, 160)) @if($property->photos->isNotEmpty()) @section('og_image', asset('storage/' . $property->photos->first()->photo_path)) @endif @section('content')
@if($property->photos->isNotEmpty()) {{ $property->name }} @else
@endif
@if($property->photos->count() > 1)
@foreach($property->photos as $photo) @endforeach
@endif
{{ $property->type }} {{ $property->rooms->where('status', 'available')->count() }} Kamar Tersedia

{{ $property->name }}

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

Mulai Dari

Rp {{ number_format($property->rooms->min('price'), 0, ',', '.') }}/bln

Deskripsi Properti

{{ $property->description }}

Fasilitas Umum

@foreach($property->facilities as $facility)
{{ $facility }}
@endforeach

Aturan Properti

    @foreach(explode("\n", $property->rules) as $rule) @if(trim($rule))
  • {{ $rule }}
  • @endif @endforeach

Daftar Kamar & Unit

Pilih tipe unit yang sesuai dengan budget dan kebutuhanmu.

@foreach($property->rooms as $room)

Unit {{ $room->room_number }}

{{ $room->room_type ?? 'Standard' }}

{{ $room->status === 'available' ? 'Tersedia' : 'Terisi' }}
@if($room->facilities) @foreach(collect($room->facilities)->take(4) as $facility)
{{ $facility }}
@endforeach @endif

Harga Sewa

Rp {{ number_format($room->price, 0, ',', '.') }} /bulan
@if($room->status === 'available') Booking Sekarang @else
Sudah Terisi
@endif
@endforeach
@endsection