= 105123bb74 chore: introduce role management functionality with DTOs and Livewire components
- Added Role and User DTOs for dynamic role handling.
- Implemented table and badge components for displaying role data.
- Registered a Blade directive for scoped slots in `ScopeServiceProvider`.
- Updated dashboard views to include role management section.
2026-05-08 13:15:00 +00:00

20 lines
550 B
PHP

@props(['title', 'icon', 'actions'])
<div {{$attributes->twMerge('rounded-xl border border-gray-200 p-4 shadow-xs bg-white')}}>
@isset($title)
<div class="p-4 flex justify-between border-b border-gray-200">
<h2 class="font-medium flex items-center gap-x-2">
@isset($icon)
<span class="w-5 h-5">
@svg($icon)
</span>
@endisset
{{ __($title) }}
</h2>
@isset($actions)
{{$actions}}
@endisset
</div>
@endisset
{{$slot}}
</div>