forked from hackclub/site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrecap.js
88 lines (87 loc) · 2.49 KB
/
recap.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
import { Card, Box, Heading, Grid, Text, Container } from 'theme-ui'
import Stage from '../stage'
export default function Recap() {
return (
<>
<Box as="header" sx={{ textAlign: [null, 'center'], pt: [4, 5] }}>
<Text as="p" variant="eyebrow">
Get started today
</Text>
<Heading as="h2" variant="title">
Resources so you can organize an{' '}
<Text
as="span"
sx={{
borderRadius: 'default',
px: 2,
mx: [-2, 0],
bg: 'rgb(91, 255, 205)',
color: '#095365',
display: 'inline-block',
whiteSpace: ['wrap', 'nowrap']
}}
>
amazing
</Text>{' '}
hackathon.
</Heading>
</Box>
<Grid
pt={[3, 4]}
pb={[5, 6]}
gap={[4, 3, 4]}
columns={[1, null, 2]}
sx={{
textAlign: 'left',
'> a, > div': {
borderRadius: 'extra',
boxShadow: 'elevated',
px: [3, null, 4],
py: [4, null, 5]
},
span: {
boxShadow:
'-2px -2px 6px rgba(255,255,255,0.125), inset 2px 2px 6px rgba(0,0,0,0.1), 2px 2px 8px rgba(0,0,0,0.0625)'
},
svg: { fill: 'currentColor' }
}}
>
<Card
variant="interactive"
as="a"
href="/slack"
sx={{
background: 'linear-gradient(-32deg, #6f31b7 14%, #fb558e 82%)',
color: 'white',
svg: { color: '#fb558e' }
}}
>
<Stage
icon="slack"
color="white"
name="Slack community"
desc="Chat in Slack for support with organizing your hackathon, from finding a venue to marketing your event."
/>
</Card>
<Card
variant="interactive"
as="a"
href="https://hackathons.hackclub.com/"
sx={{
background:
'linear-gradient(32deg, rgba(51, 142, 218, 0.9) 0%, rgba(51, 214, 166, 0.9) 100%)',
color: 'white',
svg: { color: 'rgb(51, 142, 218)' }
}}
>
<Stage
icon="event-check"
color="white"
name="Marketing"
desc="Get your event listed on Google's front page, emailed to nearby teens, and seen by our hackathon calendar's 3K+ monthly users."
/>
</Card>
</Grid>
</>
)
}