@switch (effectiveLayout()) { @case ('row') { } @case ('column_with_cart') { } @default { } }
@if (groupLayout() === 'carousel') { } @else {
@for (item of itemData(); track item.id; let index = $index) { }
} @if (pagination(); as paginatedItems) { @if (paginatedItems.meta.last_page > 1) {
} }