Add props to LogsSumCard

This commit is contained in:
Hristo Nedelkov 2023-11-13 23:22:46 +02:00
parent db1c8ccb81
commit ab181a7079

View File

@ -5,6 +5,7 @@ import LeftSidebar from '../../components/General/LeftSidebar/LeftSidebar'
import RightSidebar from '../../components/General/RightSideBar/RightSidebar' import RightSidebar from '../../components/General/RightSideBar/RightSidebar'
import LogsTerminal from './LogsTerminal' import LogsTerminal from './LogsTerminal'
import LogsSumCard from './LogsSumCard' import LogsSumCard from './LogsSumCard'
import SupportCard from './SupportCard'
const LogsPage = () => { const LogsPage = () => {
return ( return (
@ -26,11 +27,11 @@ const LogsPage = () => {
<TitleLogo /> <TitleLogo />
<Stack style={{ width: '100%', alignItems: 'center' }}> <Stack style={{ width: '100%', alignItems: 'center' }}>
<LogsTerminal /> <LogsTerminal />
<XStack space="$8"> <XStack space="$4">
<LogsSumCard /> <LogsSumCard type={'Critical'} count={16} countActive={2} countInactive={3} />
<LogsSumCard /> <LogsSumCard type={'Warning'} count={9} countActive={2} countInactive={7} />
<LogsSumCard /> <LogsSumCard type={'Critical'} count={6} countActive={2} countInactive={0} />
<LogsSumCard /> <SupportCard />
</XStack> </XStack>
</Stack> </Stack>
</YStack> </YStack>