forked from hackclub/site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhighseas.js
119 lines (109 loc) · 3.28 KB
/
highseas.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
119
import CardModel from './card-model'
import { Box, Flex, Grid, Image, Text } from 'theme-ui'
import Buttons from './button'
import { Global } from '@emotion/react'
/** @jsxImportSource theme-ui */
export default function HighSeas() {
return (
<CardModel
color="white"
sx={{
display: 'flex',
backgroundSize: 'cover',
backgroundColor: '#FFF5D8',
fontFamily: "Fraunces"
}}
position={[null, 'bottom', 'bottom']}
image={"https://cloud-lyjdp3j9h-hack-club-bot.vercel.app/0image.svg"}
>
<Global
styles={`
@font-face {
font-family: 'HighSeas1';
src: url('https://highseas.hackclub.com/_next/static/media/0fc6f5e9d9c3e206-s.p.ttf') format('woff');
font-weight: normal;
font-style: normal;
}
`}
/>
<Grid columns={[1, 1, 2]} sx={{ position: 'relative', zIndex: 2 , gridGap: 0}}>
<Flex
sx={{
flexDirection: 'column',
display: 'flex',
justifyContent: 'space-between'
}}
>
<Image
src="https://cloud-5tm6hh4kb-hack-club-bot.vercel.app/0image__1_.svg"
sx={{
width: ['200px', '250px', '300px'],
mt: ['-5px', '-5px', '-5px'],
mb: ['30px', '30px', '30px'],
display: 'flex',
position: 'relative',
zIndex: 2,
fontSize: ['36px', 4, 5],
color: 'white'
}}
alt="HighSeas"
/>
<Flex
sx={{
flexDirection: ['column', 'column', 'column'],
justifyContent: 'space-between',
display: 'flex',
}}
>
<Text
as="p"
variant="subheadline"
sx={{
ml: ['0px', '0px', '10px'],
mt: ['0px', '0px', '-10px'],
mb: ['0px', '0px', '20px'],
zIndex: 2,
color: '#FFFFFFF',
fontSize: ['24px !important'],
fontFamily: 'HighSeas1, sans-serif', // Apply the custom font
}}
>
Build personal projects. Get free stuff.
<br />
Oct 30 - Jan 31
</Text>
<Buttons
href="https://highseas.hackclub.com/"
target="_blank"
rel="noopener"
sx = {{
mt: [30, 30, 30],
mb:[0,0,15]
}}
primary="#24479C"
id="43"
>
Join Now!
</Buttons>
</Flex>
</Flex>
<Box style={{display: "flex", alignItems: "center" }}>
<Image
src=" https://highseas.hackclub.com/_next/image?url=%2Fchest.png&w=828&q=75"
sx={{
width: ['0', '0', '300px'],
mt: ['0px', '0px', '-5px'],
mb: ['0px', '0px', '30px'],
ml: ['0px', '0px', '50px'],
position: 'relative',
zIndex: 2,
fontSize: ['0px', 4, 5],
color: 'white'
}}
alt="HighSeas"
/>
</Box>
</Grid>
</CardModel>
)
}