@if (_isServer) { } @switch (orientation) { @case ('horizontal') {
@for (step of steps; track step; let i = $index, isLast = $last) { @if (!isLast) {
} }
@for (step of steps; track step; let i = $index) {
}
} @case ('vertical') { @for (step of steps; track step; let i = $index, isLast = $last) {
} } }