This commit is contained in:
Hristo Nedelkov 2023-10-19 18:52:47 +03:00
parent 161d10e2ca
commit d2cef9c218
2 changed files with 6 additions and 7 deletions

View File

@ -62,19 +62,19 @@ const DashboardContent = () => {
gap: '16px',
}}
>
<YStack >
<YStack>
<XStack justifyContent="space-between">
<ConsensusUptimeCard />
<ExecutionUptime />
</XStack>
<DeviceUptime />
</YStack>
<YStack >
<XStack space="$4" flexWrap='wrap'>
<YStack justifyContent="space-between">
<XStack flexWrap="wrap" >
<StorageCard maxStorage={100} storage={82} />
<CPUCard load={[12, 31, 3, 2, 24, 98]} />
</XStack>
<XStack space="$4" flexWrap='wrap'>
<XStack flexWrap="wrap" >
<MemoryCard currentMemory={[21, 33, 3, 42, 35]} maxMemory={50} />
<NetworkCard
downloadRate={[12, 31, 22, 12, 23, 23, 90]}

View File

@ -1,4 +1,4 @@
import { Text } from '@status-im/components'
import { Text } from '@status-im/components'
import { Stack, XStack, YStack } from 'tamagui'
import Icon from '../../../components/General/Icon'
@ -8,8 +8,7 @@ import DashboardCardWrapper from '../DashboardCardWrapper'
const ExecutionUptime = () => {
const monthlyActivity = [3, 0, 5, 4, 6, 7, 0, 9, 10, 1, 2, 3]
return (
<DashboardCardWrapper minWidth='260px'
>
<DashboardCardWrapper minWidth="260px">
<YStack space={'$3'} minHeight={'156px'} padding={'$3'}>
<YStack>
<Text size={15} weight={'semibold'}>