Files
mutiny-web/src/Receive.tsx
2023-02-11 16:25:35 -06:00

19 lines
565 B
TypeScript

import { Link } from "react-router-dom";
import { motion } from "framer-motion";
function Receive() {
const pageMotion = {
initial: { opacity: 0, x: 0 },
animate: { opacity: 1, x: 50, transition: { duration: 2 } },
exit: { opacity: 0, x: 0, transition: { duration: 2 } }
};
return (
<div className="about">
<motion.div initial="initial" animate="animate" exit="exit" variants={pageMotion}>about page</motion.div>
<Link to="/">Go to home page</Link>
</div>
)
}
export default Receive