Skip to content

Commit da9cc00

Browse files
authored
Merge pull request #288 from keithchong/UseExternalLinkIconInstead
fix: Use Link Icon instead to indicate new page will be opened (no jira)
2 parents 91a5f1e + 1e2161f commit da9cc00

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

‎src/gitops/components/shared/ArgoCDLink/ArgoCDLink.tsx‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import * as React from 'react';
22

33
import ExternalLink from '@gitops/utils/components/ExternalLink/ExternalLink';
44
import { t } from '@gitops/utils/hooks/useGitOpsTranslation';
5-
import argoImage from '@images/argo.png';
65
import { Tooltip } from '@patternfly/react-core';
76

87
type ArgoCDLinkProps = {
@@ -12,14 +11,7 @@ type ArgoCDLinkProps = {
1211
export const ArgoCDLink: React.FC<ArgoCDLinkProps> = ({ href }) => {
1312
return (
1413
<span style={{ display: 'inline-flex', alignItems: 'center' }}>
15-
<img
16-
loading="lazy"
17-
src={argoImage}
18-
alt="Argo CD"
19-
width="22px"
20-
height="22px"
21-
style={{ marginRight: '4px' }}
22-
/>
14+
<i className="fas fa-link" style={{ marginRight: '4px' }}></i>
2315
<Tooltip content={t('View in Argo CD')}>
2416
<ExternalLink stopPropagation={true} href={href}>
2517
<span>Argo CD</span>

0 commit comments

Comments
 (0)