- 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.
22 lines
455 B
PHP
22 lines
455 B
PHP
<?php
|
|
|
|
use Illuminate\Routing\Attributes\Controllers\Middleware;
|
|
use Livewire\Attributes\Layout;
|
|
use Livewire\Attributes\Title;
|
|
use Livewire\Component;
|
|
|
|
new
|
|
#[Layout('layouts.app')]
|
|
#[Title('Dashboard')]
|
|
#[Middleware('auth,verified')]
|
|
class extends Component {
|
|
};
|
|
?>
|
|
|
|
<div class="flex h-full w-full flex-1 flex-col gap-4 rounded-xl">
|
|
<x-dashboard-stats />
|
|
<livewire:dashboard.connected-services />
|
|
<livewire:dashboard.roles.manager />
|
|
</div>
|
|
|