File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const AltHeroSection = () => {
5
5
return (
6
6
< div className = "flex flex-col items-center justify-center" >
7
7
< div className = "my-16 flex flex-col items-center px-3 pb-6 sm:mb-20 sm:mt-20" >
8
- < h1 className = "mb-16 text-center text-5xl font-black md:w-3/4 md:text-7xl lg:text-9xl dark:text-primary-400 " >
8
+ < h1 className = "animate-text mb-16 bg-gradient-to-r from-primary-600 via-rose-500 to-primary-600 bg-clip- text text -center text-5xl font-black text-transparent md:w-3/4 md:text-7xl lg:text-9xl" >
9
9
FullStack Web Developer
10
10
</ h1 >
11
11
< p className = "text-center text-xl text-dark-900 dark:text-white" >
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ export default {
44
44
slideUp : 'slideUp 0.5s ease-in-out forwards' ,
45
45
slideLeft : 'slideLeft 0.5s ease-in-out forwards' ,
46
46
fadeIn : 'fadeIn 0.5s ease-in-out forwards' ,
47
+ text : 'text 5s ease infinite alternate' ,
47
48
} ,
48
49
keyframes : {
49
50
slideUp : {
@@ -61,6 +62,16 @@ export default {
61
62
'0%' : { opacity : 0 , transform : 'scale(0.5)' } ,
62
63
'100%' : { opacity : 1 , transform : 'scale(1)' } ,
63
64
} ,
65
+ text : {
66
+ '0%, 100%' : {
67
+ backgroundSize : '200% 200%' ,
68
+ backgroundPosition : 'left center' ,
69
+ } ,
70
+ '50%' : {
71
+ backgroundSize : '200% 200%' ,
72
+ backgroundPosition : 'right center' ,
73
+ } ,
74
+ } ,
64
75
} ,
65
76
} ,
66
77
container : {
You can’t perform that action at this time.
0 commit comments