debug(ci): set icon paths to be relative
This commit is contained in:
parent
7ef07e5955
commit
88eeaf281b
|
@ -67,7 +67,7 @@ const DeviceCPULoad: React.FC<DeviceCPULoadProps> = ({ load }) => {
|
|||
<Separator borderColor={'#e3e3e3'} />
|
||||
<XStack space={'$4'} style={{ padding: '10px 16px 10px 16px' }}>
|
||||
<IconText
|
||||
icon={message === 'Good' ? '/icons/check-circle.png' : '/icons/alert.png'}
|
||||
icon={message === 'Good' ? './icons/check-circle.png' : './icons/alert.png'}
|
||||
weight={'semibold'}
|
||||
>
|
||||
{message}
|
||||
|
|
|
@ -70,7 +70,7 @@ const DeviceMemoryHealth = ({ currentMemory, maxMemory }: DeviceMemoryHealthProp
|
|||
</XStack>
|
||||
<Separator borderColor={'#e3e3e3'} />
|
||||
<XStack space={'$4'} style={{ padding: '10px 16px 10px 16px' }}>
|
||||
<IconText icon={message === 'Good' ? '/icons/check-circle.png' : '/icons/alert.png'}>
|
||||
<IconText icon={message === 'Good' ? './icons/check-circle.png' : './icons/alert.png'}>
|
||||
{message}
|
||||
</IconText>
|
||||
{message === 'Poor' && (
|
||||
|
|
|
@ -75,7 +75,7 @@ const DeviceNetworkHealth = ({ uploadRate, downloadRate }: DeviceNetworkHealthPr
|
|||
</XStack>
|
||||
<Separator borderColor={'#e3e3e3'} />
|
||||
<XStack space={'$4'} style={{ padding: '10px 16px 10px 16px' }}>
|
||||
<IconText icon={message === 'Good' ? '/icons/check-circle.png' : '/icons/alert.png'}>
|
||||
<IconText icon={message === 'Good' ? './icons/check-circle.png' : './icons/alert.png'}>
|
||||
{message}
|
||||
</IconText>
|
||||
{message === 'Poor' && (
|
||||
|
|
|
@ -69,7 +69,7 @@ const DeviceStorageHealth: React.FC<DeviceStorageHealthProps> = ({ storage, maxS
|
|||
<Separator borderColor={'#e3e3e3'} />
|
||||
<XStack space={'$4'} style={{ padding: '10px 16px 10px 16px' }}>
|
||||
<IconText
|
||||
icon={message === 'Good' ? '/icons/check-circle.png' : '/icons/alert.png'}
|
||||
icon={message === 'Good' ? './icons/check-circle.png' : './icons/alert.png'}
|
||||
weight={'semibold'}
|
||||
>
|
||||
{message}
|
||||
|
|
|
@ -15,7 +15,7 @@ const Titles = ({ title, subtitle, isAdvancedSettings }: TitlesProps) => {
|
|||
<XStack style={{ justifyContent: 'space-between', alignItems: 'center' }}>
|
||||
<Title color={'#09101C'}>{title}</Title>
|
||||
{isAdvancedSettings && (
|
||||
<Button size={32} variant="outline" icon={<Icon src={'/icons/reveal.png'} />}>
|
||||
<Button size={32} variant="outline" icon={<Icon src={'./icons/reveal.png'} />}>
|
||||
Advanced Settings
|
||||
</Button>
|
||||
)}
|
||||
|
|
|
@ -11,8 +11,8 @@ const NimbusLogo = () => {
|
|||
}}
|
||||
space={'$3'}
|
||||
>
|
||||
<img src={'/icons/marks.svg'} alt="marks" className="nimbus-logomark" />
|
||||
<img src={'/icons/nimbus.svg'} alt="marks" />
|
||||
<img src={'./icons/marks.svg'} alt="marks" className="nimbus-logomark" />
|
||||
<img src={'./icons/nimbus.svg'} alt="marks" />
|
||||
<BetaTag />
|
||||
</XStack>
|
||||
)
|
||||
|
|
|
@ -12,7 +12,7 @@ const NodesLogo = () => {
|
|||
}}
|
||||
space={'$2'}
|
||||
>
|
||||
<Icon src={'/icons/nodes-app-icon.png'} width={32} height={32} />
|
||||
<Icon src={'./icons/nodes-app-icon.png'} width={32} height={32} />
|
||||
<Text size={27} weight={'semibold'}>
|
||||
nodes
|
||||
</Text>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export const GREEN_CHECKMARK_ICON = '/icons/checkmark-circle-green.png'
|
||||
export const RED_CHECKMARK_ICON = '/icons/remove-circle-red.png'
|
||||
export const GREEN_CHECKMARK_ICON = './icons/checkmark-circle-green.png'
|
||||
export const RED_CHECKMARK_ICON = './icons/remove-circle-red.png'
|
||||
|
||||
export const GOOD_STORAGE_TEXT =
|
||||
'You have plenty of storage available for additional node services.'
|
||||
|
|
Loading…
Reference in New Issue