forked from canada-ca/tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOrganizationSummary.js
More file actions
29 lines (27 loc) · 869 Bytes
/
OrganizationSummary.js
File metadata and controls
29 lines (27 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import React from 'react'
import { Trans } from '@lingui/macro'
import { Layout } from './Layout'
import { Text, Stack, Box } from '@chakra-ui/core'
import { SummaryGroup } from './SummaryGroup'
export function OrganizationSummary() {
return (
<Layout>
<Box fontSize="xl">
<Stack isInline align="center">
<Text fontWeight="semibold">
<Trans>Internet facing services:</Trans>
</Text>
<Text>{Math.floor(Math.random() * 20 + 1)}</Text>
</Stack>
<Stack isInline align="center">
<Text fontWeight="semibold">
<Trans>Users joined:</Trans>
</Text>
<Text>{Math.floor(Math.random() * 4 + 7)}</Text>{' '}
</Stack>
</Box>
<SummaryGroup />
<Trans>*All data represented is mocked for demonstration purposes</Trans>
</Layout>
)
}