mirror of
https://github.com/System-End/site.git
synced 2026-04-19 19:45:07 +00:00
45 lines
1.3 KiB
JavaScript
45 lines
1.3 KiB
JavaScript
import { Box, Link, Text, Heading, Flex } from 'theme-ui'
|
|
import Timeline from './timeline'
|
|
import Stats from './stats'
|
|
import ApplyButton from './apply-button'
|
|
|
|
export default function Start({ stats }) {
|
|
return (
|
|
<>
|
|
<Box as="section" id="apply" py={6}>
|
|
<Flex
|
|
sx={{ flexDirection: 'column', alignItems: 'center', gap: 5, mx: 4 }}
|
|
>
|
|
<Flex
|
|
sx={{
|
|
flexDirection: 'column',
|
|
textAlign: 'center',
|
|
gap: 3
|
|
}}
|
|
>
|
|
<Heading variant="ultratitle" color="white">
|
|
Sign up for HCB.
|
|
</Heading>
|
|
<Text color="muted" variant="lead" m="0 !important">
|
|
Open to Hack Clubs, hackathons, and charitable organizations in
|
|
the US and Canada.
|
|
</Text>
|
|
</Flex>
|
|
<Stats stats={stats} />
|
|
<Timeline />
|
|
<Flex
|
|
sx={{ flexDirection: 'column', textAlign: 'center', gap: 4, mx: 3 }}
|
|
>
|
|
<ApplyButton />
|
|
<Text color="muted" sx={{ fontSize: 18 }}>
|
|
We run Hack Club HQ on HCB!{' '}
|
|
<Link href="https://hcb.hackclub.com/hq" color="primary">
|
|
See our finances.
|
|
</Link>
|
|
</Text>
|
|
</Flex>
|
|
</Flex>
|
|
</Box>
|
|
</>
|
|
)
|
|
}
|