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
49 lines (48 loc) · 1.49 KB
/
LandingPage.js
File metadata and controls
49 lines (48 loc) · 1.49 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
39
40
41
42
43
44
45
46
47
48
49
import React from 'react'
import trackerLogo from './images/trackerlogo.svg'
import { Box, Divider, Grid, Image, Text } from '@chakra-ui/core'
import { Trans } from '@lingui/macro'
export function LandingPage() {
return (
<Grid
bg="primary"
height="fit-content"
templateAreas={{ sm: 'welcome', md: 'welcome logo' }}
templateColumns={{ sm: '1fr', md: '1fr 1fr' }}
>
<Box mx="10" my="10">
<Text
fontSize={['2xl', '2xl', '2xl', '3xl', '4xl']}
fontWeight="semibold"
color="white"
>
<Trans>Track Digital Security</Trans>
</Text>
<Divider borderColor="accent" borderWidth="2" w="20%" />
<Text color="white" fontSize={['sm', '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>
</Box>
<Box
display={{ xs: 'none', sm: 'none', md: 'flex' }}
bg="primary"
justifyContent="center"
>
<Image
bg="white"
p="2em"
src={trackerLogo}
alt={'Tracker Logo'}
width="auto"
height={['0%', '80%', '80%', '87%']}
alignSelf="center"
/>
</Box>
</Grid>
)
}