@if (orientation() === 'vertical') {
@for (item of items(); track $index; let last = $last) {
-
@if (item.icon) {
} @else {
}
@if (isActive(item)) {
}
@if (!last) {
}
@if (item.time) {
{{ item.time }}
}
{{ item.label }}
@if (item.content) {
{{ item.content }}
}
}
} @else {
@for (item of items(); track $index; let first = $first, last = $last) {
-
@if (item.icon) {
} @else {
}
@if (isActive(item)) {
}
@if (item.time) {
{{ item.time }}
}
{{ item.label }}
@if (item.content) {
{{ item.content }}
}
}
}