= 5eca6d3602 Feat: add confirmation modal component and Livewire support
- Introduced `Confirmation` trait for reusable confirmation modal logic in Livewire components.
- Added `ConfirmationModal` Livewire component for handling confirmation prompts with customizable title, subtitle, description, and styling.
- Updated `captainhook.json` to increase `subjectLength` limit.
- Integrated confirmation modal in the sidebar layout with `<livewire:confirmation-modal/>`.
2026-05-22 11:37:31 +00:00

23 lines
575 B
PHP

<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class="dark">
<head>
@include('partials.head')
</head>
<body class="min-h-screen bg-gray-50 antialiased">
<div class="flex h-screen">
<livewire:dashboard-sidebar :active="$activeNav ?? 'dashboard'"/>
<div class="flex flex-col flex-1 min-w-0 overflow-hidden">
<x-dashbord-topbar/>
<main class="flex-1 overflow-y-auto p-4">
{{ $slot }}
</main>
</div>
<x-mary-toast/>
<livewire:confirmation-modal/>
</div>
@livewireScripts
</body>
</html>