git add .

git commit "Complete project development and finalize features"
This commit is contained in:
2026-08-22 11:14:07 +03:30
parent e72f68cd86
commit 2f431971c0
40 changed files with 126 additions and 637 deletions
-41
View File
@@ -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