Skip to content

Commit 9b9b590

Browse files
Merge pull request #1053 from theaquarium/main
2 parents 5df7455 + e0c3368 commit 9b9b590

File tree

6 files changed

+158
-0
lines changed

6 files changed

+158
-0
lines changed

components/index/cards/wonderland.js

+109
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
import CardModel from './card-model'
2+
import { Box, Flex, Grid, Image, Text } from 'theme-ui'
3+
import Buttons from './button'
4+
5+
/** @jsxImportSource theme-ui */
6+
7+
export default function Wonderland() {
8+
return (
9+
<CardModel
10+
color="white"
11+
sx={{
12+
backgroundSize: 'cover',
13+
backgroundColor: '#95C9E5',
14+
border: '2px solid #fbbae4'
15+
}}
16+
position={[null, 'bottom', 'bottom']}
17+
image="/wonderland/banner.webp"
18+
highlight={'#fbbae4'}
19+
filter="brightness(0.6)"
20+
>
21+
<Grid columns={[1, 1, 2]} sx={{ position: 'relative', zIndex: 2 }}>
22+
<Flex
23+
sx={{
24+
flexDirection: 'column',
25+
justifyContent: 'space-between'
26+
}}
27+
>
28+
<Box>
29+
<Image
30+
src="/wonderland/wonderland.svg"
31+
sx={{
32+
width: ['300px', '350px', '400px'],
33+
mt: ['-10px', '-10px', '-10px'],
34+
position: 'relative',
35+
zIndex: 2,
36+
fontSize: ['36px', 4, 5],
37+
color: 'white',
38+
filter: 'drop-shadow(0 0 10px #fbbae4 )'
39+
}}
40+
alt="Wonderland"
41+
/>
42+
43+
<Text
44+
as="p"
45+
variant="subheadline"
46+
sx={{
47+
ml: '10px',
48+
mt: '-10px',
49+
mb: '10px',
50+
zIndex: 2,
51+
color: 'white',
52+
fontSize: ['24px !important'],
53+
54+
textShadow: '0 0 20px #fbbae4'
55+
}}
56+
// sx={{
57+
// fontSize: ['30px', '30px', '30px'],
58+
// fontWeight: 'bold'
59+
// }}
60+
>
61+
Boston, MA
62+
<br />
63+
February 23-25th
64+
</Text>
65+
</Box>
66+
67+
<Buttons
68+
icon="flag-fill"
69+
href="https://wonderland.hackclub.com/"
70+
target="_blank"
71+
rel="noopener"
72+
primary="#fbbae4"
73+
id="43"
74+
sx={{ color: '#000' }}
75+
>
76+
Join Us
77+
</Buttons>
78+
</Flex>
79+
<Box
80+
sx={{
81+
textShadow: '0 0 20px #fbbae4'
82+
}}
83+
>
84+
<Text
85+
as="p"
86+
variant="subtitle"
87+
sx={{
88+
fontSize: ['22px', '20px', '18px']
89+
}}
90+
>
91+
Only when we limit ourselves... do we become truly free.
92+
</Text>
93+
<Text
94+
as="p"
95+
variant="subtitle"
96+
sx={{
97+
fontSize: ['22px', '20px', '18px']
98+
}}
99+
>
100+
How would you and your friends use a 🥕 carrot or a 🧸 stuffed
101+
animal in a hackathon project? In Wonderland, you'll explore 🧰
102+
chests of random objects and software that you'll incorporate into
103+
hackathon projects.
104+
</Text>
105+
</Box>
106+
</Grid>
107+
</CardModel>
108+
)
109+
}

lib/carousel.json

+9
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@
1717
"img": "https://cloud-eg2ex8nol-hack-club-bot.vercel.app/0favicon-on-light-removebg-preview.png",
1818
"link": "https://cpu.land"
1919
},
20+
{
21+
"background": "linear-gradient(to bottom right, #91C2F4, #FFB6E6, #F3E4C6)",
22+
"titleColor": "#000",
23+
"descriptionColor": "#000",
24+
"title": "Wonderland",
25+
"description": "How would you and your friends use a 🥕 carrot or a 🧸 stuffed animal in a hackathon project?",
26+
"img": "/wonderland/logo.svg",
27+
"link": "https://wonderland.hackclub.com"
28+
},
2029
{
2130
"background": "#000",
2231
"titleColor": "green",

pages/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ import Photo from '../components/photo'
4040
import Comma from '../components/comma'
4141
import Haxidraw from '../components/index/cards/haxidraw'
4242
import Onboard from '../components/index/cards/onboard'
43+
import Wonderland from '../components/index/cards/wonderland'
4344

4445
/** @jsxImportSource theme-ui */
4546

@@ -675,6 +676,7 @@ function Page({
675676
and make things together!
676677
</Text>
677678
</Box>
679+
<Wonderland />
678680
<Pizza />
679681
<Slack slackKey={slackKey} data={slackData} events={events} />
680682
</Box>

public/wonderland/banner.webp

58.2 KB
Binary file not shown.

public/wonderland/logo.svg

+11
Loading

0 commit comments

Comments
 (0)