-
Notifications
You must be signed in to change notification settings - Fork 172
/
angelhacks.js
118 lines (117 loc) · 3.05 KB
/
angelhacks.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
import CardModel from './card-model'
import {
Box,
Button,
Card,
Container,
Flex,
Grid,
Heading,
Image,
Badge,
Link,
Text
} from 'theme-ui'
import Buttons from './button'
import Dot from '../../dot'
/** @jsxImportSource theme-ui */
import { useEffect, useState } from 'react'
export default function Epoch() {
return (
<CardModel
id="epoch"
color="white"
sx={{
backgroundColor: '#000'
}}
>
<Image
src="https://cloud-f3vv32ihb-hack-club-bot.vercel.app/0bg_angelhacks.png"
alt=""
sx={{
objectFit: 'cover',
position: 'absolute',
filter: 'brightness(0.3)',
width: '100%',
height: '100%',
ml: ['-24px', '-32px', '-32px', '-32px'],
mt: ['-24px', '-32px', '-32px', '-32px']
}}
/>
<Grid columns={[1, 1, '1fr 1.5fr']} sx={{ position: 'relative' }}>
<Box>
<img
alt=""
src="https://cloud-a2oswmb6u-hack-club-bot.vercel.app/0angelhacks_edgefix.png"
sx={{
width: ['270px', '270px', '290px', '390px'],
position: 'relative',
zIndex: 2
}}
/>
</Box>
<Box ml={[0, 0, 3]}>
<Text as="p" variant="subtitle" sx={{ mt: 0 }}>
Join us in Boston for two days of gaming, building, and exploring
what a game means. We'll have workshops, free food, and prizes for
the coolest of games. So, what are you waiting for?
</Text>
<Text as="p" variant="subtitle">
In{' '}
<Link
sx={{ color: '#ffb400' }}
href="https://angelhacksba.hackclub.com"
target="_blank"
rel="noopener"
>
Bay Area
</Link>
,{' '}
<Link
sx={{ color: '#ffb400' }}
href="https://angelhacksto.hackclub.com/"
target="_blank"
rel="noopener"
>
Toronto
</Link>
, or{' '}
<Link
sx={{ color: '#ffb400' }}
href="https://angelhacksla.hackclub.com/"
target="_blank"
rel="noopener"
>
Los Angeles
</Link>
? Join a AngelHacks satellite event!
</Text>
<Flex
sx={{
flexDirection: 'column',
mt: [4, 3, 4],
position: 'relative'
}}
>
<Buttons
id="17"
link="https://angelhacks.hackclub.com"
icon="post"
primary="#c3b091"
>
Sign up and attend AngelHacks
</Buttons>
<Buttons
content="join #angelhacks on Slack"
id="18"
link="/slack"
icon="idea"
>
Help plan the hackathon
</Buttons>
</Flex>
</Box>
</Grid>
</CardModel>
)
}