diff --git a/assets/icons.woff2 b/assets/icons.woff2 index 3362aaa..32f9368 100644 Binary files a/assets/icons.woff2 and b/assets/icons.woff2 differ diff --git a/assets/platforms/xbox360.svg b/assets/platforms/xbox360.svg new file mode 100644 index 0000000..baa0441 --- /dev/null +++ b/assets/platforms/xbox360.svg @@ -0,0 +1,3 @@ + + + diff --git a/crates/core/src/models.rs b/crates/core/src/models.rs index e2cd897..dd70228 100644 --- a/crates/core/src/models.rs +++ b/crates/core/src/models.rs @@ -158,14 +158,15 @@ pub struct FrogressMapping { #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)] pub enum Platform { - PS, // 1994 - N64, // 1996 - PS2, // 2000 - GBA, // 2001 - GC, // 2001 - DS, // 2004 - Wii, // 2006 - Switch, // 2017 + PS, // 1994 + N64, // 1996 + PS2, // 2000 + GBA, // 2001 + GC, // 2001 + DS, // 2004 + Xbox360, // 2005 + Wii, // 2006 + Switch, // 2017 } pub const ALL_PLATFORMS: &[Platform] = &[ @@ -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(()), } diff --git a/css/main.scss b/css/main.scss index 83f8c7b..07fc7ab 100644 --- a/css/main.scss +++ b/css/main.scss @@ -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) {