git add .
git commit "Complete project development and finalize features"
This commit is contained in:
@@ -3,38 +3,27 @@
|
||||
@section('content')
|
||||
|
||||
<section class="container mt-5">
|
||||
|
||||
<div class="card border-0 shadow rounded-4 overflow-hidden mb-5">
|
||||
|
||||
<div class="tour-detail-image">
|
||||
|
||||
<img src="{{ $tour->image ? asset('storage/'.$tour->image) : asset('assets/img/placeholder.jpg') }}"
|
||||
class="w-100 h-100 object-fit-cover"
|
||||
alt="{{ $tour->airline }}">
|
||||
<span class="badge bg-primary position-absolute top-0 end-0 m-4">
|
||||
تور
|
||||
</span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="card-body p-4">
|
||||
|
||||
<h1 class="fw-bold mb-3">
|
||||
{{ $tour->title }}
|
||||
</h1>
|
||||
|
||||
|
||||
<p class="text-muted">
|
||||
{{ $tour->summary }}
|
||||
</p>
|
||||
|
||||
|
||||
<hr>
|
||||
|
||||
|
||||
<div class="row g-4">
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="tour-info-box">
|
||||
<span>نوع سفر</span>
|
||||
@@ -54,7 +43,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="tour-info-box">
|
||||
<span>قیمت</span>
|
||||
@@ -64,23 +52,18 @@
|
||||
</h5>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<hr>
|
||||
|
||||
|
||||
<h4 class="fw-bold">
|
||||
توضیحات تور
|
||||
</h4>
|
||||
|
||||
|
||||
<p>
|
||||
{{ $tour->description }}
|
||||
</p>
|
||||
|
||||
|
||||
<div class="reserve-area mt-5">
|
||||
|
||||
@auth
|
||||
@@ -109,7 +92,6 @@
|
||||
رزرو تور
|
||||
|
||||
</button>
|
||||
|
||||
</form>
|
||||
|
||||
@else
|
||||
@@ -122,10 +104,8 @@
|
||||
</a>
|
||||
|
||||
@endauth
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="comment-box mb-5">
|
||||
@@ -164,7 +144,6 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="mb-3">
|
||||
|
||||
<textarea name="comment"
|
||||
@@ -174,15 +153,11 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<button class="btn btn-primary rounded-pill px-5">
|
||||
ثبت نظر
|
||||
</button>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="comment-box">
|
||||
@@ -192,7 +167,6 @@
|
||||
نظرات کاربران
|
||||
</h3>
|
||||
|
||||
|
||||
@forelse($comments as $comment)
|
||||
|
||||
<div class="comment-item">
|
||||
@@ -203,7 +177,6 @@
|
||||
{{ $comment->user ? $comment->user->first_name . ' ' . $comment->user->last_name : 'کاربر مهمان' }}
|
||||
</strong>
|
||||
|
||||
|
||||
<small>
|
||||
{{ $comment->created_at->diffForHumans() }}
|
||||
</small>
|
||||
@@ -216,8 +189,6 @@
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@empty
|
||||
|
||||
<div class="alert alert-secondary rounded-4">
|
||||
@@ -226,12 +197,8 @@
|
||||
|
||||
@endforelse
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
@endsection
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user