From 9647eb35c06be97ed3807b8cb212d54047f8a598 Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Sat, 26 Oct 2024 18:21:00 +0200 Subject: [PATCH] Use Windows icon from Font Awesome --- src/components/common/PlatformIcon.tsx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/common/PlatformIcon.tsx b/src/components/common/PlatformIcon.tsx index f9ce085f6..f307c9a18 100644 --- a/src/components/common/PlatformIcon.tsx +++ b/src/components/common/PlatformIcon.tsx @@ -103,9 +103,15 @@ const PlatformIcon = ({ case Platform.WebOS: return ; - // Removed due to Microsoft, see https://github.com/simple-icons/simple-icons/issues/11236 - // case Platform.Windows: - // return ; + case Platform.Windows: + // Not available in simple-icons because it was removed due to Microsoft (https://github.com/simple-icons/simple-icons/issues/11236) + // using the Font Awesome icon instead + // Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc. + return ( + + + + ); default: return null;