mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-20 10:04:57 -05:00
Add tournament logo
This commit is contained in:
@@ -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.
|
After Width: | Height: | Size: 4.0 KiB |
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 |
Reference in New Issue
Block a user