feat: edit sidebar

This commit is contained in:
2026-08-18 16:25:31 -07:00
parent 4794d7f732
commit c80c9c5e2b
2 changed files with 44 additions and 20 deletions
+21 -20
View File
@@ -15,11 +15,11 @@
</div>
@if($type === 'flight')
<div class="search-form">
<form action="">
<form action="{{ route('account.booking.flight', $item->id) }}" method="POST">
@csrf
<div class="tour-search-wrapper">
@@ -85,7 +85,6 @@
@endif
@if($type === 'tour')
<div class="listing-item p-3 mt-3">
@@ -100,8 +99,8 @@
<h6>مدت تور</h6>
<span>
{{ $item->duration }} روز
</span>
{{ $item->duration }} روز
</span>
</div>
</div>
@@ -117,10 +116,10 @@
<h6>مسیر تور</h6>
<span>
{{ $item->origin }}
<i class="far fa-arrow-left mx-1"></i>
{{ $item->destination }}
</span>
{{ $item->origin }}
<i class="far fa-arrow-left mx-1"></i>
{{ $item->destination }}
</span>
</div>
</div>
@@ -130,30 +129,32 @@
<div class="listing-side-btn mt-3">
<a href="#" class="theme-btn">
<span class="far fa-shopping-bag"></span>
اکنون رزرو کن
</a>
<form action="{{ route('account.booking.tour', $item->id) }}" method="POST">
@csrf
<button type="submit" class="theme-btn">
<span class="far fa-shopping-bag"></span>
اکنون رزرو کن
</button>
</form>
<a href="{{ route('account.wishlist.toggle', [
'type' => 'tour',
'id' => $item->id
]) }}" class="border-btn">
'type' => 'tour',
'id' => $item->id
]) }}" class="border-btn">
<i class="far fa-heart"></i>
افزودن به علاقه‌مندی‌ها
</a>
</div>
@endif
{{-- Views --}}
<div class="listing-side-share">
<span>