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 0d94df1 commit 6c8c104Copy full SHA for 6c8c104
src/pages/Contact.js
@@ -1,12 +1,18 @@
1
+import { motion } from 'framer-motion';
2
import ContactDetails from '../components/contact/ContactDetails';
3
import ContactForm from '../components/contact/ContactForm';
4
5
const Contact = () => {
6
return (
- <div className="container mx-auto flex flex-col-reverse lg:flex-row py-5 lg:py-10 lg:mt-10">
7
+ <motion.div
8
+ initial={{ opacity: 0 }}
9
+ animate={{ opacity: 1 }}
10
+ exit={{ opacity: 0 }}
11
+ className="container mx-auto flex flex-col-reverse lg:flex-row py-5 lg:py-10 lg:mt-10"
12
+ >
13
<ContactForm />
14
<ContactDetails />
- </div>
15
+ </motion.div>
16
);
17
};
18
0 commit comments