From 9c029ce3d99911cc02aa9a373f926b183a0c7132 Mon Sep 17 00:00:00 2001 From: Marko Lisica Date: Fri, 10 Oct 2025 00:24:56 +0200 Subject: [PATCH 1/2] fixed firefox icon and moved viewBox from icon props to svg element --- .../components/icons/AcrobatReader.tsx | 7 +- .../components/icons/AdobeCreativeCloud.tsx | 2 +- .../components/icons/AmazonDCV.tsx | 7 +- .../components/icons/AppStore.tsx | 7 +- .../components/icons/AppleApp.tsx | 7 +- .../components/icons/BeyondCompare.tsx | 2 +- .../SoftwarePage/components/icons/Box.tsx | 7 +- .../SoftwarePage/components/icons/Brave.tsx | 7 +- .../components/icons/ChromeApp.tsx | 7 +- .../components/icons/ChromeOS.tsx | 7 +- .../components/icons/Cloudflare.tsx | 7 +- .../SoftwarePage/components/icons/Docker.tsx | 7 +- .../SoftwarePage/components/icons/Edge.tsx | 7 +- .../SoftwarePage/components/icons/Excel.tsx | 7 +- .../components/icons/Extension.tsx | 7 +- .../SoftwarePage/components/icons/Figma.tsx | 7 +- .../SoftwarePage/components/icons/Firefox.tsx | 329 ++++++++---------- .../SoftwarePage/components/icons/ITerm.tsx | 2 +- .../components/icons/IntuneCompanyPortal.tsx | 7 +- .../SoftwarePage/components/icons/LinuxOS.tsx | 7 +- .../SoftwarePage/components/icons/MacOS.tsx | 7 +- .../SoftwarePage/components/icons/Notion.tsx | 7 +- .../components/icons/OSIcon/OSIcon.tsx | 1 - .../components/icons/OmnissaHorizonClient.tsx | 2 +- .../components/icons/OnePassword.tsx | 7 +- .../SoftwarePage/components/icons/P4V.tsx | 2 +- .../SoftwarePage/components/icons/Package.tsx | 7 +- .../SoftwarePage/components/icons/Postman.tsx | 7 +- .../SoftwarePage/components/icons/Safari.tsx | 7 +- .../SoftwarePage/components/icons/Santa.tsx | 7 +- .../SoftwarePage/components/icons/Slack.tsx | 7 +- .../icons/SoftwareIcon/SoftwareIcon.tsx | 1 - .../components/icons/TeamViewer.tsx | 7 +- .../SoftwarePage/components/icons/Teams.tsx | 7 +- .../components/icons/VisualStudioCode.tsx | 7 +- .../components/icons/VncViewer.tsx | 2 +- .../components/icons/WhatsApp.tsx | 7 +- .../components/icons/WindowsApp.tsx | 7 +- .../components/icons/WindowsAppRemote.tsx | 7 +- .../components/icons/WindowsDefender.tsx | 7 +- .../components/icons/WindowsOS.tsx | 7 +- .../SoftwarePage/components/icons/Word.tsx | 7 +- .../components/icons/YubikeyManager.tsx | 2 +- .../SoftwarePage/components/icons/Zoom.tsx | 7 +- .../SoftwarePage/components/icons/iOS.tsx | 7 +- .../SoftwarePage/components/icons/iPadOS.tsx | 7 +- 46 files changed, 365 insertions(+), 232 deletions(-) diff --git a/frontend/pages/SoftwarePage/components/icons/AcrobatReader.tsx b/frontend/pages/SoftwarePage/components/icons/AcrobatReader.tsx index 2a28a7ca1d3e..d4172c7c99cf 100644 --- a/frontend/pages/SoftwarePage/components/icons/AcrobatReader.tsx +++ b/frontend/pages/SoftwarePage/components/icons/AcrobatReader.tsx @@ -3,7 +3,12 @@ import React from "react"; import type { SVGProps } from "react"; const AcrobatReader = (props: SVGProps) => ( - + ) => ( - + ) => ( - + ) => ( - + ) => ( - + ) => ( - + ) => ( - + ) => { const clipPathId = uniqueId("clip-path-"); const fillPathId = uniqueId("fill-path-"); return ( - + ) => { const fillPathCId = uniqueId("fill-path-c-"); const fillPathDId = uniqueId("fill-path-d-"); return ( - + diff --git a/frontend/pages/SoftwarePage/components/icons/ChromeOS.tsx b/frontend/pages/SoftwarePage/components/icons/ChromeOS.tsx index b2c7de845376..c4e7a32aebdd 100644 --- a/frontend/pages/SoftwarePage/components/icons/ChromeOS.tsx +++ b/frontend/pages/SoftwarePage/components/icons/ChromeOS.tsx @@ -3,7 +3,12 @@ import React from "react"; import type { SVGProps } from "react"; const ChromeOS = (props: SVGProps) => ( - + ) => ( - + ) => ( - + ) => { const fillPathF = uniqueId("fill-path-f-"); return ( - + ) => { const gradientId = uniqueId("gradient-"); return ( - + ) => { const clipPathId = uniqueId("clip-path-"); return ( - + ) => { const clipPathId = uniqueId("clip-path-"); return ( - + ) => { - const fillPathB = uniqueId("paint0_linear_440_1866"); - const fillPathC = uniqueId("paint1_radial_440_1866"); - const fillPathD = uniqueId("paint2_radial_440_1866"); - const fillPathE = uniqueId("paint3_radial_440_1866"); - const fillPathF = uniqueId("paint4_radial_440_1866"); - const fillPathG = uniqueId("paint5_radial_440_1866"); - const fillPathH = uniqueId("paint6_radial_440_1866"); - const fillPathI = uniqueId("paint7_radial_440_1866"); - const fillPathJ = uniqueId("paint8_radial_440_1866"); - const fillPathK = uniqueId("paint9_radial_440_1866"); - const fillPathL = uniqueId("paint10_radial_440_1866"); - const fillPathM = uniqueId("#paint11_linear_440_1866"); + // Create unique IDs for the SVG gradients + const gradientA = uniqueId("gradient-"); + const gradientB = uniqueId("gradient-"); + const gradientC = uniqueId("gradient-"); + const gradientD = uniqueId("gradient-"); + const gradientE = uniqueId("gradient-"); + const gradientF = uniqueId("gradient-"); + const gradientG = uniqueId("gradient-"); + const gradientH = uniqueId("gradient-"); + const gradientI = uniqueId("gradient-"); + const gradientJ = uniqueId("gradient-"); + const gradientK = uniqueId("gradient-"); + const gradientL = uniqueId("gradient-"); return ( - - - - - - - - - - - - - - + - - - - + + + + - - - - - + + + + + - - - - - + + + + + - - - + + + - - - - + + + + - - + + - - - + + + - - - - - + + + + + - - - - + + + + - - - - - + + + + + - - - + + + - - - + + + + + + + + + + + + + + + ); }; diff --git a/frontend/pages/SoftwarePage/components/icons/ITerm.tsx b/frontend/pages/SoftwarePage/components/icons/ITerm.tsx index 86a31614fdb9..4c05bbdfb14f 100644 --- a/frontend/pages/SoftwarePage/components/icons/ITerm.tsx +++ b/frontend/pages/SoftwarePage/components/icons/ITerm.tsx @@ -3,7 +3,7 @@ import * as React from "react"; import type { SVGProps } from "react"; const ITerm = (props: SVGProps) => ( - + ) => { const fillPathDId = uniqueId("fill-path-d-"); return ( - + ) => ( - + ) => ( - + ) => ( - + { ); diff --git a/frontend/pages/SoftwarePage/components/icons/OmnissaHorizonClient.tsx b/frontend/pages/SoftwarePage/components/icons/OmnissaHorizonClient.tsx index 69e209cdcc92..7acdb9ec5698 100644 --- a/frontend/pages/SoftwarePage/components/icons/OmnissaHorizonClient.tsx +++ b/frontend/pages/SoftwarePage/components/icons/OmnissaHorizonClient.tsx @@ -3,7 +3,7 @@ import * as React from "react"; import type { SVGProps } from "react"; const OmnissaHorizonClient = (props: SVGProps) => ( - + ) => ( - + ) => ( - + ) => { const clipPathId = uniqueId("clip-path-"); return ( - + ) => ( - + ) => { const linearGradientCId = uniqueId("Name=safari_svg__c"); return ( - + ) => { const clipPathId = uniqueId("clip-path-"); return ( - + ) => { const clipPathId = uniqueId("clip-path-"); return ( - + ); diff --git a/frontend/pages/SoftwarePage/components/icons/TeamViewer.tsx b/frontend/pages/SoftwarePage/components/icons/TeamViewer.tsx index 410fd6065bf5..9fdf6913f219 100644 --- a/frontend/pages/SoftwarePage/components/icons/TeamViewer.tsx +++ b/frontend/pages/SoftwarePage/components/icons/TeamViewer.tsx @@ -8,7 +8,12 @@ const TeamViewer = (props: SVGProps) => { const clipPathId = uniqueId("clip-path-"); return ( - + ) => { const linearGradientId = uniqueId("linear-gradient-"); return ( - + ) => { const clipPathId = uniqueId("clip-path-"); return ( - + ) => ( - + ) => ( - + ) => ( - + ) => { return ( - + ) => ( - + ) => ( - + ) => { const gradEId = uniqueId("word-gradient-e-"); return ( - + ) => ( - + ) => { const linearGradientId = uniqueId("linear-gradient-"); return ( - + ) => { // Note: smaller icon on OS table has thicker outline and a smaller Apple logo if (props.width === "24") { return ( - + ) => { // Note: smaller icon on OS table has thicker outline and a smaller Apple logo if (props.width === "24") { return ( - + Date: Fri, 10 Oct 2025 18:24:31 +0200 Subject: [PATCH 2/2] reverted viewBox back to icon component and added g element with transform to firefox icon --- .../components/icons/AcrobatReader.tsx | 7 +- .../components/icons/AdobeCreativeCloud.tsx | 2 +- .../components/icons/AmazonDCV.tsx | 7 +- .../components/icons/AndroidApp.tsx | 7 +- .../components/icons/AppStore.tsx | 7 +- .../components/icons/AppleApp.tsx | 7 +- .../components/icons/BeyondCompare.tsx | 2 +- .../SoftwarePage/components/icons/Box.tsx | 7 +- .../SoftwarePage/components/icons/Brave.tsx | 7 +- .../components/icons/ChromeApp.tsx | 7 +- .../components/icons/ChromeOS.tsx | 7 +- .../components/icons/Cloudflare.tsx | 7 +- .../SoftwarePage/components/icons/Docker.tsx | 7 +- .../SoftwarePage/components/icons/Edge.tsx | 7 +- .../SoftwarePage/components/icons/Excel.tsx | 7 +- .../components/icons/Extension.tsx | 7 +- .../SoftwarePage/components/icons/Falcon.tsx | 9 +- .../SoftwarePage/components/icons/Figma.tsx | 7 +- .../SoftwarePage/components/icons/Firefox.tsx | 108 +++++++++--------- .../SoftwarePage/components/icons/ITerm.tsx | 2 +- .../components/icons/IntuneCompanyPortal.tsx | 7 +- .../SoftwarePage/components/icons/LinuxOS.tsx | 7 +- .../SoftwarePage/components/icons/MacOS.tsx | 7 +- .../SoftwarePage/components/icons/Notion.tsx | 7 +- .../components/icons/OSIcon/OSIcon.tsx | 1 + .../components/icons/OmnissaHorizonClient.tsx | 2 +- .../components/icons/OnePassword.tsx | 7 +- .../SoftwarePage/components/icons/P4V.tsx | 2 +- .../SoftwarePage/components/icons/Package.tsx | 7 +- .../SoftwarePage/components/icons/Postman.tsx | 7 +- .../SoftwarePage/components/icons/Safari.tsx | 7 +- .../SoftwarePage/components/icons/Santa.tsx | 7 +- .../SoftwarePage/components/icons/Slack.tsx | 7 +- .../icons/SoftwareIcon/SoftwareIcon.tsx | 1 + .../components/icons/TeamViewer.tsx | 7 +- .../SoftwarePage/components/icons/Teams.tsx | 7 +- .../components/icons/VisualStudioCode.tsx | 7 +- .../components/icons/VncViewer.tsx | 2 +- .../components/icons/WhatsApp.tsx | 7 +- .../components/icons/WindowsApp.tsx | 7 +- .../components/icons/WindowsAppRemote.tsx | 7 +- .../components/icons/WindowsDefender.tsx | 7 +- .../components/icons/WindowsOS.tsx | 7 +- .../SoftwarePage/components/icons/Word.tsx | 7 +- .../components/icons/YubikeyManager.tsx | 2 +- .../SoftwarePage/components/icons/Zoom.tsx | 7 +- .../SoftwarePage/components/icons/iOS.tsx | 7 +- .../SoftwarePage/components/icons/iPadOS.tsx | 7 +- 48 files changed, 102 insertions(+), 290 deletions(-) diff --git a/frontend/pages/SoftwarePage/components/icons/AcrobatReader.tsx b/frontend/pages/SoftwarePage/components/icons/AcrobatReader.tsx index d4172c7c99cf..2a28a7ca1d3e 100644 --- a/frontend/pages/SoftwarePage/components/icons/AcrobatReader.tsx +++ b/frontend/pages/SoftwarePage/components/icons/AcrobatReader.tsx @@ -3,12 +3,7 @@ import React from "react"; import type { SVGProps } from "react"; const AcrobatReader = (props: SVGProps) => ( - + ) => ( - + ) => ( - + ) => ( - + ) => ( - + ) => ( - + ) => ( - + ) => ( - + ) => { const clipPathId = uniqueId("clip-path-"); const fillPathId = uniqueId("fill-path-"); return ( - + ) => { const fillPathCId = uniqueId("fill-path-c-"); const fillPathDId = uniqueId("fill-path-d-"); return ( - + diff --git a/frontend/pages/SoftwarePage/components/icons/ChromeOS.tsx b/frontend/pages/SoftwarePage/components/icons/ChromeOS.tsx index c4e7a32aebdd..b2c7de845376 100644 --- a/frontend/pages/SoftwarePage/components/icons/ChromeOS.tsx +++ b/frontend/pages/SoftwarePage/components/icons/ChromeOS.tsx @@ -3,12 +3,7 @@ import React from "react"; import type { SVGProps } from "react"; const ChromeOS = (props: SVGProps) => ( - + ) => ( - + ) => ( - + ) => { const fillPathF = uniqueId("fill-path-f-"); return ( - + ) => { const gradientId = uniqueId("gradient-"); return ( - + ) => { const clipPathId = uniqueId("clip-path-"); return ( - + ) => ( - + ) => { const clipPathId = uniqueId("clip-path-"); return ( - + ) => { @@ -120,58 +120,60 @@ const Firefox = (props: SVGProps) => { - - - - - - - - - - - - + + + + + + + + + + + + + + ); }; diff --git a/frontend/pages/SoftwarePage/components/icons/ITerm.tsx b/frontend/pages/SoftwarePage/components/icons/ITerm.tsx index 4c05bbdfb14f..264bde4dfd72 100644 --- a/frontend/pages/SoftwarePage/components/icons/ITerm.tsx +++ b/frontend/pages/SoftwarePage/components/icons/ITerm.tsx @@ -3,7 +3,7 @@ import * as React from "react"; import type { SVGProps } from "react"; const ITerm = (props: SVGProps) => ( - + ) => { const fillPathDId = uniqueId("fill-path-d-"); return ( - + ) => ( - + ) => ( - + ) => ( - + { ); diff --git a/frontend/pages/SoftwarePage/components/icons/OmnissaHorizonClient.tsx b/frontend/pages/SoftwarePage/components/icons/OmnissaHorizonClient.tsx index 7acdb9ec5698..ea0ff5eebf1f 100644 --- a/frontend/pages/SoftwarePage/components/icons/OmnissaHorizonClient.tsx +++ b/frontend/pages/SoftwarePage/components/icons/OmnissaHorizonClient.tsx @@ -3,7 +3,7 @@ import * as React from "react"; import type { SVGProps } from "react"; const OmnissaHorizonClient = (props: SVGProps) => ( - + ) => ( - + ) => ( - + ) => { const clipPathId = uniqueId("clip-path-"); return ( - + ) => ( - + ) => { const linearGradientCId = uniqueId("Name=safari_svg__c"); return ( - + ) => { const clipPathId = uniqueId("clip-path-"); return ( - + ) => { const clipPathId = uniqueId("clip-path-"); return ( - + ); diff --git a/frontend/pages/SoftwarePage/components/icons/TeamViewer.tsx b/frontend/pages/SoftwarePage/components/icons/TeamViewer.tsx index 9fdf6913f219..410fd6065bf5 100644 --- a/frontend/pages/SoftwarePage/components/icons/TeamViewer.tsx +++ b/frontend/pages/SoftwarePage/components/icons/TeamViewer.tsx @@ -8,12 +8,7 @@ const TeamViewer = (props: SVGProps) => { const clipPathId = uniqueId("clip-path-"); return ( - + ) => { const linearGradientId = uniqueId("linear-gradient-"); return ( - + ) => { const clipPathId = uniqueId("clip-path-"); return ( - + ) => ( - + ) => ( - + ) => ( - + ) => { return ( - + ) => ( - + ) => ( - + ) => { const gradEId = uniqueId("word-gradient-e-"); return ( - + ) => ( - + ) => { const linearGradientId = uniqueId("linear-gradient-"); return ( - + ) => { // Note: smaller icon on OS table has thicker outline and a smaller Apple logo if (props.width === "24") { return ( - + ) => { // Note: smaller icon on OS table has thicker outline and a smaller Apple logo if (props.width === "24") { return ( - +