aboutsummaryrefslogtreecommitdiff
path: root/components/modal.js
diff options
context:
space:
mode:
Diffstat (limited to 'components/modal.js')
-rw-r--r--components/modal.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/components/modal.js b/components/modal.js
deleted file mode 100644
index 5d6d0cc..0000000
--- a/components/modal.js
+++ /dev/null
@@ -1,19 +0,0 @@
-export default function Modal({ open, onClose, children }) {
- return (
- <div
- onClick={onClose}
- className={`fixed z-[999] inset-0 flex justify-center items-center transition-colors ${
- open ? "visible bg-black bg-opacity-50 backdrop-blur-sm" : "invisible"
- }`}
- >
- <div
- onClick={(e) => e.stopPropagation()}
- className={`shadow rounded-xl transition-all ${
- open ? "scale-100 opacity-100" : "scale-75 opacity-0"
- }`}
- >
- {children}
- </div>
- </div>
- );
-}