@props(['current' => 1])
@php
$steps = [1 => 'Choose category', 2 => 'Your details', 3 => 'Verify'];
@endphp
merge(['class' => 'flex items-center gap-2 text-sm sm:gap-4']) }} aria-label="Registration progress">
@foreach ($steps as $n => $label)
-
@if ($n < $current)
@else
{{ $n }}
@endif
{{ $label }}
{{ $label }}
@if ($n < count($steps))
@endif
@endforeach