mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-25 04:37:13 -05:00
Add tournament logos
This commit is contained in:
@@ -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 };
|
||||
}
|
||||
|
||||
|
||||
BIN
public/static-assets/img/tournament-logos/d.avif
Normal file
BIN
public/static-assets/img/tournament-logos/d.avif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.4 KiB |
BIN
public/static-assets/img/tournament-logos/d.png
Normal file
BIN
public/static-assets/img/tournament-logos/d.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 99 KiB |
BIN
public/static-assets/img/tournament-logos/e.avif
Normal file
BIN
public/static-assets/img/tournament-logos/e.avif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
BIN
public/static-assets/img/tournament-logos/e.png
Normal file
BIN
public/static-assets/img/tournament-logos/e.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 188 KiB |
BIN
public/static-assets/img/tournament-logos/hc.avif
Normal file
BIN
public/static-assets/img/tournament-logos/hc.avif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
BIN
public/static-assets/img/tournament-logos/hc.png
Normal file
BIN
public/static-assets/img/tournament-logos/hc.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 260 KiB |
Reference in New Issue
Block a user