@for (section of config.sections; track section.id ?? $index) {
@if (section.title) { @if (section.icon) { } {{ section.title }} }
}
    @for (item of items; track item.id ?? $index) {
  • @if (item.children?.length) { } @else { @if (item.link?.kind === "route") { @if (item.icon) { } {{ item.label }} } @else { @if (item.icon) { } {{ item.label }} } }
  • }