@if (file_exists(public_path('build/manifest.json')) || file_exists(public_path('hot'))) @vite(['resources/css/app.css', 'resources/js/app.js']) @endif
@guest

VITIPORTAIL

Connectez-vous

@endguest @auth @include('components.header', ['pages' => $pages])

{{ $listing->name }}

@if($listing->equipmentBrand)

Marque @if($listing->equipmentBrand->has_other_field) {{ $listing->equipment_brand_other }} @else {{ $listing->equipmentBrand->name_fr }} @endif

@endif @if($listing->equipment_model)

Modèle {{ $listing->equipment_model }}

@endif @if($listing->equipmentCondition)

État du matériel {{ $listing->equipmentCondition->name_fr }}

@endif @if($listing->localisation)

Localisation {{ $listing->localisation }}

@endif @if($listing->colour_id)

Couleur {{ $listing->colour->name_fr }}

@endif @if($listing->year_id)

{{ $listing->product->is_equipment ? 'Année' : 'Millésime' }} {{ $listing->year->year }}

@endif @if($listing->price)

{{ $listing->priceType->name_fr }} {{ $listing->price }} €

@endif @if($listing->description)

Description {{ $listing->description }}

@endif
@csrf
@foreach ($listing->getMedia('photos')->take(1) as $media) {{ $listing->name }} @endforeach
@endauth
@if (Route::has('login')) @endif