@@ -24,23 +24,23 @@ const ProfileCard = () => {
24
24
return (
25
25
< div className = 'profile-card-wrapper' >
26
26
< motion . main
27
- // {...basicFadeUpProfile}
27
+ { ...basicFadeUpProfile }
28
28
className = 'profile-card-main' role = 'main' >
29
29
< div className = "profile-card-header" >
30
30
< div className = "profile-card-header-body" >
31
31
< motion . img
32
- // {...basicScaleUpProfile}
32
+ { ...basicScaleUpProfile }
33
33
src = { avatar } alt = "Avatar of Victor Crest" />
34
34
< div className = "profile-card-bio" >
35
35
< motion . h2
36
- // {...basicFadeUp2Profile}
36
+ { ...basicFadeUp2Profile }
37
37
className = 'profile-card-name' >
38
38
Victor Crest
39
39
< span className = 'profile-card-age' > 26</ span > </ motion . h2 >
40
40
</ div >
41
41
</ div >
42
42
< motion . p
43
- // {...basicFadeUp3Profile}
43
+ { ...basicFadeUp3Profile }
44
44
className = "profile-card-location" >
45
45
London
46
46
</ motion . p >
@@ -49,13 +49,13 @@ const ProfileCard = () => {
49
49
{ statsData . map ( ( stat , index ) => {
50
50
return (
51
51
< motion . li
52
- // initial={{opacity:0, scale: 0}}
53
- // animate={{opacity:1, scale: 1,
54
- // transition: {
55
- // delay: 1.4 + (0.2 * index),
56
- // ease: 'easeOut',
57
- // duration: .6,
58
- // }}}
52
+ initial = { { opacity :0 , scale : 0 } }
53
+ animate = { { opacity :1 , scale : 1 ,
54
+ transition : {
55
+ delay : 1.4 + ( 0.2 * index ) ,
56
+ ease : 'easeOut' ,
57
+ duration : .6 ,
58
+ } } }
59
59
key = { `${ stat . statName } 1234` } className = "profile-card-stat-item"
60
60
role = 'list-item' >
61
61
< span > { stat . stat } </ span >
0 commit comments