feat: remove unused success popups and implement a unified SuccessModal component

This commit is contained in:
fredy.siswanto
2025-02-23 14:59:26 +07:00
parent 15f8dbb8e2
commit a261df3a96
8 changed files with 197 additions and 134 deletions
+10 -10
View File
@@ -37,16 +37,16 @@ export const PopupModal = ({
/>
<div className="fixed inset-0 flex w-screen justify-center overflow-y-auto p-4 max-sm:bg-white sm:items-center">
<DialogPanel className="max-w-lg space-y-6 rounded-lg bg-white p-8 duration-300 ease-out data-[closed]:scale-95 data-[closed]:opacity-0 sm:shadow-lg">
<button
onClick={onClose}
className="top-4 left-4 items-center lg:hidden"
>
<LeftArrow
width={50}
height={50}
/>
</button>
<DialogTitle className="flex justify-center">
<DialogTitle className="relative flex justify-center">
<button
onClick={onClose}
className="absolute top-0 left-0 items-center lg:hidden"
>
<LeftArrow
width={50}
height={50}
/>
</button>
<img
src={APP.logo}
alt={APP.title}