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
57 lines (55 loc) · 1.74 KB
/
LandingPage.js
File metadata and controls
57 lines (55 loc) · 1.74 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
50
51
52
53
54
55
56
57
import React from 'react'
import trackerLogo from '../images/trackerlogo.svg'
import { Box, Divider, Grid, Image, Stack, Text } from '@chakra-ui/react'
import { Trans } from '@lingui/macro'
import { LandingPageSummaries } from './LandingPageSummaries'
export function LandingPage() {
return (
<Stack>
<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={{ base: '2xl', lg: '3xl', xl: '4xl' }}
fontWeight="semibold"
color="white"
>
<Trans>Track Digital Security</Trans>
</Text>
<Divider borderColor="accent" my={2} borderTopWidth="2" w="20%" />
<Text color="white" fontSize={{ base: 'sm', lg: 'lg', xl: '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={{ base: 'none', md: 'flex' }}
bg="primary"
justifyContent="center"
>
<Image
bg="white"
p="2em"
src={trackerLogo}
alt={'Tracker Logo'}
width="auto"
height={{ md: '80%', lg: '87%' }}
alignSelf="center"
/>
</Box>
</Grid>
<Box pt={7}>
<LandingPageSummaries />
</Box>
</Stack>
)
}