Add tournament logos
@@ -114,6 +114,22 @@ export function HACKY_resolvePicture(event: { name: string }) {
|
||||
return tournamentLogoUrl("hc");
|
||||
}
|
||||
|
||||
if (normalizedEventName.includes("bad ideas")) {
|
||||
return tournamentLogoUrl("bio");
|
||||
}
|
||||
|
||||
if (normalizedEventName.includes("tenoch")) {
|
||||
return tournamentLogoUrl("ai");
|
||||
}
|
||||
|
||||
if (normalizedEventName.includes("megalodon mondays")) {
|
||||
return tournamentLogoUrl("mm");
|
||||
}
|
||||
|
||||
if (normalizedEventName.includes("heaven 2 ocean")) {
|
||||
return tournamentLogoUrl("ho");
|
||||
}
|
||||
|
||||
return tournamentLogoUrl("default");
|
||||
}
|
||||
|
||||
@@ -182,6 +198,22 @@ export function HACKY_resolveThemeColors(event: { name: string }) {
|
||||
return { bg: "#1c1c1c", text: WHITE };
|
||||
}
|
||||
|
||||
if (normalizedEventName.includes("bad ideas")) {
|
||||
return { bg: "#000000", text: WHITE };
|
||||
}
|
||||
|
||||
if (normalizedEventName.includes("tenoch")) {
|
||||
return { bg: "#425969", text: WHITE };
|
||||
}
|
||||
|
||||
if (normalizedEventName.includes("megalodon mondays")) {
|
||||
return { bg: "#288eb5", text: WHITE };
|
||||
}
|
||||
|
||||
if (normalizedEventName.includes("heaven 2 ocean")) {
|
||||
return { bg: "#8cf1ff", text: BLACK };
|
||||
}
|
||||
|
||||
return { bg: "#3430ad", text: WHITE };
|
||||
}
|
||||
|
||||
|
||||
BIN
public/static-assets/img/tournament-logos/ai.avif
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
public/static-assets/img/tournament-logos/ai.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
public/static-assets/img/tournament-logos/bio.avif
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
public/static-assets/img/tournament-logos/bio.png
Normal file
|
After Width: | Height: | Size: 146 KiB |
BIN
public/static-assets/img/tournament-logos/ho.avif
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
public/static-assets/img/tournament-logos/ho.png
Normal file
|
After Width: | Height: | Size: 271 KiB |
BIN
public/static-assets/img/tournament-logos/mm.avif
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
public/static-assets/img/tournament-logos/mm.png
Normal file
|
After Width: | Height: | Size: 94 KiB |