Add tournament logo

This commit is contained in:
Kalle 2024-04-07 12:03:08 +03:00
parent 67f7bdb731
commit d598fb2a72
3 changed files with 8 additions and 0 deletions

View File

@ -130,6 +130,10 @@ export function HACKY_resolvePicture(event: { name: string }) {
return tournamentLogoUrl("ho");
}
if (normalizedEventName.includes("kraken royale")) {
return tournamentLogoUrl("kr");
}
return tournamentLogoUrl("default");
}
@ -214,6 +218,10 @@ export function HACKY_resolveThemeColors(event: { name: string }) {
return { bg: "#8cf1ff", text: BLACK };
}
if (normalizedEventName.includes("kraken royale")) {
return { bg: "#32333a", text: WHITE };
}
return { bg: "#3430ad", text: WHITE };
}

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB