{{ session('status') }}
@endif
@if($errors->any())
-
@foreach($errors->all() as $error)
- {{ $error }} @endforeach
@vite(['resources/css/app.css', 'resources/js/admin.js']) @php $user = auth()->user(); $themePreference = $user?->theme_preference; if (! in_array($themePreference, ['light', 'dark', 'auto'], true)) { if ($user?->dark_mode_enabled) { $themePreference = 'dark'; } else { $themePreference = (string) setting('admin_theme_default', 'light'); } } if (! in_array($themePreference, ['light', 'dark', 'auto'], true)) { $themePreference = 'light'; } @endphp