|
| 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 | +} |
0 commit comments