@extends('layouts.app') @section('title', $listing->title . ' — ShareSpace') @section('meta', '$' . number_format($listing->price) . '/mo · ' . $listing->type . ' in ' . $listing->location) @section('content')
{{-- Hero image (gradient + emoji, matching the card style) --}}
@if($listing->badge === 'new') New @elseif($listing->badge === 'discount' && $listing->discount_percent) -{{ $listing->discount_percent }}% @endif {{ $listing->icon }}
{{-- ── Main column ──────────────────────────────────────────────────── --}}
{{ $listing->type }}

{{ $listing->title }}

📍 {{ $listing->location }}
Rooms
🛏 {{ $listing->rooms }}
@if($listing->size)
Size
📐 {{ $listing->size }}
@endif
Available
{{ $listing->avail_label }}
@if($listing->min_stay)
Min. stay
⏳ {{ $listing->min_stay }}
@endif

About this place

{{ $listing->description }}

@if($listing->amenities)

What this place offers

@foreach($listing->amenities as $a)
{{ $a }}
@endforeach
@endif

Location

{{-- ── Booking sidebar ──────────────────────────────────────────────── --}}
${{ number_format($listing->price) }}/mo @if($listing->old_price)${{ number_format($listing->old_price) }}@endif
Available from {{ $listing->avail_label }}
{{-- Enquiry form (posts nowhere yet — wire to a controller when ready) --}}
{{-- ── Similar listings ─────────────────────────────────────────────────── --}} @if($similar->count())

Similar places

@foreach($similar as $s)
{{ $s->icon }}
${{ number_format($s->price) }}/mo
{{ $s->title }}
📍 {{ $s->location }}
@endforeach
@endif
@endsection @push('scripts') @endpush