refactor: Replace custom empty state UI with Filament's empty-state component.
This commit is contained in:
parent
3313f31048
commit
f0609bf077
@ -332,18 +332,9 @@ class="flex items-center gap-1 text-xs text-danger-600 dark:text-danger-400 font
|
||||
</x-filament::section>
|
||||
@empty
|
||||
<div class="col-span-full">
|
||||
<div
|
||||
class="flex flex-col items-center justify-center py-16 text-gray-400 bg-gray-50 dark:bg-gray-800/50 rounded-xl border-2 border-dashed border-gray-200 dark:border-gray-700">
|
||||
<x-heroicon-o-inbox class="w-16 h-16 mb-4 opacity-50" />
|
||||
<p class="text-lg font-medium">Tidak ada pengajuan verifikasi</p>
|
||||
<p class="text-sm text-gray-500 mt-1">
|
||||
@if ($filterStatus === 'all')
|
||||
Belum ada pengajuan verifikasi dari user.
|
||||
@else
|
||||
Tidak ada pengajuan dengan status ini.
|
||||
@endif
|
||||
</p>
|
||||
</div>
|
||||
<x-filament::empty-state icon="heroicon-o-inbox" heading="Tidak ada pengajuan verifikasi"
|
||||
description="Belum ada pengajuan verifikasi dari user." iconColor="gray">
|
||||
</x-filament::empty-state>
|
||||
</div>
|
||||
@endforelse
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user