1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 23:09:41 +02:00

refactor(icons): replace fa icons [EE-4459] (#7907)

refactor(icons): remove fontawesome EE-4459

refactor(icon) replace feather with lucide EE-4472
This commit is contained in:
Ali 2022-11-28 15:00:28 +13:00 committed by GitHub
parent 9dfac98a26
commit d78b762f7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
498 changed files with 2102 additions and 2817 deletions

View file

@ -2,6 +2,7 @@ import { Terminal } from 'xterm';
import { fit } from 'xterm/lib/addons/fit/fit';
import { useCallback, useEffect, useRef, useState } from 'react';
import clsx from 'clsx';
import { RotateCw, X, Terminal as TerminalIcon } from 'lucide-react';
import { baseHref } from '@/portainer/helpers/pathHelper';
import {
@ -127,7 +128,7 @@ export function KubeCtlShell({ environmentId, onClose }: Props) {
<div className={clsx(styles.root, { [styles.minimized]: shell.minimized })}>
<div className={styles.header}>
<div className={clsx(styles.title, 'vertical-center')}>
<Icon icon="terminal" feather />
<Icon icon={TerminalIcon} />
kubectl shell
</div>
<div className={clsx(styles.actions, 'space-x-8')}>
@ -136,7 +137,7 @@ export function KubeCtlShell({ environmentId, onClose }: Props) {
onClick={clearScreen}
data-cy="k8sShell-refreshButton"
>
<Icon icon="rotate-cw" feather size="md" />
<Icon icon={RotateCw} size="md" />
</Button>
<Button
color="link"
@ -145,7 +146,6 @@ export function KubeCtlShell({ environmentId, onClose }: Props) {
>
<Icon
icon={shell.minimized ? 'maximize-2' : 'minimize-2'}
feather
size="md"
data-cy={
shell.minimized ? 'k8sShell-restore' : 'k8sShell-minimise'
@ -157,7 +157,7 @@ export function KubeCtlShell({ environmentId, onClose }: Props) {
onClick={handleClose}
data-cy="k8sShell-closeButton"
>
<Icon icon="x" feather size="md" />
<Icon icon={X} size="md" />
</Button>
</div>
</div>