Files
hatame.andarza09/resources/views/layouts/hero.blade.php
T
hatame 1324bd3350 git add .
git commit "style: improve tour archive cards"
2026-08-20 16:49:30 +03:30

103 lines
2.4 KiB
PHP

<section class="flight-hero">
<div class="container">
<div class="flight-hero-content">
<span>
سفر بعدی شما از اینجا شروع می‌شود
</span>
<h1>
پرواز خود را
<span>پیدا کنید</span>
</h1>
<p>
مبدا، مقصد سفر خود را انتخاب کنید.
</p>
</div>
<div class="flight-search-card">
<div class="flight-search-header">
<div>
<h3>
جستجوی پرواز
</h3>
<span>
اطلاعات سفر خود را وارد کنید
</span>
</div>
<div class="flight-type">
<label>
<input
type="radio"
name="trip_type"
value="one_way"
checked
>
یک طرفه
</label>
<label>
<input
type="radio"
name="trip_type"
value="round_trip"
>
رفت و برگشت
</label>
</div>
</div>
<form action="{{ route('flights') }}" method="GET">
<select name="origin">
<option value="">مبدا</option>
@foreach($flights ?? [] as $flight)
<option value="{{ $flight->origin }}">
{{ $flight->origin }}
</option>
@endforeach
</select>
<select name="destination">
<option value="">مقصد</option>
@foreach($flights ?? [] as $flight)
<option value="{{ $flight->destination }}">
{{ $flight->destination }}
</option>
@endforeach
</select>
<button type="submit">
جستجو
</button>
</form>
</div>
</div>
</section>