@props([
'type' => 'default',
'title' => 'Nothing here yet',
'description' => '',
'actionUrl' => null,
'actionLabel' => null,
'compact' => false,
])
{{-- SVG Illustration --}}
@switch($type)
@case('inbox')
@case('email')
{{-- Inbox/Email illustration --}}
@break
@case('contacts')
@case('users')
{{-- Contacts/People illustration --}}
@break
@case('campaigns')
@case('send')
{{-- Campaigns/Send illustration --}}
@break
@case('deals')
@case('pipeline')
{{-- Deals/Pipeline illustration --}}
@break
@case('workflows')
@case('automation')
{{-- Workflows/Automation illustration --}}
@break
@case('analytics')
@case('chart')
{{-- Analytics/Chart illustration --}}
@break
@case('search')
{{-- Search/No results illustration --}}
@break
@case('document')
@case('knowledge')
{{-- Document/Knowledge base illustration --}}
@break
@default
{{-- Default/Generic illustration --}}
@break
@endswitch
{{-- Title --}}
{{ $title }}
{{-- Description --}}
@if($description)
{{ $description }}
@endif
{{-- CTA Button --}}
@if($actionUrl && $actionLabel)
{{ $actionLabel }}
@endif
{{-- Optional slot for custom content --}}
@if(isset($slot) && !$slot->isEmpty())
{{ $slot }}
@endif