From a7a3bac493c33908344ef637114d0a55f73d7344 Mon Sep 17 00:00:00 2001 From: Achyuth Mohan Date: Tue, 6 Dec 2022 21:15:55 +0530 Subject: [PATCH] aos to teams --- src/pages/Teams/TeamCard.js | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/src/pages/Teams/TeamCard.js b/src/pages/Teams/TeamCard.js index 0de8269..b57543d 100644 --- a/src/pages/Teams/TeamCard.js +++ b/src/pages/Teams/TeamCard.js @@ -1,21 +1,12 @@ -import React from 'react' +import React, { useEffect } from 'react' import './Teams.css' - +import Aos from 'aos' const TeamCard = ({id, name, image}) => { -// if(id%2===0){ -// return( -//
-//
-//
-//
-//

Card Title

-//
-//
-//
-// ) -// } + useEffect(()=>{ + Aos.init({duration:1100}) + },[]) return ( -
+
team_member

{name}