Files
hatame.andarza09/resources/views/components/tour.blade.php
T
hatame 970786ae94 git add .
git commit  "add tours pages, components and show views"
2026-08-17 11:36:19 +03:30

67 lines
1.2 KiB
PHP

<div class="col-md-4">
<div class="card border-0 shadow-sm rounded-4 overflow-hidden h-100">
<div class="flight-image">
<img src="{{ asset($tour->image) }}"
alt="{{ $tour->title }}">
<span class="flight-badge">
تور
</span>
</div>
<div class="card-body d-flex flex-column">
<h5 class="fw-bold">
{{ $tour->title }}
</h5>
<div class="route">
<span>
{{ $tour->travelType?->name ?? 'تور گردشگری' }}
</span>
<span class="line"></span>
<span>
{{ \Carbon\Carbon::parse($tour->departure_date)->format('Y/m/d') }}
</span>
</div>
<div class="mt-auto d-flex justify-content-between align-items-center">
<strong>
{{ number_format($tour->price) }} تومان
</strong>
<a href="{{ route('tours.show',$tour) }}"
class="btn btn-primary rounded-pill">
مشاهده
</a>
</div>
</div>
</div>
</div>