@php Theme::asset()->usePath()->add('leaflet-css', 'plugins/leaflet.css'); Theme::asset()->usePath()->add('jquery-bar-rating', 'plugins/jquery-bar-rating/themes/fontawesome-stars.css'); Theme::asset()->container('footer')->usePath()->add('leaflet-js', 'plugins/leaflet.js'); Theme::asset()->usePath()->add('magnific-css', 'plugins/magnific-popup.css'); Theme::asset()->container('footer')->usePath()->add('magnific-js', 'plugins/jquery.magnific-popup.min.js'); Theme::asset()->container('footer')->usePath()->add('property-js', 'js/property.js'); Theme::asset()->container('footer')->usePath()->add('jquery-bar-rating-js', 'plugins/jquery-bar-rating/jquery.barrating.min.js'); Theme::asset()->container('footer')->usePath()->add('wishlist', 'js/wishlist.js', [], []); $headerLayout = MetaBox::getMetaData($property, 'header_layout', true); $headerLayout = !empty($headerLayout) ? $headerLayout : theme_option('property_header_layout', 'layout-1'); $allowShareViaWhatsapp = theme_option('allow_share_via_whatsapp', 'no'); $video = $property->getMetaData('video', true); $videoUrl = $video['url'] ?? ''; $propertyLabel = $property->label; @endphp {!! Theme::partial('real-estate.properties.headers.' . $headerLayout, compact('property', 'propertyLabel')) !!}
@if('layout-1' === $headerLayout)
{{ $property->type_name }} @if($propertyLabel) {{ $propertyLabel }} @endif

{{ $property->name }}

{{ $property->location . ', ' . $property->city_name }}

{{ $property->price_html }}

{!! Theme::partial('real-estate.elements.list-fx-features', compact('property')) !!}
@endif {!! Theme::partial('real-estate.elements.features', ['property' => $property]) !!}
{!! ($property->content) !!}
{!! Theme::partial('real-estate.elements.amenities', ['property' => $property]) !!} {!! Theme::partial('real-estate.elements.video', ['object' => $property]) !!}
@if ($property->latitude && $property->longitude) {!! Theme::partial('real-estate.elements.traffic-map-modal', ['location' => $property->location . ', ' . $property->city_name]) !!} @else {!! Theme::partial('real-estate.elements.gmap-canvas', ['location' => $property->location]) !!} @endif
{!! Theme::partial('real-estate.elements.gallery', compact('property')) !!} {!! Theme::partial('real-estate.elements.nearby', ['property' => $property]) !!} @if(is_review_enabled())
{!! Theme::partial('real-estate.elements.review', compact('property')) !!}
@endif
@if ($author = $property->author)
@if ($author->username)
{{ $author->name }}
@endif
{!! Theme::partial('real-estate.elements.form-contact-consult', ['data' => $property]) !!}
@endif {!! dynamic_sidebar('property_sidebar') !!}
{!! do_shortcode('[recently-viewed-properties title="' . __('Recently Viewed Properties') . '" subtitle="' . __('Your currently viewed properties.') . '"][/recently-viewed-properties]') !!}
@if ($property->latitude && $property->longitude)
@endif {{-- --}}