git add .
git commit "add tours pages, components and show views"
This commit is contained in:
@@ -8,29 +8,35 @@
|
||||
<div class="swiper-wrapper py-3">
|
||||
@forelse($newestFlight as $flight)
|
||||
@include('components.flight')
|
||||
@empty
|
||||
@empty
|
||||
<p class="text-secondary">هنوز پروازی ثبت نشده است.</p>
|
||||
@endforelse
|
||||
@foreach($newestTour as $tour)
|
||||
@include('components.tour', ['tour' => $tour])
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="container my-5">
|
||||
<h3 class="fw-bold mb-4">همه پروازها و تورها</h3>
|
||||
<h3 class="fw-bold mb-4">همه پروازها و تورها</h3>
|
||||
|
||||
<div class="row g-4">
|
||||
@forelse($flights as $flight)
|
||||
<div class="col-md-4">
|
||||
@include('components.flight')
|
||||
</div>
|
||||
@empty
|
||||
<p class="text-secondary">چیزی برای نمایش وجود ندارد.</p>
|
||||
@endforelse
|
||||
</div>
|
||||
<div class="row g-4">
|
||||
|
||||
<div class="mt-4">
|
||||
{{ $flights->links() }}
|
||||
</div>
|
||||
</section>
|
||||
@foreach($flights as $flight)
|
||||
@include('components.flight', ['flight' => $flight])
|
||||
@endforeach
|
||||
|
||||
|
||||
@foreach($tours as $tour)
|
||||
@include('components.tour', ['tour' => $tour])
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
|
||||
<div class="mt-4">
|
||||
{{ $flights->links() }}
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user