@@ -6,19 +6,19 @@ const knownLogos = new Set([
66 'namec' , 'neon' , 'neuislanders' , 'op-amp' , 'orcabot' , 'pequi-mecânico' ,
77 'red-dragons' , 'ri-one' , 'robôcin' , 'robodragons' , 'robofei' , 'roboime' ,
88 'robojackets' , 'roboteam-twente' , 'seegoals' , 'spbunited' , 'src' , 'taurabots' ,
9- 'tigers-mannheim' , 'turtlerabbit' , 'titans' , 'traps' , 'ubc-thunderbots' ,
9+ 'the-bots' , ' tigers-mannheim', 'turtlerabbit' , 'titans' , 'traps' , 'ubc-thunderbots' ,
1010 'unball' , 'ultron' , 'umass-minutebots' , 'warthog-robotics' , 'uroborus' ,
1111 'utbots' , 'yellow' , 'zjunlict'
1212] )
1313
1414export const getTeamLogoUrl = ( teamName : string ) : string => {
1515 const logoBaseName = teamName . toLowerCase ( ) . replace ( ' ' , '-' )
16-
16+
1717 if ( knownLogos . has ( logoBaseName ) ) {
1818 // Use URL import for dynamic loading that works with Vite
1919 return new URL ( `../assets/logos/${ logoBaseName } .png` , import . meta. url ) . href
2020 }
21-
21+
2222 // Return default logo
2323 return new URL ( '../assets/logos/no-logo.png' , import . meta. url ) . href
24- }
24+ }
0 commit comments