We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c8c104 commit 22e54f7Copy full SHA for 22e54f7
src/components/HireMeModal.js
@@ -1,8 +1,14 @@
1
+import { motion } from 'framer-motion';
2
import { FiX } from 'react-icons/fi';
3
4
const HireMeModal = ({ onClose, onRequest }) => {
5
return (
- <div className="fixed inset-0 z-30 transition-all duration-500">
6
+ <motion.div
7
+ initial={{ opacity: 0 }}
8
+ animate={{ opacity: 1 }}
9
+ exit={{ opacity: 0 }}
10
+ className="fixed inset-0 z-30 transition-all duration-500"
11
+ >
12
{/* Modal Background */}
13
<div className="bg-filter bg-black bg-opacity-50 fixed inset-0 w-full h-full z-20"></div>
14
@@ -119,7 +125,7 @@ const HireMeModal = ({ onClose, onRequest }) => {
119
125
</div>
120
126
121
127
</main>
122
- </div>
128
+ </motion.div>
123
129
);
124
130
};
131
0 commit comments