site/components/hackathons/rundown.js
Ella 42c4d296dc Savepoint
I think I might fall asleep.
2022-08-02 23:10:13 -04:00

112 lines
3.1 KiB
JavaScript

import { Card, Box, Heading, Grid, Text, Container } from 'theme-ui'
import Stage from '../stage'
export default function Rundown() {
return (
<>
<Box as="header" sx={{ textAlign: [null, 'center'], pt: [4, 5] }}>
<Text as="p" variant="eyebrow">
Let's recap
</Text>
<Heading as="h2" variant="title">
Resources so you can organize an{' '}
<Text
as="span"
sx={{
borderRadius: 'default',
px: 2,
mx: [-2, 0],
bg: 'rgb(91, 255, 205)',
color: '#095365',
display: 'inline-block',
whiteSpace: ['wrap', 'nowrap']
}}
>
amazing
</Text>{' '}
hackathon.
</Heading>
</Box>
<Grid
pt={[3, 4]}
pb={[5, 6]}
gap={[4, 3, 4]}
columns={[1, null, 3]}
sx={{
textAlign: 'left',
'> a, > div': {
borderRadius: 'extra',
boxShadow: 'elevated',
px: [3, null, 4],
py: [4, null, 5]
},
span: {
boxShadow:
'-2px -2px 6px rgba(255,255,255,0.125), inset 2px 2px 6px rgba(0,0,0,0.1), 2px 2px 8px rgba(0,0,0,0.0625)'
},
svg: { fill: 'currentColor' }
}}
>
<Card
variant="interactive"
as="a"
href="/slack"
sx={{
background: 'linear-gradient(-32deg, #6f31b7 14%, #fb558e 82%)',
color: 'white',
svg: { color: '#fb558e' }
}}
>
<Stage
icon="slack"
color="white"
name="Slack community"
desc={`Connect with a community of high school hackathon organizers and get support from peers.`}
/>
</Card>
<Card
variant="interactive"
as="a"
href="/bank"
sx={{
background:
'linear-gradient(to bottom, rgba(255, 140, 55, 0.9) 0%, rgba(236, 55, 80, 0.9) 100%)',
color: 'white',
svg: { color: 'rgb(236, 55, 80)' }
}}
>
<Stage
icon="bank-account"
color="white"
name="$500 grants"
desc={
<>
Get a $500 grant for your hackathon (thanks to <i>FIRST</i>),
and access to a suite of financial tools when you join Hack Club
Bank.
</>
}
/>
</Card>
<Card
variant="interactive"
as="a"
href="https://hackathons.hackclub.com/"
sx={{
background:
'linear-gradient(32deg, rgba(51, 142, 218, 0.9) 0%, rgba(51, 214, 166, 0.9) 100%)',
color: 'white',
svg: { color: 'rgb(51, 142, 218)' }
}}
>
<Stage
icon="event-check"
color="white"
name="Marketing"
desc="List your event on the front page of Google and emailed to high school hackers in your area."
/>
</Card>
</Grid>
</>
)
}