mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-24 02:09:52 +00:00
clear code
This commit is contained in:
parent
e970ca6a43
commit
1135b90171
@ -6,10 +6,9 @@ import Icon from '../../../components/General/Icon'
|
|||||||
import DashboardCardWrapper from '../DashboardCardWrapper'
|
import DashboardCardWrapper from '../DashboardCardWrapper'
|
||||||
|
|
||||||
const ConsensusUptimeCard = () => {
|
const ConsensusUptimeCard = () => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<DashboardCardWrapper minWidth="50px" maxWidth="1fr" >
|
<DashboardCardWrapper minWidth="50px" maxWidth="1fr">
|
||||||
<YStack space={'$3'} >
|
<YStack space={'$3'}>
|
||||||
<YStack>
|
<YStack>
|
||||||
<Text size={15} weight={'semibold'}>
|
<Text size={15} weight={'semibold'}>
|
||||||
Consensus Uptime
|
Consensus Uptime
|
||||||
|
@ -82,15 +82,16 @@ const DashboardContent = () => {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<YStack>
|
<YStack>
|
||||||
<Stack style={{
|
<Stack
|
||||||
|
style={{
|
||||||
display: 'grid',
|
display: 'grid',
|
||||||
gridTemplateColumns: '1fr 1fr',
|
gridTemplateColumns: '1fr 1fr',
|
||||||
}}>
|
gap: '8px',
|
||||||
|
}}
|
||||||
|
>
|
||||||
<ConsensusUptimeCard />
|
<ConsensusUptimeCard />
|
||||||
<ExecutionUptime />
|
<ExecutionUptime />
|
||||||
</Stack>
|
</Stack>xx
|
||||||
|
|
||||||
|
|
||||||
<DeviceUptime />
|
<DeviceUptime />
|
||||||
</YStack>
|
</YStack>
|
||||||
<YStack space={'$4'}>
|
<YStack space={'$4'}>
|
||||||
|
@ -28,7 +28,7 @@ const DeviceUptime = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<DashboardCardWrapper minWidth='100px'>
|
<DashboardCardWrapper minWidth="100px">
|
||||||
<YStack space={'$3'}>
|
<YStack space={'$3'}>
|
||||||
<XStack justifyContent={'space-between'}>
|
<XStack justifyContent={'space-between'}>
|
||||||
<YStack>
|
<YStack>
|
||||||
|
@ -6,10 +6,9 @@ import UptimeChart from '../UptimeChart/UptimeChart'
|
|||||||
import DashboardCardWrapper from '../DashboardCardWrapper'
|
import DashboardCardWrapper from '../DashboardCardWrapper'
|
||||||
|
|
||||||
const ExecutionUptime = () => {
|
const ExecutionUptime = () => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<DashboardCardWrapper minWidth="100px" maxWidth="1fr" >
|
<DashboardCardWrapper minWidth="100px" maxWidth="1fr">
|
||||||
<YStack space={'$3'} >
|
<YStack space={'$3'}>
|
||||||
<YStack>
|
<YStack>
|
||||||
<Text size={15} weight={'semibold'}>
|
<Text size={15} weight={'semibold'}>
|
||||||
Execution Uptime
|
Execution Uptime
|
||||||
|
Loading…
x
Reference in New Issue
Block a user