Add Xbox 360 platform

Resolves #17
This commit is contained in:
Luke Street
2025-10-07 20:29:07 -06:00
parent 76d390f073
commit 0c268f25aa
4 changed files with 17 additions and 8 deletions
Binary file not shown.
+3
View File
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
<path d="M5.418 19.527A9.956 9.956 0 0 0 12 22a9.967 9.967 0 0 0 6.585-2.473c1.564-1.593-3.597-7.257-6.585-9.514-2.985 2.257-8.15 7.921-6.582 9.514Zm9.3-12.004c2.084 2.467 6.237 8.594 5.064 10.76A9.952 9.952 0 0 0 22 12.002a9.958 9.958 0 0 0-2.975-7.113s-.023-.018-.068-.035a.686.686 0 0 0-.234-.038c-.494 0-1.655.362-4.005 2.706zM5.045 4.855c-.048.017-.068.034-.072.035A9.963 9.963 0 0 0 2 12.003c0 2.379.832 4.561 2.217 6.278C3.05 16.11 7.2 9.988 9.284 7.522 6.934 5.178 5.771 4.818 5.28 4.818a.604.604 0 0 0-.234.039ZM12 4.959S9.546 3.523 7.63 3.455c-.753-.027-1.213.246-1.268.282C8.149 2.538 10.049 2 11.987 2H12c1.945 0 3.837.538 5.638 1.738-.056-.039-.512-.31-1.266-.283-1.917.068-4.372 1.5-4.372 1.5Z" />
</svg>

After

Width:  |  Height:  |  Size: 803 B

+5
View File
@@ -164,6 +164,7 @@ pub enum Platform {
GBA, // 2001
GC, // 2001
DS, // 2004
Xbox360, // 2005
Wii, // 2006
Switch, // 2017
}
@@ -175,6 +176,7 @@ pub const ALL_PLATFORMS: &[Platform] = &[
Platform::GBA,
Platform::GC,
Platform::DS,
Platform::Xbox360,
Platform::Wii,
Platform::Switch,
];
@@ -189,6 +191,7 @@ impl Platform {
Self::GC => "gc",
Self::DS => "nds",
Self::Wii => "wii",
Self::Xbox360 => "xbox360",
Self::Switch => "switch",
}
}
@@ -202,6 +205,7 @@ impl Platform {
Platform::GC => "GameCube",
Platform::DS => "Nintendo DS",
Platform::Wii => "Wii",
Platform::Xbox360 => "Xbox 360",
Platform::Switch => "Switch",
}
}
@@ -219,6 +223,7 @@ impl FromStr for Platform {
"gc" => Ok(Self::GC),
"nds" => Ok(Self::DS),
"wii" => Ok(Self::Wii),
"xbox360" => Ok(Self::Xbox360),
"switch" => Ok(Self::Switch),
_ => Err(()),
}
+1
View File
@@ -177,6 +177,7 @@ $breakpoints: (
.icon-switch:before { content: '\ea05'; }
.icon-ps:before { content: '\ea06'; }
.icon-ps2:before { content: '\ea07'; }
.icon-xbox360:before { content: '\ea08'; }
// Override the tooltip component
[data-tooltip]:not(a, button, input) {