@php $images = [$shortcode->background_image]; $title = $shortcode->title; if ($property) { $images = $property->images; $title = $property->name; } if ($shortcode->transparent_header) { Theme::set('headerClass', 'header-fixed header-style-2'); } @endphp @foreach($images as $image) {{ RvMedia::image($image, $title) }} @endforeach @foreach($images as $image) {{ RvMedia::image($image, $title, 'thumb') }} @endforeach @if ($property) @if($property->is_featured) {{ __('Featured') }} @endif {!! BaseHelper::clean($property->status->toHtml()) !!} {!! BaseHelper::clean($property->name) !!} @if($property->address) {{ $property->address }} @endif @if($property->number_bedroom) {{ number_format($property->number_bedroom) }} @endif @if($property->number_bathroom) {{ number_format($property->number_bathroom) }} @endif @if($property->square) {{ $property->square_text }} @endif @if (($author = $property->author) && $property->author->name) {{ RvMedia::image($author->avatar_url, $author->name, 'thumb') }} {{ $author->name }} @endif {{ format_price($property->price, $property->currency) }} @endif @if(is_plugin_active('real-estate') && $shortcode->search_box_enabled) @include(Theme::getThemeNamespace('views.real-estate.partials.search-box'), ['style' => 4, 'noLeftRound' => true]) @endif
{{ $property->address }}