git add .
git commit "Complete project development and finalize features"
This commit is contained in:
@@ -1,60 +1,39 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="container py-5">
|
||||
|
||||
<div class="d-flex justify-content-between align-items-center mb-4">
|
||||
|
||||
<h2 class="fw-bold">
|
||||
آرشیو پروازها ️
|
||||
</h2>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row g-4">
|
||||
|
||||
|
||||
@foreach($flights as $flight)
|
||||
|
||||
<div class="col-lg-4 col-md-6">
|
||||
|
||||
|
||||
<div class="card h-100 shadow-sm border-0 rounded-4 overflow-hidden">
|
||||
|
||||
|
||||
<div class="position-relative">
|
||||
|
||||
|
||||
<img src="{{ getImageUrl($flight->image) }}"
|
||||
class="card-img-top"
|
||||
style="height:220px; object-fit:cover;"
|
||||
alt="{{ $flight->airline }}">
|
||||
|
||||
|
||||
<span class="position-absolute top-0 end-0 m-3 badge bg-primary">
|
||||
|
||||
{{ $flight->flight_class ?? 'Economy' }}
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="card-body">
|
||||
|
||||
|
||||
<h5 class="fw-bold mb-3">
|
||||
|
||||
{{ $flight->airline }}
|
||||
|
||||
</h5>
|
||||
|
||||
|
||||
|
||||
<div class="text-muted mb-2">
|
||||
|
||||
<i class="bi bi-geo-alt"></i>
|
||||
@@ -67,8 +46,6 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="mb-2">
|
||||
|
||||
📅
|
||||
@@ -77,11 +54,8 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="d-flex justify-content-between align-items-center mt-4">
|
||||
|
||||
|
||||
<strong class="text-primary fs-5">
|
||||
|
||||
{{ number_format($flight->price) }}
|
||||
@@ -90,8 +64,6 @@
|
||||
|
||||
</strong>
|
||||
|
||||
|
||||
|
||||
<a href="{{route('index')}}"
|
||||
class="btn btn-outline-primary rounded-pill">
|
||||
|
||||
@@ -99,34 +71,21 @@
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@endforeach
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="mt-5 d-flex justify-content-center">
|
||||
|
||||
{{ $flights->links() }}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@endsection
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="route-box">
|
||||
|
||||
<div>
|
||||
@@ -43,7 +42,6 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="flight-info-grid">
|
||||
|
||||
<div>
|
||||
@@ -82,7 +80,8 @@
|
||||
<button type="submit" class="btn btn-success">
|
||||
رزرو تور
|
||||
</button>
|
||||
</form> @else
|
||||
</form>
|
||||
@else
|
||||
|
||||
<a href="{{ route('auth.login.index') }}" class="btn btn-warning btn-lg px-5">
|
||||
برای رزرو وارد شوید
|
||||
|
||||
Reference in New Issue
Block a user