diff --git a/resources/views/components/app-layout.blade.php b/resources/views/components/app-layout.blade.php index 8cab3c1..db75d66 100644 --- a/resources/views/components/app-layout.blade.php +++ b/resources/views/components/app-layout.blade.php @@ -58,5 +58,6 @@ @include('partials.wallet-topup-modal', ['openOnLoad' => (bool) session('topup_required')]) @include('partials.afia') @include('partials.sso-keepalive') + @include('partials.confirm-prompt') diff --git a/resources/views/partials/confirm-prompt.blade.php b/resources/views/partials/confirm-prompt.blade.php new file mode 100644 index 0000000..2b0af65 --- /dev/null +++ b/resources/views/partials/confirm-prompt.blade.php @@ -0,0 +1,213 @@ +{{-- + Ladill custom confirm dialog (replaces native window.confirm for app UX). + + Usage: + 1) Forms:
+ 2) JS: const ok = await window.ladillConfirm({ title, message, confirmLabel, variant }) + + Bottom sheet on mobile, centered card on desktop — same pattern as x-modal. +--}} + + +