forked from hackclub/site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sinerider.js
73 lines (71 loc) · 2.29 KB
/
sinerider.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
import CardModel from './card-model'
import { Box, Flex, Grid, Image, Text } from 'theme-ui'
import Buttons from './button'
/** @jsxImportSource theme-ui */
export default function Sinerider({ stars }) {
return (
<CardModel
github_link="https://github.com/hackclub/sinerider/"
// link="https://sprig.hackclub.com"
stars={stars}
color="white"
sx={{
backgroundSize: 'cover',
// backgroundImage:
// 'url(https://cloud-pwqxgzqdg-hack-club-bot.vercel.app/0initial-bg__1_.png)',
// backgroundPosition: 'center -60px',
// backgroundRepeat: 'no-repeat',
backgroundColor: '#271932'
}}
position={[null, 'bottom', 'bottom']}
highlight="#271932"
image="/home/sinerider-bg.webp"
>
<Image
src="https://cloud-9cei11221-hack-club-bot.vercel.app/0logo_text_2.png"
sx={{
width: ['200px', '250px', '300px'],
mt: ['-10px', '-20px', '-20px'],
position: 'relative',
zIndex: 2,
fontSize: ['36px', 4, 5],
color: 'white'
}}
alt="Sinerider"
/>
<Grid columns={[1, 1, 2]} sx={{ position: 'relative', zIndex: 2 }}>
<Box></Box>
<Box sx={{ mt: ['-40px', '-40px', '-150px'] }}>
<Text as="p" variant="subtitle">
SineRider is a game about love and graphing, powered by teenage
hackers of all kinds: artists, musicians, programmers, storytellers…
so if that’s you, come join us! We can always use help keeping
everything up to date and running smoothly.
</Text>
<Flex sx={{ flexDirection: 'column', mt: [3, 3, 4] }}>
<Buttons
icon="view"
href="https://sinerider.com/"
target="_blank"
rel="noopener"
primary="#CAB4D4"
id="43"
sx={{ color: '#271932' }}
>
Play now
</Buttons>
<Buttons
icon="rainbow"
href="https://github.com/hackclub/sinerider/#readme"
target="_blank"
rel="noopener"
id="44"
>
Join the development
</Buttons>
</Flex>
</Box>
</Grid>
</CardModel>
)
}