From cac0d3b4249f3238f3b029567228785ffe4e3c2b Mon Sep 17 00:00:00 2001 From: Marko Lisica <83164494+marko-lisica@users.noreply.github.com> Date: Thu, 30 Oct 2025 11:44:37 +0100 Subject: [PATCH] Fixed Firefox icon and moved viewBox from icon props to SVG element (#34076) **Related issue:** Resolves #31845 # Checklist for submitter - [x] QA'd all new/changed functionality manually --- .../components/icons/AdobeCreativeCloud.tsx | 2 +- .../components/icons/AndroidApp.tsx | 7 +- .../components/icons/BeyondCompare.tsx | 2 +- .../SoftwarePage/components/icons/Falcon.tsx | 9 +- .../SoftwarePage/components/icons/Firefox.tsx | 339 ++++++++---------- .../SoftwarePage/components/icons/ITerm.tsx | 2 +- .../components/icons/OmnissaHorizonClient.tsx | 2 +- .../SoftwarePage/components/icons/P4V.tsx | 2 +- .../components/icons/VncViewer.tsx | 2 +- .../components/icons/WindowsApp.tsx | 2 +- .../components/icons/YubikeyManager.tsx | 2 +- 11 files changed, 158 insertions(+), 213 deletions(-) diff --git a/frontend/pages/SoftwarePage/components/icons/AdobeCreativeCloud.tsx b/frontend/pages/SoftwarePage/components/icons/AdobeCreativeCloud.tsx index 0a5c2c5308..5962df7a6c 100644 --- a/frontend/pages/SoftwarePage/components/icons/AdobeCreativeCloud.tsx +++ b/frontend/pages/SoftwarePage/components/icons/AdobeCreativeCloud.tsx @@ -3,7 +3,7 @@ import * as React from "react"; import type { SVGProps } from "react"; const AdobeCreativeCloud = (props: SVGProps) => ( - + ) => ( - + ) => ( - + ) => ( - + ) => { - 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 86a31614fd..264bde4dfd 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) => ( - + ) => ( - + ) => ( - + ) => ( - + ) => ( - + ) => ( - +