Skip to content

Commit ac39223

Browse files
Add the bots (#124)
1 parent 2523ef6 commit ac39223

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
5.83 KB
Loading

frontend/src/helpers/teamLogo.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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

1414
export 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

Comments
 (0)