@@ -81,7 +81,7 @@ const SponsorCard = ({ sponsor }: { sponsor: SponsorProps }) => {
8181 </ div >
8282 </ >
8383 ) : (
84- < span > Upload Logo</ span >
84+ < span className = "text-xs lowercase" > Upload Logo</ span >
8585 ) }
8686 </ label >
8787 ) : logoPreview ? (
@@ -96,8 +96,8 @@ const SponsorCard = ({ sponsor }: { sponsor: SponsorProps }) => {
9696 ) : sponsor . logo ? (
9797 < div className = "text-foreground z-10" > { sponsor . logo } </ div >
9898 ) : (
99- < div className = "border-border/60 text-muted-foreground/60 group-hover:border-border group-hover:text-muted-foreground/80 z-10 flex h-48 w-full items-center justify-center rounded-lg border border-dashed text-sm transition-colors sm:h-64" >
100- { sponsor . placeholderText || "Your Image Here " }
99+ < div className = "border-border/60 text-muted-foreground/60 group-hover:border-border group-hover:text-muted-foreground/80 z-10 flex h-48 w-full items-center justify-center rounded-lg border border-dashed text-sm lowercase transition-colors sm:h-64" >
100+ { sponsor . placeholderText || "your image here " }
101101 </ div >
102102 ) }
103103 </ div >
@@ -109,19 +109,19 @@ const SponsorCard = ({ sponsor }: { sponsor: SponsorProps }) => {
109109 < input
110110 value = { name }
111111 onChange = { ( e ) => setName ( e . target . value ) }
112- className = "border-primary/50 focus:border-primary placeholder:text-muted-foreground/50 max-w-full border-b bg-transparent py-1 text-2xl font-semibold tracking-tight outline-none"
113- placeholder = "Company Name "
112+ className = "border-primary/50 focus:border-primary placeholder:text-muted-foreground/50 max-w-full border-b bg-transparent py-1 text-2xl font-semibold tracking-tight lowercase outline-none"
113+ placeholder = "company name "
114114 autoFocus
115115 />
116116 ) : (
117- < h3 className = "text-2xl font-semibold tracking-tight" >
118- { name || "Company Name " }
117+ < h3 className = "text-2xl font-semibold tracking-tight lowercase " >
118+ { name || "company name " }
119119 </ h3 >
120120 ) }
121121
122122 { sponsor . badge && (
123123 < span
124- className = { `rounded-md border px-2.5 py-1 text-xs font-medium whitespace-nowrap ${
124+ className = { `rounded-md border px-2.5 py-1 text-[10px] font-medium whitespace-nowrap lowercase ${
125125 sponsor . badgeColor === "success"
126126 ? "border-green-500/20 bg-green-500/10 text-green-500"
127127 : "bg-muted text-muted-foreground border-border/50"
@@ -136,13 +136,12 @@ const SponsorCard = ({ sponsor }: { sponsor: SponsorProps }) => {
136136 < textarea
137137 value = { description }
138138 onChange = { ( e ) => setDescription ( e . target . value ) }
139- className = "text-muted-foreground border-primary/50 focus:border-primary placeholder:text-muted-foreground/50 mb-8 h-32 w-full resize-none rounded-md border bg-transparent p-3 text-[15px] leading-relaxed outline-none"
140- placeholder = "Write a short description about how your company supports developers or open source..."
139+ className = "text-muted-foreground border-primary/50 focus:border-primary placeholder:text-muted-foreground/50 mb-8 h-32 w-full resize-none rounded-md border bg-transparent p-3 text-[15px] leading-relaxed lowercase outline-none"
140+ placeholder = "write a short description about how your company supports developers or open source..."
141141 />
142142 ) : (
143- < p className = "text-muted-foreground mb-8 line-clamp-4 max-w-md text-[15px] leading-relaxed" >
144- { description ||
145- "Add a description of your company and how you support the community." }
143+ < p className = "text-muted-foreground mb-8 line-clamp-4 max-w-md text-[15px] leading-relaxed lowercase" >
144+ { description }
146145 </ p >
147146 ) }
148147
@@ -154,7 +153,7 @@ const SponsorCard = ({ sponsor }: { sponsor: SponsorProps }) => {
154153 target = "_blank"
155154 rel = "noopener noreferrer"
156155 >
157- < SecondaryButton className = "text-sm" >
156+ < SecondaryButton className = "text-sm lowercase " >
158157 { sponsor . action . label }
159158 </ SecondaryButton >
160159 </ Link >
@@ -163,10 +162,10 @@ const SponsorCard = ({ sponsor }: { sponsor: SponsorProps }) => {
163162
164163 { isEditing && (
165164 < SecondaryButton
166- className = "border-primary/50 text-primary hover:bg-primary/10 ml-auto text-sm"
165+ className = "border-primary/50 text-primary hover:bg-primary/10 ml-auto text-sm lowercase "
167166 onClick = { ( ) => setIsEditing ( false ) }
168167 >
169- Done Editing
168+ done editing
170169 </ SecondaryButton >
171170 ) }
172171 </ div >
@@ -178,11 +177,11 @@ const SponsorCard = ({ sponsor }: { sponsor: SponsorProps }) => {
178177export default function BackedBy ( ) {
179178 const sponsors : SponsorProps [ ] = [
180179 {
181- name : "Vercel " ,
182- badge : "Open Source Program " ,
180+ name : "vercel " ,
181+ badge : "open source program " ,
183182 badgeColor : "default" ,
184183 description :
185- "Providing the robust infrastructure that keeps Its Hover fast, reliable, and accessible to creators worldwide. Vercel enables seamless deployment with zero configuration." ,
184+ "providing the robust infrastructure that keeps its hover fast, reliable, and accessible to creators worldwide. vercel enables seamless deployment with zero configuration." ,
186185 logo : (
187186 < svg
188187 fill = "currentColor"
@@ -196,13 +195,13 @@ export default function BackedBy() {
196195 ) ,
197196 } ,
198197 {
199- name : "Your Company Here " ,
198+ name : "your company here " ,
200199 description :
201- "Join us in building the future of interactive icons. Sponsor Its Hover to get your brand featured here, reaching thousands of developers and designers." ,
202- placeholderText : "Your Logo Here " ,
200+ "join us in building the future of interactive icons. sponsor its hover to get your brand featured here, reaching thousands of developers and designers." ,
201+ placeholderText : "your logo here " ,
203202 editable : true ,
204203 action : {
205- label : "Contact Us " ,
204+ label : "contact us " ,
206205 href : "https://x.com/abhijitwt" ,
207206 } ,
208207 } ,
@@ -217,35 +216,26 @@ export default function BackedBy() {
217216 viewport = { { once : true } }
218217 className = "mb-16 flex flex-col items-center space-y-4 text-center"
219218 >
220- < h2
221- className = "font-serif text-3xl md:text-4xl"
222- style = { { fontFamily : "Georgia, serif" } }
223- >
224- Backed By
219+ < h2 className = "text-4xl font-bold tracking-tight lowercase md:text-5xl" >
220+ backed by
225221 </ h2 >
226- < p className = "text-muted-foreground max-w-2xl px-4" >
227- Its Hover is supported by incredible tools and companies.
222+ < p className = "text-muted-foreground max-w-2xl px-4 lowercase " >
223+ its hover is supported by incredible tools and companies.
228224 </ p >
229225 </ motion . div >
230226
231227 < div className = "grid grid-cols-1 gap-6" >
232- < motion . div
233- initial = { { opacity : 0 , y : 20 } }
234- whileInView = { { opacity : 1 , y : 0 } }
235- transition = { { duration : 0.5 , delay : 0.1 } }
236- viewport = { { once : true } }
237- >
238- < SponsorCard sponsor = { sponsors [ 0 ] } />
239- </ motion . div >
240-
241- < motion . div
242- initial = { { opacity : 0 , y : 20 } }
243- whileInView = { { opacity : 1 , y : 0 } }
244- transition = { { duration : 0.5 , delay : 0.2 } }
245- viewport = { { once : true } }
246- >
247- < SponsorCard sponsor = { sponsors [ 1 ] } />
248- </ motion . div >
228+ { sponsors . map ( ( sponsor , index ) => (
229+ < motion . div
230+ key = { sponsor . name }
231+ initial = { { opacity : 0 , y : 20 } }
232+ whileInView = { { opacity : 1 , y : 0 } }
233+ transition = { { duration : 0.5 , delay : 0.1 * ( index + 1 ) } }
234+ viewport = { { once : true } }
235+ >
236+ < SponsorCard sponsor = { sponsor } />
237+ </ motion . div >
238+ ) ) }
249239 </ div >
250240 </ section >
251241 ) ;
0 commit comments