Add tournament logos

This commit is contained in:
Kalle
2024-04-04 23:08:37 +03:00
parent 4bdd1b5cdb
commit 433404e979
9 changed files with 32 additions and 0 deletions

View File

@@ -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 };
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB