@@ -11,17 +11,44 @@ const AppBanner = () => {
11
11
< motion . section
12
12
initial = { { opacity : 0 } }
13
13
animate = { { opacity : 1 } }
14
- exit = { { opacity : 0 } }
14
+ transition = { { ease : 'easeInOut' , duration : 0.9 , delay : 0.2 } }
15
15
className = "flex flex-col sm:justify-between items-center sm:flex-row mt-12 md:mt-2"
16
16
>
17
17
< div className = "w-full md:w-1/3 text-left" >
18
- < h1 className = "text-2xl lg:text-4xl xl:text-5xl text-center sm:text-left font-semibold text-ternary-dark dark:text-primary-light uppercase" >
18
+ < motion . h1
19
+ initial = { { opacity : 0 } }
20
+ animate = { { opacity : 1 } }
21
+ transition = { {
22
+ ease : 'easeInOut' ,
23
+ duration : 0.9 ,
24
+ delay : 0.1 ,
25
+ } }
26
+ className = "text-2xl lg:text-4xl xl:text-5xl text-center sm:text-left font-semibold text-ternary-dark dark:text-primary-light uppercase"
27
+ >
19
28
Hi, Iam Stoman
20
- </ h1 >
21
- < p className = "mt-4 text-lg sm:text-xl lg:text-3xl xl:text-4xl text-center sm:text-left font-semibold leading-none text-gray-400" >
29
+ </ motion . h1 >
30
+ < motion . p
31
+ initial = { { opacity : 0 } }
32
+ animate = { { opacity : 1 } }
33
+ transition = { {
34
+ ease : 'easeInOut' ,
35
+ duration : 0.9 ,
36
+ delay : 0.2 ,
37
+ } }
38
+ className = "mt-4 text-lg sm:text-xl lg:text-3xl xl:text-4xl text-center sm:text-left font-semibold leading-none text-gray-400"
39
+ >
22
40
A Full-Stack Developer & Design Enthusiast
23
- </ p >
24
- < div className = "flex justify-center sm:block" >
41
+ </ motion . p >
42
+ < motion . div
43
+ initial = { { opacity : 0 } }
44
+ animate = { { opacity : 1 } }
45
+ transition = { {
46
+ ease : 'easeInOut' ,
47
+ duration : 0.9 ,
48
+ delay : 0.3 ,
49
+ } }
50
+ className = "flex justify-center sm:block"
51
+ >
25
52
< a
26
53
download = "Stoman-Resume.pdf"
27
54
href = "/files/Stoman-Resume.pdf"
@@ -31,16 +58,21 @@ const AppBanner = () => {
31
58
< FiArrowDownCircle className = "ml-0 sm:ml-1 mr-2 sm:mr-3 h-5 w-5 sn:w-6 sm:h-6" > </ FiArrowDownCircle >
32
59
< span className = "text-sm sm:text-lg" > Download CV</ span >
33
60
</ a >
34
- </ div >
61
+ </ motion . div >
35
62
</ div >
36
- < div className = "w-full sm:w-2/3 text-right float-right mt-8 sm:mt-0" >
63
+ < motion . div
64
+ initial = { { opacity : 0 , y : - 180 } }
65
+ animate = { { opacity : 1 , y : 0 } }
66
+ transition = { { ease : 'easeInOut' , duration : 0.9 , delay : 0.4 } }
67
+ className = "w-full sm:w-2/3 text-right float-right mt-8 sm:mt-0"
68
+ >
37
69
< img
38
70
src = {
39
71
activeTheme === 'dark' ? developerLight : developerDark
40
72
}
41
73
alt = "Developer"
42
74
/>
43
- </ div >
75
+ </ motion . div >
44
76
</ motion . section >
45
77
) ;
46
78
} ;
0 commit comments