Skip to content

Commit 9e4cb63

Browse files
committed
chore: update rocket icon
1 parent 2aaaa2b commit 9e4cb63

File tree

5 files changed

+10
-24
lines changed

5 files changed

+10
-24
lines changed

src/Assets/Icon/ic-nav-rocket.svg

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Loading

src/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
import { SyntheticEvent, useEffect, useRef, useState } from 'react'
1818
import { motion } from 'framer-motion'
1919

20-
import { ReactComponent as ICDeploy } from '@Icons/ic-nav-rocket.svg'
2120
import DeployAudio from '@Sounds/DeployAudio.mp3'
2221
import { ComponentSizeType } from '@Shared/constants'
2322

2423
import { Button } from '../Button'
24+
import { Icon } from '../Icon'
2525
import { AnimatedDeployButtonProps } from './types'
2626

2727
import './animatedDeployButton.scss'
@@ -83,7 +83,7 @@ const AnimatedDeployButton = ({ isVirtualEnvironment, onButtonClick }: AnimatedD
8383
: {}
8484
}
8585
>
86-
<ICDeploy className="icon-dim-16" />
86+
<Icon name="ic-rocket-launch" color={null} />
8787
</motion.div>
8888
}
8989
size={ComponentSizeType.large}

src/Shared/Components/Icon/Icon.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ import { ReactComponent as ICPaperPlaneColor } from '@IconsV2/ic-paper-plane-col
9292
import { ReactComponent as ICPencil } from '@IconsV2/ic-pencil.svg'
9393
import { ReactComponent as ICQuay } from '@IconsV2/ic-quay.svg'
9494
import { ReactComponent as ICQuote } from '@IconsV2/ic-quote.svg'
95+
import { ReactComponent as ICRocketLaunch } from '@IconsV2/ic-rocket-launch.svg'
9596
import { ReactComponent as ICShieldCheck } from '@IconsV2/ic-shield-check.svg'
9697
import { ReactComponent as ICSlidersVertical } from '@IconsV2/ic-sliders-vertical.svg'
9798
import { ReactComponent as ICSortAscending } from '@IconsV2/ic-sort-ascending.svg'
@@ -209,6 +210,7 @@ export const iconMap = {
209210
'ic-pencil': ICPencil,
210211
'ic-quay': ICQuay,
211212
'ic-quote': ICQuote,
213+
'ic-rocket-launch': ICRocketLaunch,
212214
'ic-shield-check': ICShieldCheck,
213215
'ic-sliders-vertical': ICSlidersVertical,
214216
'ic-sort-ascending': ICSortAscending,

src/Shared/Components/ImageCard/ArtifactInfo/ArtifactInfo.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616

1717
import Tippy from '@tippyjs/react'
1818

19+
import { ReactComponent as ICBot } from '@Icons/ic-bot.svg'
1920
import { Tooltip } from '@Common/Tooltip'
21+
import { Icon } from '@Shared/Components/Icon'
2022
import { RegistryIcon } from '@Shared/Components/RegistryIcon'
2123

22-
import { ReactComponent as ICBot } from '../../../../Assets/Icon/ic-bot.svg'
23-
import { ReactComponent as DeployIcon } from '../../../../Assets/Icon/ic-nav-rocket.svg'
2424
import { ConditionalWrap, getRandomColor } from '../../../../Common/Helper'
2525
import { DefaultUserKey } from '../../../types'
2626
import { ArtifactInfoProps } from '../types'
@@ -62,7 +62,7 @@ const ArtifactInfo = ({
6262

6363
return (
6464
<div className="material-history__info flex left fs-13 dc__gap-8">
65-
<DeployIcon className="icon-dim-16 scn-6" />
65+
<Icon name="ic-rocket-launch" color="N600" />
6666
<span className="fs-13 fw-4">{deployedTime}</span>
6767
</div>
6868
)

0 commit comments

Comments
 (0)