mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-07-20 09:34:52 -05:00
Add tournament logo
This commit is contained in:
parent
67f7bdb731
commit
d598fb2a72
|
|
@ -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 };
|
||||
}
|
||||
|
||||
|
|
|
|||
BIN
public/static-assets/img/tournament-logos/kr.avif
Normal file
BIN
public/static-assets/img/tournament-logos/kr.avif
Normal file
Binary file not shown.
BIN
public/static-assets/img/tournament-logos/kr.png
Normal file
BIN
public/static-assets/img/tournament-logos/kr.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 183 KiB |
Loading…
Reference in New Issue
Block a user