Add tournament logos

This commit is contained in:
Kalle
2024-04-21 11:08:50 +03:00
parent 8ac3a25cfc
commit b958464c9e
11 changed files with 40 additions and 0 deletions

View File

@@ -138,6 +138,26 @@ export function HACKY_resolvePicture(event: { name: string }) {
return tournamentLogoUrl("mr");
}
if (normalizedEventName.includes("barracuda co")) {
return tournamentLogoUrl("bc");
}
if (normalizedEventName.includes("crimson ink")) {
return tournamentLogoUrl("ci");
}
if (normalizedEventName.includes("mesozoic mayhem")) {
return tournamentLogoUrl("me");
}
if (normalizedEventName.includes("rain or shine")) {
return tournamentLogoUrl("ros");
}
if (normalizedEventName.includes("squid junction")) {
return tournamentLogoUrl("sj");
}
return tournamentLogoUrl("default");
}
@@ -230,6 +250,26 @@ export function HACKY_resolveThemeColors(event: { name: string }) {
return { bg: "#000", text: WHITE };
}
if (normalizedEventName.includes("barracuda co")) {
return { bg: "#47b6fe", text: BLACK };
}
if (normalizedEventName.includes("crimson ink")) {
return { bg: "#000000", text: WHITE };
}
if (normalizedEventName.includes("mesozoic mayhem")) {
return { bg: "#ccd5da", text: BLACK };
}
if (normalizedEventName.includes("rain or shine")) {
return { bg: "#201c3b", text: WHITE };
}
if (normalizedEventName.includes("squid junction")) {
return { bg: "#fed09f", text: BLACK };
}
return { bg: "#3430ad", text: WHITE };
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB