Add tournament logos

This commit is contained in:
Kalle
2024-03-31 10:46:08 +03:00
parent b98b4af1ea
commit 1d8d5b26b7
7 changed files with 24 additions and 0 deletions

View File

@@ -102,6 +102,18 @@ export function HACKY_resolvePicture(event: { name: string }) {
return tournamentLogoUrl("fb");
}
if (normalizedEventName.includes("the depths")) {
return tournamentLogoUrl("d");
}
if (normalizedEventName.includes("eclipse")) {
return tournamentLogoUrl("e");
}
if (normalizedEventName.includes("homecoming")) {
return tournamentLogoUrl("hc");
}
return tournamentLogoUrl("default");
}
@@ -158,6 +170,18 @@ export function HACKY_resolveThemeColors(event: { name: string }) {
return { bg: "#fff", text: BLACK };
}
if (normalizedEventName.includes("the depths")) {
return { bg: "#183e42", text: WHITE };
}
if (normalizedEventName.includes("eclipse")) {
return { bg: "#191919", text: WHITE };
}
if (normalizedEventName.includes("homecoming")) {
return { bg: "#1c1c1c", text: WHITE };
}
return { bg: "#3430ad", text: WHITE };
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 KiB