File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -300,19 +300,15 @@ const Academy = () => {
300300 className = "flex items-center gap-3 group hover:scale-[1.01] transition-all duration-300"
301301 >
302302 < div className = "w-10 h-10 md:w-11 md:h-11 rounded-xl bg-white/5 p-1.5 border border-white/10 group-hover:border-alien-green/50 group-hover:bg-alien-green/10 transition-all duration-300 flex items-center justify-center overflow-hidden" >
303- { ( p as any ) . lucideIcon && LUCIDE_ICON_MAP [ ( p as any ) . lucideIcon ] ? (
304- ( ( ) => { const Icon = LUCIDE_ICON_MAP [ ( p as any ) . lucideIcon ] ; return < Icon className = "w-6 h-6 text-gray-400 group-hover:text-alien-green transition-colors duration-300" /> ; } ) ( )
305- ) : (
306- < img
307- src = { p . logo }
308- alt = { p . name }
309- className = "w-full h-full object-contain grayscale group-hover:grayscale-0 transition-all duration-500 scale-90 group-hover:scale-100"
310- onError = { ( e ) => {
311- e . currentTarget . style . opacity = '0.3' ;
312- e . currentTarget . style . filter = 'none' ;
313- } }
314- />
315- ) }
303+ < img
304+ src = { p . logo }
305+ alt = { p . name }
306+ className = "w-full h-full object-contain grayscale group-hover:grayscale-0 transition-all duration-500 scale-90 group-hover:scale-100"
307+ onError = { ( e ) => {
308+ e . currentTarget . style . opacity = '0.3' ;
309+ e . currentTarget . style . filter = 'none' ;
310+ } }
311+ />
316312 </ div >
317313 < span className = "text-[11px] md:text-[12px] text-gray-500 group-hover:text-white transition-colors duration-300 tracking-tight font-medium truncate max-w-[100px]" >
318314 { p . name }
You can’t perform that action at this time.
0 commit comments