forked from canada-ca/tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLandingPage.js
More file actions
31 lines (29 loc) · 835 Bytes
/
LandingPage.js
File metadata and controls
31 lines (29 loc) · 835 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
30
31
import React from 'react'
import { Trans } from '@lingui/macro'
import { Layout } from './Layout'
import { Text, Image, Stack } from '@chakra-ui/core'
import { SummaryGroup } from './SummaryGroup'
import trackerLogo from './images/tracker_v-03.png'
import { WelcomeMessage } from './WelcomeMessage'
import { useLingui } from '@lingui/react'
export function LandingPage() {
const { i18n } = useLingui()
return (
<Layout>
<Stack align="center">
<Image
src={trackerLogo}
alt={i18n._('Tracker Logo')}
size={['100%', '100%', '0%', '0%', '0%']}
/>
<WelcomeMessage />
</Stack>
<SummaryGroup name="dashboard" />
<Text>
<Trans>
*All data represented is mocked for demonstration purposes
</Trans>
</Text>
</Layout>
)
}