-
Notifications
You must be signed in to change notification settings - Fork 174
/
trail.js
93 lines (88 loc) · 2.64 KB
/
trail.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
import CardModel from './card-model'
import { Box, Flex, Grid, Image, Text } from 'theme-ui'
import Buttons from './button'
/** @jsxImportSource theme-ui */
export default function Trail() {
return (
<CardModel
color="white"
sx={{
backgroundSize: 'cover',
backgroundColor: '#FFF5D8',
fontFamily: "Fraunces"
}}
position={[null, 'bottom', 'bottom']}
image={"https://cloud-olwxtauup-hack-club-bot.vercel.app/0stampfit.png"}
>
<Grid columns={[1, 1, 2]} sx={{ position: 'relative', zIndex: 2 }}>
<Flex
sx={{
flexDirection: 'column',
justifyContent: 'space-between'
}}
>
<Image
src="https://cloud-qk962s2kz-hack-club-bot.vercel.app/0traillogo.png"
sx={{
width: ['200px', '250px', '300px'],
mt: ['-5px', '-5px', '-5px'],
mb: ['30px', '30px', '30px'],
position: 'relative',
zIndex: 2,
fontSize: ['36px', 4, 5],
color: 'white'
}}
alt="Trail"
/>
<Flex
sx={{
flexDirection: ['row', 'row', 'column'],
justifyContent: 'space-between'
}}
>
<Text
as="p"
variant="subheadline"
sx={{
ml: ['0px', '0px', '10px'],
mt: ['0px', '0px', '-10px'],
mb: ['0px', '0px', '20px'],
zIndex: 2,
color: '#032412',
fontSize: ['24px !important'],
}}
>
Pacific Crest Trail
<br />
July 12-19
</Text>
<Buttons
icon="view-fill"
href="https://www.youtube.com/watch?v=ufMUJ9D1fi8"
target="_blank"
rel="noopener"
primary="#032412"
id="43"
sx={{ color: '#FFF5D8', fontFamily: "Fraunces", border: "3px solid #FFF5D8" }}
>
View the Documentary
</Buttons>
</Flex>
</Flex>
<Box style={{display: "flex", alignItems: "center"}}>
<Text
as="p"
variant="subtitle"
sx={{
fontSize: ['26px', '24px', '22px'],
color: "#032412",
backgroundColor: "#FFF5D8"
}}
>
30 Hack Clubbers went on a 7 day hike along the Pacific Crest Trail supplied by only the technical equipment that they built.
</Text>
</Box>
</Grid>
</CardModel>
)
}