forked from hackclub/site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeep-exploring.js
91 lines (88 loc) · 2.3 KB
/
keep-exploring.js
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
import { Box, Heading, Button, Text, Grid, Container } from 'theme-ui'
import Link from 'next/link'
import Icon from '../icon'
export default function KeepExploring() {
return (
<>
<Box
sx={{
backgroundImage: t => t.util.gx('orange', 'red'),
margin: 'auto',
maxWidth: '90%',
my: 4,
borderRadius: 8,
color: 'white',
textAlign: 'center',
py: 5
}}
>
<Heading
as="h1"
sx={{
fontSize: 6,
mb: 3,
display: 'flex',
justifyContent: 'center',
alignContent: 'center'
}}
>
Keep exploring{' '}
<Icon
glyph="explore"
size={70}
sx={{ display: ['none', 'flex', 'flex'] }}
/>
</Heading>
<Link href="/slack" passHref>
<Button
sx={{
bg: 'white',
color: 'red',
mr: [0, 3],
mb: [3, 0],
fontSize: [2, 3]
}}
as="a"
>
Meet other hackers
</Button>
</Link>
<Link href="https://hackathons.hackclub.com" passHref>
<Button sx={{ bg: 'white', color: 'red', fontSize: [2, 3] }} as="a">
Discover more hackathons
</Button>
</Link>
</Box>
<Container>
<Grid
columns={[null, '1fr 1fr']}
my={[3, 5]}
sx={{ maxWidth: 'copyUltra', mx: 'auto' }}
>
<Heading as="h3" variant="headline" sx={{ fontSize: [4, 5], mb: 0 }}>
Behind the scenes...
</Heading>
<Text
as="p"
variant="lead"
sx={{ mt: 0, a: { variant: 'styles.a', color: 'blue' } }}
>
Teenagers organize hackathons like{' '}
<a
href="https://assemble.hackclub.com"
target="_blank"
rel="noreferrer"
>
Assemble
</a>{' '}
&{' '}
<a href="https://windyhacks.com" target="_blank" rel="noreferrer">
Windy City Hacks
</a>
. The hack’s the limit.
</Text>
</Grid>
</Container>
</>
)
}