@@ -13,6 +13,7 @@ import { NumberTicker } from '@/components/number-ticker'
13
13
import { LuStar , LuHeart } from 'react-icons/lu'
14
14
import StarIcon from '@/components/star-icon'
15
15
import HeartIcon from '@/components/hearth-icon'
16
+ import { AnimatedTooltip } from '@/components/animated-tooltip'
16
17
17
18
const ease = [ 0.16 , 1 , 0.3 , 1 ]
18
19
@@ -74,41 +75,61 @@ function HeroPill() {
74
75
fetchGitHubData ( )
75
76
} , [ ] )
76
77
78
+ const sponsors = [
79
+ {
80
+ id : 1 ,
81
+ name : 'Maxim Ciebiera' ,
82
+ designation : 'Founder - datatino.de' ,
83
+ image : 'https://avatars.githubusercontent.com/u/47557243?v=4' ,
84
+ } ,
85
+ {
86
+ id : 2 ,
87
+ name : 'Radu Ciocan' ,
88
+ designation : 'React Native Developer' ,
89
+ image : 'https://avatars.githubusercontent.com/u/4984377?v=4' ,
90
+ } ,
91
+ ]
92
+
77
93
return (
78
94
< motion . div
79
95
initial = { { opacity : 0 , y : - 20 } }
80
96
animate = { { opacity : 1 , y : 0 } }
81
97
transition = { { duration : 0.8 , ease } }
82
98
className = "flex items-center"
83
99
>
84
- < div className = "space-y-1 " >
100
+ < div className = "space-y-3 " >
85
101
< p className = "text-center text-xs text-muted-foreground" >
86
102
Last Update { stats . lastUpdate }
87
103
</ p >
88
- < div className = { cn ( 'z-10 flex -space-x-12 rtl:space-x-reverse' ) } >
89
- < Link
90
- href = "https://github.com/sponsors/hasanharman"
91
- target = "_blank"
92
- className = "group"
93
- >
94
- < Button className = "h-10 w-[9.5rem] flex justify-start rounded-full border-2 border-white dark:border-gray-800 shadow" >
95
- < HeartIcon />
96
- Sponsor
97
- </ Button >
98
- </ Link >
99
- < Link
100
- href = "https://github.com/hasanharman/form-builder"
101
- target = "_blank"
102
- className = "h-10 cursor-pointer flex w-auto items-center space-x-1 rounded-full bg-muted px-3 group border-2 border-white whitespace-pre shadow hover:shadow-lg"
103
- >
104
- < p className = "font-medium text-primary text-sm" >
105
- Star Project on GitHub
106
- </ p >
107
- < div className = "flex items-center rounded-full px-2 py-1 text-center font-medium text-sm " >
108
- < StarIcon />
109
- < NumberTicker className = "ml-1" value = { stats . stars } />
110
- </ div >
111
- </ Link >
104
+ < div className = "flex gap-5" >
105
+ < div className = "flex flex-row items-center justify-center w-full" >
106
+ < AnimatedTooltip items = { sponsors } />
107
+ </ div >
108
+ < div className = { cn ( 'z-10 flex -space-x-12 rtl:space-x-reverse' ) } >
109
+ < Link
110
+ href = "https://github.com/sponsors/hasanharman"
111
+ target = "_blank"
112
+ className = "group"
113
+ >
114
+ < Button className = "h-10 w-[9.5rem] flex justify-start rounded-full border-2 border-white dark:border-gray-800 shadow" >
115
+ < HeartIcon />
116
+ Sponsor
117
+ </ Button >
118
+ </ Link >
119
+ < Link
120
+ href = "https://github.com/hasanharman/form-builder"
121
+ target = "_blank"
122
+ className = "h-10 cursor-pointer flex w-auto items-center space-x-1 rounded-full bg-muted px-3 group border-2 border-white whitespace-pre shadow hover:shadow-lg"
123
+ >
124
+ < p className = "font-medium text-primary text-sm" >
125
+ Star Project on GitHub
126
+ </ p >
127
+ < div className = "flex items-center rounded-full px-2 py-1 text-center font-medium text-sm " >
128
+ < StarIcon />
129
+ < NumberTicker className = "ml-1" value = { stats . stars } />
130
+ </ div >
131
+ </ Link >
132
+ </ div >
112
133
</ div >
113
134
</ div >
114
135
</ motion . div >
0 commit comments