Files
hatame 24c674f9cf git add .
git commit "fix final issues before project delivery"
2026-08-22 16:17:21 +03:30

50 lines
1.4 KiB
PHP

@extends('layouts.app')
@section('content')
<section class="container mt-5">
<h3 class="fw-bold mb-4">آخرین پروازها و تورها</h3>
<div class="swiper LatestProducts w-100">
<div class="swiper-wrapper py-3">
@forelse($newestFlight as $flight)
@include('components.flight')
@empty
<p class="text-secondary">هنوز پروازی ثبت نشده است.</p>
@endforelse
@foreach($newestTour as $tour)
@include('components.tour', ['tour' => $tour])
@endforeach
</div>
</div>
<a href="{{ route('flights') }}"
class="btn btn-primary">
مشاهده همه پروازها
</a>
<a href="{{ route('tours.index') }}"
class="btn btn-primary">
مشاهده همه تورها
</a>
</section>
<br><br><br>
<section class="container my-5">
<h3 class="fw-bold mb-4">همه پروازها و تورها</h3>
<div class="row g-4">
@foreach($flights as $flight)
@include('components.flight', ['flight' => $flight])
@endforeach
@foreach($tours as $tour)
@include('components.tour', ['tour' => $tour])
@endforeach
</div>
</section>
@endsection