33 lines
1.8 KiB
PHP
33 lines
1.8 KiB
PHP
@php
|
|
/** @var \Domain\Enums\OrderTunnelStep $step */
|
|
@endphp
|
|
<div class="my-md-5 container my-4">
|
|
<div class="d-flex justify-content-center align-items-center gap-md-4 flex-row flex-wrap gap-2">
|
|
|
|
{{-- Step 1 --}}
|
|
<div class="d-flex align-items-center {{ $step === \Domain\Enums\OrderTunnelStep::REVIEW ? 'text-dark fw-bold' : 'text-muted' }}">
|
|
<span
|
|
class="wh-32px rounded-circle {{ $step === \Domain\Enums\OrderTunnelStep::REVIEW ? 'bg-dark text-white' : 'bg-light text-muted border' }} d-flex align-items-center justify-content-center fw-bold me-2">1</span>
|
|
<span class="d-none d-md-inline">{{ __('Summary') }}</span>
|
|
</div>
|
|
|
|
<div class="text-muted d-none d-md-block"><i class="fa-solid fa-chevron-right"></i></div>
|
|
|
|
{{-- Step 2 --}}
|
|
<div class="d-flex align-items-center {{ $step === \Domain\Enums\OrderTunnelStep::BOOKING ? 'text-dark fw-bold' : 'text-muted' }}">
|
|
<span
|
|
class="wh-32px rounded-circle {{ $step === \Domain\Enums\OrderTunnelStep::BOOKING ? 'bg-dark text-white' : 'bg-light text-muted border' }} d-flex align-items-center justify-content-center fw-bold me-2">2</span>
|
|
<span class="d-none d-md-inline">{{ __('Reservation') }}</span>
|
|
</div>
|
|
|
|
<div class="text-muted d-none d-md-block"><i class="fa-solid fa-chevron-right"></i></div>
|
|
|
|
{{-- Step 3 --}}
|
|
<div class="d-flex align-items-center {{ $step === \Domain\Enums\OrderTunnelStep::CONFIRMATION ? 'text-dark fw-bold' : 'text-muted' }}">
|
|
<span
|
|
class="wh-32px rounded-circle {{ $step === \Domain\Enums\OrderTunnelStep::CONFIRMATION ? 'bg-dark text-white' : 'bg-light text-muted border' }} d-flex align-items-center justify-content-center fw-bold me-2">3</span>
|
|
<span class="d-none d-md-inline">{{ __('Confirmation') }}</span>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|