@php $tabs = array_values($c['tabs'] ?? []); $default = max(1, min(count($tabs), (int) ($c['default_tab'] ?? 1))) - 1; $uid = 'pillars-'.$section->id; @endphp
@if (count($tabs) > 1)
@foreach ($tabs as $i => $tab) @endforeach
@endif
@foreach ($tabs as $i => $tab)
@if (filled($tab['text'] ?? null))

{{ $tab['text'] }}

@endif
@if ($subjects = \App\Support\Content::lines($tab['subjects'] ?? null))
    @foreach ($subjects as $subject)
  • {{ $subject }}
  • @endforeach
@endif @if ($points = \App\Support\Content::lines($tab['points'] ?? null))
    @foreach ($points as $point)
  • {!! \App\Support\Icons::svg('check-bullet', 'mt-1 size-5 shrink-0') !!} {{ $point }}
  • @endforeach
@endif
@endforeach