format
This commit is contained in:
parent
161d10e2ca
commit
d2cef9c218
|
@ -62,19 +62,19 @@ const DashboardContent = () => {
|
||||||
gap: '16px',
|
gap: '16px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<YStack >
|
<YStack>
|
||||||
<XStack justifyContent="space-between">
|
<XStack justifyContent="space-between">
|
||||||
<ConsensusUptimeCard />
|
<ConsensusUptimeCard />
|
||||||
<ExecutionUptime />
|
<ExecutionUptime />
|
||||||
</XStack>
|
</XStack>
|
||||||
<DeviceUptime />
|
<DeviceUptime />
|
||||||
</YStack>
|
</YStack>
|
||||||
<YStack >
|
<YStack justifyContent="space-between">
|
||||||
<XStack space="$4" flexWrap='wrap'>
|
<XStack flexWrap="wrap" >
|
||||||
<StorageCard maxStorage={100} storage={82} />
|
<StorageCard maxStorage={100} storage={82} />
|
||||||
<CPUCard load={[12, 31, 3, 2, 24, 98]} />
|
<CPUCard load={[12, 31, 3, 2, 24, 98]} />
|
||||||
</XStack>
|
</XStack>
|
||||||
<XStack space="$4" flexWrap='wrap'>
|
<XStack flexWrap="wrap" >
|
||||||
<MemoryCard currentMemory={[21, 33, 3, 42, 35]} maxMemory={50} />
|
<MemoryCard currentMemory={[21, 33, 3, 42, 35]} maxMemory={50} />
|
||||||
<NetworkCard
|
<NetworkCard
|
||||||
downloadRate={[12, 31, 22, 12, 23, 23, 90]}
|
downloadRate={[12, 31, 22, 12, 23, 23, 90]}
|
||||||
|
|
|
@ -8,8 +8,7 @@ import DashboardCardWrapper from '../DashboardCardWrapper'
|
||||||
const ExecutionUptime = () => {
|
const ExecutionUptime = () => {
|
||||||
const monthlyActivity = [3, 0, 5, 4, 6, 7, 0, 9, 10, 1, 2, 3]
|
const monthlyActivity = [3, 0, 5, 4, 6, 7, 0, 9, 10, 1, 2, 3]
|
||||||
return (
|
return (
|
||||||
<DashboardCardWrapper minWidth='260px'
|
<DashboardCardWrapper minWidth="260px">
|
||||||
>
|
|
||||||
<YStack space={'$3'} minHeight={'156px'} padding={'$3'}>
|
<YStack space={'$3'} minHeight={'156px'} padding={'$3'}>
|
||||||
<YStack>
|
<YStack>
|
||||||
<Text size={15} weight={'semibold'}>
|
<Text size={15} weight={'semibold'}>
|
||||||
|
|
Loading…
Reference in New Issue