fix:change flight blade

This commit is contained in:
2026-08-20 16:49:47 +03:30
parent 81cceb761c
commit 1ee787862e
2 changed files with 117 additions and 24 deletions
+15 -4
View File
@@ -18,10 +18,21 @@
<div class="listing-content">
<div class="listing-slider owl-carousel owl-theme" dir="ltr">
<img
src="{{ asset('assets/img/flight/single-1.jpg') }}"
alt=""
>
@if($flight->file?->path)
<img
src="{{ asset('storage/' . $flight->file->path) }}"
alt="{{ $flight->title }}"
>
@else
<img
src="{{ asset('assets/img/flight/single-1.jpg') }}"
alt="{{ $flight->title }}"
>
@endif
</div>
<div class="listing-header">