diff --git a/app/Livewire/Settings/DeleteUserForm.php b/app/Livewire/Settings/DeleteUserForm.php index 74a2ba2..2906ace 100644 --- a/app/Livewire/Settings/DeleteUserForm.php +++ b/app/Livewire/Settings/DeleteUserForm.php @@ -15,6 +15,8 @@ final class DeleteUserForm extends Component public string $password = ''; + public bool $confirmingUserDeletion = false; + /** * Delete the currently authenticated user. */ diff --git a/resources/views/components/auth-header.blade.php b/resources/views/components/auth-header.blade.php index e596a3f..9d38db4 100644 --- a/resources/views/components/auth-header.blade.php +++ b/resources/views/components/auth-header.blade.php @@ -4,6 +4,6 @@ ])
- {{ $title }} - {{ $description }} +

{{ $title }}

+

{{ $description }}

diff --git a/resources/views/components/dashboard-sidebar.blade.php b/resources/views/components/dashboard-sidebar.blade.php index 721681c..9f6e911 100644 --- a/resources/views/components/dashboard-sidebar.blade.php +++ b/resources/views/components/dashboard-sidebar.blade.php @@ -54,17 +54,17 @@ public function navItems(): DataCollection new NavItemData( label: 'Settings', icon: 'lucide.settings', - active_pattern: 'settings.*', + active_pattern: 'settings.*', // Kept as fallback, but handled dynamically in view sub_menu: NavSubItemData::collect([ new NavSubItemData( label: 'Profile', route: 'profile.edit', - active_pattern: 'settings.profile', + active_pattern: 'profile.edit', ), new NavSubItemData( label: 'Security', route: 'security.edit', - active_pattern: 'settings.security', + active_pattern: 'security.edit', ), ], DataCollection::class) ), @@ -72,6 +72,7 @@ public function navItems(): DataCollection } }; ?> +