feat: remove unused success popups and implement a unified SuccessModal component
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user