forked from canada-ca/tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWelcomeMessage.js
More file actions
38 lines (37 loc) · 1.28 KB
/
WelcomeMessage.js
File metadata and controls
38 lines (37 loc) · 1.28 KB
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
32
33
34
35
36
37
38
import React from 'react'
import { Trans } from '@lingui/macro'
import { Text, Box, Divider, SimpleGrid, Stack, Image } from '@chakra-ui/core'
import trackerLogo from './images/tracker_v-03.png'
export function WelcomeMessage() {
return (
<Box bg="primary" color="gray.50" align="center">
<SimpleGrid columns={[1, 2]}>
<Stack mx="10" my="10">
<Text
fontSize={['5xl', '3xl', '3xl', '4xl', '5xl']}
fontWeight="semibold"
>
<Trans>Track Digital Security</Trans>
</Text>
<Divider borderColor="accent" borderWidth="2" w="20%" />
<Text fontSize={['xl', 'sm', 'sm', 'lg', 'xl']}>
<Trans>
Canadians rely on the Government of Canada to provide secure
digital services. The Policy on Service and Digital guides
government online services to adopt good security practices for
email and web services. Track how government sites are becoming
more secure.
</Trans>
</Text>
</Stack>
<Image
src={trackerLogo}
alt={'Tracker Logo'}
size={['0%', '0%', '80%', '80%', '87%']}
alignSelf="center"
mx="10"
/>
</SimpleGrid>
</Box>
)
}