mirror of
https://github.com/System-End/site.git
synced 2026-04-19 19:45:07 +00:00
Create apocalypse.js
This commit is contained in:
parent
ddd7171b68
commit
59d2ddc4ea
1 changed files with 98 additions and 0 deletions
98
components/index/cards/apocalypse.js
Normal file
98
components/index/cards/apocalypse.js
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
import CardModel from './card-model'
|
||||
import { Box, Flex, Grid, Image, Text } from 'theme-ui'
|
||||
import Buttons from './button'
|
||||
|
||||
/** @jsxImportSource theme-ui */
|
||||
|
||||
export default function Apocalypse() {
|
||||
return (
|
||||
<CardModel
|
||||
color="white"
|
||||
sx={{
|
||||
backgroundSize: 'cover',
|
||||
backgroundColor: '#95C9E5'
|
||||
}}
|
||||
position={[null, 'bottom', 'bottom']}
|
||||
image="https://cloud-1132qsbcy-hack-club-bot.vercel.app/0image__6_.png"
|
||||
>
|
||||
<Grid columns={[1, 1, 2]} sx={{ position: 'relative', zIndex: 2 }}>
|
||||
<Flex
|
||||
sx={{
|
||||
flexDirection: 'column',
|
||||
justifyContent: 'space-between'
|
||||
}}
|
||||
>
|
||||
<Box>
|
||||
<Image
|
||||
src="https://cloud-lvxa0tab7-hack-club-bot.vercel.app/0apotitle_cropped.png"
|
||||
sx={{
|
||||
width: ['250px', '300px', '350px'],
|
||||
mt: ['-10px', '-10px', '-10px'],
|
||||
mb: ['30px', '30px', '30px'],
|
||||
position: 'relative',
|
||||
zIndex: 2,
|
||||
fontSize: ['36px', 4, 5],
|
||||
color: 'white'
|
||||
}}
|
||||
alt="Apocalypse"
|
||||
/>
|
||||
|
||||
<Text
|
||||
as="p"
|
||||
variant="subheadline"
|
||||
sx={{
|
||||
ml: '10px',
|
||||
mt: '-10px',
|
||||
mb: '10px',
|
||||
zIndex: 2,
|
||||
color: 'white',
|
||||
fontSize: ['24px !important'],
|
||||
|
||||
textShadow: '0 0 20px #fbbae4'
|
||||
}}
|
||||
>
|
||||
Downtown Toronto
|
||||
<br />
|
||||
May 17–19
|
||||
</Text>
|
||||
</Box>
|
||||
|
||||
<Buttons
|
||||
icon="flag-fill"
|
||||
href="https://apocalypse.hackclub.com/"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
primary="#FE5CA8"
|
||||
id="43"
|
||||
sx={{ color: '#fff' }}
|
||||
>
|
||||
Join Us
|
||||
</Buttons>
|
||||
</Flex>
|
||||
<Box>
|
||||
<Text
|
||||
as="p"
|
||||
variant="subtitle"
|
||||
sx={{
|
||||
fontSize: ['22px', '20px', '18px']
|
||||
}}
|
||||
>
|
||||
It's 2034, and zombies have taken over! But tech still operates.
|
||||
What would you do?
|
||||
</Text>
|
||||
<Text
|
||||
as="p"
|
||||
variant="subtitle"
|
||||
sx={{
|
||||
fontSize: ['22px', '20px', '18px']
|
||||
}}
|
||||
>
|
||||
Join 150 high schoolers for 44 hours at Apocalypse! Take yourself
|
||||
out of the real world and build wacky projects to spark a new age of
|
||||
humanity.
|
||||
</Text>
|
||||
</Box>
|
||||
</Grid>
|
||||
</CardModel>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue