@props([ 'title' => config('app.name'), 'heading' => 'Control centre', 'subheading' => null, 'fullWidth' => false, ]) {{ $title }} @vite(['resources/css/app.css', 'resources/js/app.js']) @stack('styles')
! $fullWidth, ])>
Micronet Solutions

CCTV monitoring platform

{{ auth()->user()?->name }}

{{ \App\Models\User::availableRoles()[auth()->user()?->role ?? 'viewer'] ?? 'User' }}

@if (auth()->user()?->isClient())

{{ auth()->user()?->organisation?->name ?: 'No client organisation set' }}

@endif
@csrf
@if (session('status'))
{{ session('status') }}
@endif
{{ $slot }}
@stack('scripts')