@php
    $breadcrumbs = [
        ['label' => __('common.home'), 'url' => route('dashboard.index')],
        ['label' => $data['title']],
    ];
@endphp

<x-ui.layout.page :title="$data['title']" :subtitle="$data['intro']" page-icon="fe fe-activity" :breadcrumbs="$breadcrumbs">
    <div class="list-group shadow-sm">
        @forelse ($data['links'] as $link)
            <a href="{{ $link['url'] }}" class="list-group-item list-group-item-action d-flex justify-content-between">
                <span>{{ $link['label'] }}</span>
                <i class="fe fe-chevron-right text-muted"></i>
            </a>
        @empty
            <x-ui.operational.empty-state :title="__('operational_ui.index.empty_default')" />
        @endforelse
    </div>
</x-ui.layout.page>
