@php use App\Models\Property; use Illuminate\Support\Str; $featuredProperties = Property::with('images') ->whereNotNull('slug') ->orderByDesc('destaque') ->latest() ->take(6) ->get(); @endphp

Portfólio Exclusivo

Destaques & Lançamentos

Ver todos os imóveis →
@foreach ($featuredProperties as $index => $property) @php $cover = $property->images->first(); $imageUrl = $cover->url_thumb ?? $cover->url_card ?? $cover->url ?? 'https://via.placeholder.com/800x600?text=Imovel'; $slug = $property->slug ?: Str::slug(($property->title ?? 'imovel') . '-' . $property->id); @endphp
{{ $property->incorporadora ?? 'Imóvel' }}
{{ $property->title }}

{{ $property->title }}

{{ $property->location }}

{{ $property->beds }} Quartos {{ $property->area }}m² {{ $property->tipo }}
{{ $property->price_label }} Ver detalhes
@endforeach