Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion components/bin/footer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion components/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ const Footer = ({
<Heading as="h2" variant="subheadline" mb={3}>
Resources
</Heading>
<Link href="https://hackclub.com/pizza">Clubs Pizza Grant</Link>
<Link href="https://events.hackclub.com/">Community Events</Link>
<Link href="https://jams.hackclub.com/">Jams</Link>
<Link href="https://toolbox.hackclub.com/">Toolbox</Link>
Expand Down
70 changes: 70 additions & 0 deletions components/index/cards/start-club.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
import CardModel from './card-model'
import { Box, Button, Flex, Grid, Image, Text } from 'theme-ui'
import Buttons from './button'

/** @jsxImportSource theme-ui */

export default function StartClub() {
return (
<CardModel
color="white"
sx={{
backgroundSize: 'cover',
backgroundColor: '#95C9E5',
border: '1px solid #EC3750'
}}
position={[null, 'bottom', 'bottom']}
highlight="#271932"
image="https://cloud-4f5ohtb3u-hack-club-bot.vercel.app/0subtlegrain.png"
>
<Grid
columns={[1, 2]}
sx={{ position: 'relative', alignItems: 'center', zIndex: 2 }}
>
<Box>
<Text
as="h3"
variant="title"
sx={{
fontSize: ['36px', 4, 5],
zIndex: 2,
color: '#000',
mb: '8px'
}}
>
Start A Hack Club!
</Text>

<Text as="p" variant="subtitle" sx={{ color: '#000', mb: 3 }}>
With A Hack Club, You Get Access To Workshops And YSWS Where You Can Learn With A Community Of Fellow Teen Programmers!
</Text>

<Buttons id="14" link="https://clubs.hackclub.com" icon="welcome" primary="primary">
Learn More
</Buttons>
</Box>
<Box>
<Flex
sx={{
flexDirection: 'column',
alignItems: 'end',
justifyContent: 'flex-end',
position: 'relative'
}}
>
<Image
alt="Group of teenage hackers at Hack Club"
sx={{
borderRadius: '16px',
border: '1px solid #EC3750',
aspectRatio: '16/9',
objectFit: 'cover'
}}
src="/outernet/hack.jpg"
/>
</Flex>
</Box>
</Grid>
</CardModel>
)
}
2 changes: 1 addition & 1 deletion components/nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const NavBar = styled(Box, {
const Navigation = props => (
// REMINDER: This should be no more than 7 links :)
<NavBar role="navigation" {...props}>
<NextLink href="/clubs" passHref>
<NextLink href="https://clubs.hackclub.com" passHref>
<Link>Clubs</Link>
</NextLink>
<NextLink href="/fiscal-sponsorship" passHref>
Expand Down
Loading