Clean up code

This commit is contained in:
Ella 2022-08-05 14:30:34 -07:00
parent 45aa3172a3
commit 2de5bb41a6
7 changed files with 4 additions and 90 deletions

View file

@ -28,7 +28,6 @@ const Content = () => (
}}
>
<Container maxWidth={28} sx={{ mx: 0, py: 4 }}>
{/* https://www.firstinspires.org/sites/default/files/uploads/resource_library/brand/first-brand-guidelines-2020.pdf */}
<Text variant="eyebrow">Hack Club Bank</Text>
<br />
<Text

View file

@ -90,7 +90,7 @@ const Cover = () => (
const Static = ({
// screenshot of messages from #hackathon-organizers
img = 'https://cloud-re5hkabx0.vercel.app/2020-07-25_hn13qhejqrzu4n1jy9yacxxgrgp3wf5u.png'
img = 'https://cloud-8611bon87-hack-club-bot.vercel.app/0screen_shot_2022-08-05_at_2.27.38_pm.png'
}) => (
<Box
as="section"

View file

@ -1,13 +1,4 @@
import {
Box,
Button,
Heading,
Link,
Text,
Container,
Badge,
Card
} from 'theme-ui'
import { Box, Button, Heading, Text, Card } from 'theme-ui'
import Fade from 'react-reveal/Fade'
import ScrollHint from '../scroll-hint'
import Image from 'next/image'

View file

@ -1,49 +0,0 @@
import { Box, Container, Heading, Text, Button, Card } from 'theme-ui'
import Icon from '../icon'
import NextLink from 'next/link'
import ScrollHint from '../scroll-hint'
import theme from '../../lib/theme'
export default function Organize() {
return (
<Box
as="section"
sx={{
bg: 'white',
my: [4, 5]
}}
variant="layout.copy"
>
<Card
sx={{
textAlign: 'center',
color: 'white',
backgroundImage: t => t.util.gx('green', 'blue'),
// backgroundImage:
// 'url(https://cloud-d86slt0pv-hack-club-bot.vercel.app/0dsc_1269.jpg)',
objectFit: 'cover'
}}
>
<Icon glyph="idea" size={72} sx={{ color: 'white' }} />
<Heading variant="headline">Want to organize a hackathon?</Heading>
<Text
variant="subtitle"
sx={{ lineHeight: 'caption', mb: 3, display: 'inline-block' }}
>
This semester, Hack Club is providing the tools and resources to high
schoolers around the world to bring the magic of hackathons to their
lcoal communities.
</Text>
<Icon glyph="down-caret" size={24} sx={{ color: 'white' }} />
{/* <NextLink href="/slack" passHref>
<Button variant="cta" sx={{ py: 2, px: 3, fontSize: 2 }} as="a">
Join our Slack
</Button>
</NextLink> */}
</Card>
</Box>
)
}

View file

@ -1,6 +1,5 @@
import { Box, Heading, Container, Text, Grid, Flex } from 'theme-ui'
import Photo from '../photo'
import Link from 'next/link'
export default function Overview() {
return (
@ -42,7 +41,7 @@ export default function Overview() {
<Text as="strong" sx={{ color: 'green' }}>
We're at our best when we're making.
</Text>{' '}
Hack Club is a world wide community of thousands of high school
Hack Club is a global community of thousands of high school
makers. We're organizers, coders, hackers, painters, engineers,
musicians, writers, volunteers. We make things. We want others
to make things too.

View file

@ -1,21 +0,0 @@
## Coding is a superpower
## Start building
The best way to learn is by building. A hackathon is a space that helps give makers everything they need to start buildingmentors, collaborators, inspiration, and a goal to work towards. Hackers will leave a hackathon with a project of their own, ready and excited to keep hacking once they get home.
## Burn twice as bright
Immediacy and Impermanence
## Learn to build, build to learn
The best way to learn is by building
## Sandbox
Some challenges are hard to solve.
## More friends, more fun
Hack Club is a world wide community of thousands of high school makers. We're organizers, coders, hackers, painters, engineers, musicians, writers, volunteers. We make things. We want others to make things too.

View file

@ -1,9 +1,7 @@
import Ticker from 'react-ticker'
import {
Avatar,
Box,
Card,
Message,
Text,
Heading,
Badge,
@ -11,11 +9,10 @@ import {
Image,
Link
} from 'theme-ui'
// import Image from 'next/image'
import { keyframes } from '@emotion/react'
import Tilt from '../tilt'
import NextLink from 'next/link'
import { humanizedDateRange, formatAddress, timeSince } from '../../lib/helpers'
import { humanizedDateRange, formatAddress } from '../../lib/helpers'
export default function ScrollingHackathons({ eventData }) {
return (
@ -80,7 +77,6 @@ function Dot() {
}
function EventCard({
id,
name,
website,
start,
@ -89,7 +85,6 @@ function EventCard({
state,
country,
countryCode,
mlhAssociated,
banner,
logo,
virtual,