@props([ 'href' => '#', // Accepts a committed asset path OR an already-resolved absolute URL // (what PropertyImage::$url returns for an uploaded file). 'image' => 'assets/img/properties/prop-1.jpg', 'title' => '', 'status' => 'To Let', 'price' => '', 'period' => 'PCM', 'type' => '', 'beds' => null, 'baths' => null, 'text' => '', // h2 on the listing page, h3 in featured / similar grids 'heading' => 'h3', ])
class(['property-card', 'pl-card']) }}>
{{ $status }} {{ $price }} {{ $period }}
<{{ $heading }} class="property-card-title">{{ $title }}
    @if ($type)
  • {{ $type }}
  • @endif @if (! is_null($beds))
  • {{ $beds }} bed
  • @endif @if (! is_null($baths))
  • {{ $baths }} bath
  • @endif
@if ($text !== '')

{{ $text }}

@endif