mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-24 15:08:44 -05:00
Add tournament logo
This commit is contained in:
parent
bc31e8215a
commit
aa5e97b68c
|
|
@ -134,6 +134,10 @@ export function HACKY_resolvePicture(event: { name: string }) {
|
|||
return tournamentLogoUrl("kr");
|
||||
}
|
||||
|
||||
if (normalizedEventName.includes("menu royale")) {
|
||||
return tournamentLogoUrl("mr");
|
||||
}
|
||||
|
||||
return tournamentLogoUrl("default");
|
||||
}
|
||||
|
||||
|
|
@ -222,6 +226,10 @@ export function HACKY_resolveThemeColors(event: { name: string }) {
|
|||
return { bg: "#32333a", text: WHITE };
|
||||
}
|
||||
|
||||
if (normalizedEventName.includes("menu royale")) {
|
||||
return { bg: "#000", text: WHITE };
|
||||
}
|
||||
|
||||
return { bg: "#3430ad", text: WHITE };
|
||||
}
|
||||
|
||||
|
|
|
|||
BIN
public/static-assets/img/tournament-logos/mr.avif
Normal file
BIN
public/static-assets/img/tournament-logos/mr.avif
Normal file
Binary file not shown.
BIN
public/static-assets/img/tournament-logos/mr.png
Normal file
BIN
public/static-assets/img/tournament-logos/mr.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 169 KiB |
Loading…
Reference in New Issue
Block a user