git add .
git commit "Complete project development and finalize features"
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
name="type"
|
||||
value="App\Models\Flight">
|
||||
|
||||
|
||||
<button class="btn btn-outline-danger">
|
||||
❤️ افزودن به علاقهمندی
|
||||
</button>
|
||||
@@ -21,20 +20,18 @@
|
||||
<img src="{{ $flight->image ? asset('storage/'.$flight->image) : asset('assets/img/placeholder.jpg') }}"
|
||||
class="w-100 h-100 object-fit-cover"
|
||||
alt="{{ $flight->airline }}">
|
||||
<span class="flight-badge">
|
||||
<span class="flight-badge">
|
||||
پرواز
|
||||
</span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="card-body d-flex flex-column">
|
||||
|
||||
<h5 class="fw-bold">
|
||||
{{ $flight->airline }}
|
||||
</h5>
|
||||
|
||||
|
||||
<div class="route">
|
||||
<span>{{ $flight->origin }}</span>
|
||||
|
||||
@@ -43,7 +40,6 @@
|
||||
<span>{{ $flight->destination }}</span>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="mt-auto d-flex justify-content-between align-items-center">
|
||||
|
||||
<strong>
|
||||
@@ -56,7 +52,7 @@
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,20 +2,16 @@
|
||||
|
||||
<div class="card border-0 shadow-sm rounded-4 overflow-hidden h-100">
|
||||
<form action="{{ route('users.favorite.store') }}" method="POST">
|
||||
|
||||
@csrf
|
||||
|
||||
<input type="hidden" name="id" value="{{ $tour->id }}">
|
||||
|
||||
<input type="hidden"
|
||||
name="type"
|
||||
value="App\Models\Tour">
|
||||
|
||||
|
||||
<button class="btn btn-outline-danger">
|
||||
❤️ افزودن به علاقهمندی
|
||||
</button>
|
||||
|
||||
</form>
|
||||
|
||||
<div class="flight-image">
|
||||
@@ -24,24 +20,18 @@
|
||||
class="w-100 h-100 object-fit-cover"
|
||||
alt="{{ $tour->airline }}">
|
||||
|
||||
|
||||
<span class="flight-badge">
|
||||
تور
|
||||
</span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="card-body d-flex flex-column">
|
||||
|
||||
|
||||
<h5 class="fw-bold">
|
||||
{{ $tour->title }}
|
||||
</h5>
|
||||
|
||||
|
||||
|
||||
<div class="route">
|
||||
|
||||
<span>
|
||||
@@ -58,25 +48,18 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="mt-auto d-flex justify-content-between align-items-center">
|
||||
|
||||
<strong>
|
||||
{{ number_format($tour->price) }} تومان
|
||||
</strong>
|
||||
|
||||
|
||||
<a href="{{ route('tours.show',$tour) }}"
|
||||
class="btn btn-primary rounded-pill">
|
||||
مشاهده
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user