From 5fe10e3d6011e31891cd3fec49f61b6b7c5dc302 Mon Sep 17 00:00:00 2001 From: Juan Manuel Ibarra Date: Tue, 6 Jun 2023 08:19:36 -0300 Subject: [PATCH] transition for the cards on mouse leave --- src/components/About.jsx | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/components/About.jsx b/src/components/About.jsx index 27e4f272..0dea4d63 100644 --- a/src/components/About.jsx +++ b/src/components/About.jsx @@ -1,16 +1,16 @@ -import React from "react"; -import Tilt from "react-tilt"; -import { motion } from "framer-motion"; +import React from 'react' +import Tilt from 'react-tilt' +import { motion } from 'framer-motion' -import { styles } from "../styles"; -import { services } from "../constants"; -import { SectionWrapper } from "../hoc"; -import { fadeIn, textVariant } from "../utils/motion"; +import { styles } from '../styles' +import { services } from '../constants' +import { SectionWrapper } from '../hoc' +import { fadeIn, textVariant } from '../utils/motion' const ServiceCard = ({ index, title, icon }) => ( - +
(
-); +) const About = () => { return ( @@ -44,7 +44,7 @@ const About = () => { I'm a skilled software developer with experience in TypeScript and @@ -60,7 +60,7 @@ const About = () => { ))} - ); -}; + ) +} -export default SectionWrapper(About, "about"); +export default SectionWrapper(About, 'about')