Skip to content

Homepage redesign #1528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 56 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
71d535f
added the basic ladder doodle for footer
Manan-Coder May 20, 2025
59efa66
moved the person doodle little upwards to make them look like standin…
Manan-Coder May 20, 2025
b408d6a
completed the doodle thingy
Manan-Coder May 20, 2025
22d1027
changed the layout of the footer a little
Manan-Coder May 21, 2025
b6059ee
completed the base design of the footer.
Manan-Coder May 21, 2025
0393f8f
done with footer
Manan-Coder May 21, 2025
96377c7
made a carousel for the previous event documentaries and made a json …
Manan-Coder May 21, 2025
e742f33
made the new carousel/cards components for the previous event documen…
Manan-Coder May 21, 2025
ba3b87a
made the event cards color scheme based
Manan-Coder May 22, 2025
accba47
fixed the aligment issue with rectangle logos like scrapyard/boreal o…
Manan-Coder May 22, 2025
375fb3e
done with the documentaries carousel :D
Manan-Coder May 22, 2025
00c31bd
fixed a vercel ES6 issue
Manan-Coder May 22, 2025
97c61cd
added a highway card for upcoming event
Manan-Coder May 22, 2025
aeb71ae
made a card for shipwrecked
Manan-Coder May 22, 2025
a6db259
polished the cards a bit
Manan-Coder May 22, 2025
4fc31ce
made a slider component for the coming events cards to test
Manan-Coder May 22, 2025
b44be9d
made the basic layout of the slider and fixed the arrows at the botto…
Manan-Coder May 22, 2025
57a802b
done with the events carousel, made some beautiful(they are) cards an…
Manan-Coder May 22, 2025
981c090
fixed the newsletter form thingy at the bottom, the previous one seem…
Manan-Coder May 22, 2025
b876862
made the base layout of the projects slider
Manan-Coder May 22, 2025
debe3c3
changed the projects slider from slick to ticker as slick doesnt allo…
Manan-Coder May 23, 2025
1639481
made a new card system for the projects by modifying the typical card…
Manan-Coder May 23, 2025
afe3970
done with the projects carousel + added a button at the bottom which …
Manan-Coder May 23, 2025
6f552a2
made footer fully responsive
Manan-Coder May 23, 2025
abd2a32
made a base for the new landing page
Manan-Coder May 23, 2025
8e61cb0
made the landing component a lil polished and responsive
Manan-Coder May 23, 2025
ed02139
fixed the layout of the landing page to a bit
Manan-Coder May 23, 2025
f747248
api key handling
Manan-Coder May 23, 2025
1e5d3b0
some vercel build issues
Manan-Coder May 23, 2025
838a8dd
some vercel build issues :sob:
Manan-Coder May 23, 2025
fc5f8c0
vercel build errors again :sob:
Manan-Coder May 23, 2025
fc1511d
some api handling for vercel build in the home page
Manan-Coder May 23, 2025
a78100a
migrated the previous home page's "we are teen.." to the new landing …
Manan-Coder May 24, 2025
f72635d
made a really cool landing section
Manan-Coder May 25, 2025
6fa04e1
fixed a few naming errors
Manan-Coder May 25, 2025
dfddcd8
renaming of a file
Manan-Coder May 25, 2025
5990688
changes in the hero section
Manan-Coder May 25, 2025
5b381f9
fixed the styles of headings to make them readable
Manan-Coder May 25, 2025
8fe54f7
added the assemble image again
Manan-Coder May 26, 2025
9d7d601
image rendering optimisation
Manan-Coder May 26, 2025
dfb2056
compressed the image
Manan-Coder May 26, 2025
2a586c6
image optimisation
Manan-Coder May 26, 2025
ef55325
optimised images + made a system for the main topmost images to load …
Manan-Coder May 26, 2025
af4dffd
removed the previous hero and fixed the image sizing/rendering proble…
Manan-Coder May 26, 2025
8c83681
responsiveness tweaks
Manan-Coder May 26, 2025
aa5a179
responsiveness tweaks
Manan-Coder May 27, 2025
ec50820
fixed everything for mobile, and ~15 inch laptops, left to test for s…
Manan-Coder May 27, 2025
3282271
some navbar tweaks + adjustments
Manan-Coder May 27, 2025
c0410d6
done with the landing section, tested on every major dimension
Manan-Coder May 27, 2025
2a54d05
fixed some issues with image paths and modified the highway card
Manan-Coder May 27, 2025
7c04e83
updated info + design tweaks
Manan-Coder May 27, 2025
5ea3fc5
made the cards responsive for mobile
Manan-Coder May 27, 2025
79009f1
very minor thing, just changed the size
Manan-Coder May 27, 2025
4421ac9
fixed the member count
Manan-Coder May 27, 2025
950d14f
updated the onboard card and added text pointng towards ysws.hackclub…
Manan-Coder May 27, 2025
0dec25c
done with everything
Manan-Coder May 27, 2025
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
9 changes: 8 additions & 1 deletion components/arcade/showcase/youtube-renderer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
import LiteYouTubeEmbed from 'react-lite-youtube-embed';
import dynamic from 'next/dynamic'

// imported it dynamically as it was giving ES6 issues on vercel
const LiteYouTubeEmbed = dynamic(() => import('react-lite-youtube-embed'), {
ssr: false,
loading: () => <div>Loading video...</div>
})

import 'react-lite-youtube-embed/dist/LiteYouTubeEmbed.css'

const YoutubeRenderer = ({ youtubeLink }) => {
Expand Down
284 changes: 159 additions & 125 deletions components/footer.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import React from 'react'
import styled from '@emotion/styled'
import { Box, Container, Image, Grid, Heading, Link, Text } from 'theme-ui'
import { Box, Container, Image, Grid, Heading, Link, Text, Flex } from 'theme-ui'
import NextLink from 'next/link'
import theme from '@hackclub/theme'
import Icon from './icon'
import Ladder from './ladder.js'

const Base = styled(Box, { shouldForwardProp: prop => prop !== 'dark' })`
background: ${props =>
Expand Down Expand Up @@ -65,134 +66,167 @@ const Footer = ({
>
<Container px={[3, null, 4]}>
{children}
<Grid
as="article"
gap={[2, 4]}
columns={[2, 3, 4]}
sx={{
px: 0,
a: {
textDecoration: 'none',
color: 'muted',
transition: '0.125s color ease-in-out',
':hover,:focus': { color: 'slate', textDecoration: 'underline' }
},
'> div > a': {
display: 'block',
mb: 2
},
'h2,p': { color: 'muted' },
h2: { fontSize: 3 },
'a,p': { fontSize: 2 }
}}
>
<Box>
<Heading as="h2" variant="subheadline" mb={3}>
Hack&nbsp;Club
</Heading>
<NextLink href="/philosophy" passHref>
<Link>Philosophy</Link>
</NextLink>
<NextLink href="/team" passHref>
<Link>Our Team & Board</Link>
</NextLink>
<NextLink href="/jobs" passHref>
<Link>Jobs</Link>
</NextLink>
<NextLink href="/brand" passHref>
<Link>Branding</Link>
</NextLink>
<NextLink href="/press" passHref>
<Link>Press Inquiries</Link>
</NextLink>
<NextLink href="/philanthropy" passHref>
<Link>Donate</Link>
</NextLink>
</Box>
<Box>
<Heading as="h2" variant="subheadline" mb={3}>
Resources
</Heading>
<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>
<Link href="https://directory.hackclub.com/">Clubs Directory</Link>
<Link href="https://hackclub.com/conduct/">Code of Conduct</Link>
</Box>
<Box sx={{ gridColumn: ['span 2', 'span 1'] }}>
<Logo aria-label="Hack Club logo" width={128} height={45} />
<Grid
columns={[8, 4]}
gap={2}
<Box sx={{ position: 'relative' }}>
<Grid
as="article"
gap={0}
columns={[2, 3, 4]}
sx={{
px: 0,
a: {
textDecoration: 'none',
color: 'muted',
transition: '0.125s color ease-in-out',
':hover,:focus': { color: 'slate', textDecoration: 'underline' }
},
'> div > a': {
display: 'block',
mb: 2
},
'h2,p': { color: 'muted' },
h2: { fontSize: 3 },
'a,p': { fontSize: 2 }
}}
>
<Box>
<Heading as="h2" variant="subheadline" mb={3}>
Hack&nbsp;Club
</Heading>
<NextLink href="/philosophy" passHref>
<Link>Philosophy</Link>
</NextLink>
<NextLink href="/team" passHref>
<Link>Our Team & Board</Link>
</NextLink>
<NextLink href="/jobs" passHref>
<Link>Jobs</Link>
</NextLink>
<NextLink href="/brand" passHref>
<Link>Branding</Link>
</NextLink>
<NextLink href="/press" passHref>
<Link>Press Inquiries</Link>
</NextLink>
<NextLink href="/philanthropy" passHref>
<Link>Donate</Link>
</NextLink>
</Box>
<Box>
<Heading as="h2" variant="subheadline" mb={3}>
Resources
</Heading>
<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>
<Link href="https://directory.hackclub.com/">Clubs Directory</Link>
<Link href="https://hackclub.com/conduct/">Code of Conduct</Link>
</Box>
<Box>
<Logo aria-label="Hack Club logo" width={128} height={45} />
<Grid
columns={[8, 4]}
gap={2}
sx={{
alignItems: 'center',
ml: -1,
my: 3,
maxWidth: [null, 192],
svg: { fill: 'currentColor', width: 32, height: 32 },
a: {
lineHeight: 0,
mb: 0,
transition:
'transform .125s ease-in-out, color .125s ease-in-out',
':hover,:focus': { transform: 'scale(1.125)' }
},
placeItems: 'center'
}}
>
<Service
href="/slack"
icon="slack-fill"
name="Slack"
target="_self"
/>
<Service
href="https://twitter.com/hackclub"
icon="twitter"
name="Twitter"
/>
<Service
href="https://github.com/hackclub"
icon="github"
name="GitHub"
/>
<Service
href="https://figma.com/@hackclub"
icon="figma-fill"
name="Figma"
/>
<Service
href="https://social.dino.icu/@hackclub"
icon="mastodon"
name="Mastodon"
/>
<Service
href="https://www.youtube.com/c/HackClubHQ"
icon="youtube"
name="YouTube"
/>
<Service
href="https://www.instagram.com/starthackclub"
icon="instagram"
name="Instagram"
/>
<Service href={`mailto:${email}`} icon="email-fill" name="Email" />
</Grid>
<Text my={2}>
<Link href="tel:1-855-625-HACK">1-855-625-HACK</Link>
<br />
<Text as="span" color="muted">
(call toll-free)
</Text>
</Text>
<Text as="p" variant="caption" sx={{ mt: 3 }}>
© {new Date().getFullYear()} Hack&nbsp;Club. 501(c)(3) nonprofit (EIN:
81-2908499)
</Text>
</Box>

<Box
sx={{
alignItems: 'center',
ml: -1,
my: 3,
maxWidth: [null, 192],
svg: { fill: 'currentColor', width: 32, height: 32 },
a: {
lineHeight: 0,
mb: 0,
transition:
'transform .125s ease-in-out, color .125s ease-in-out',
':hover,:focus': { transform: 'scale(1.125)' }
},
placeItems: 'center'
display: ['none', null, null, 'block']
}}
>
<Service
href="/slack"
icon="slack-fill"
name="Slack"
target="_self"
/>
<Service
href="https://twitter.com/hackclub"
icon="twitter"
name="Twitter"
/>
<Service
href="https://github.com/hackclub"
icon="github"
name="GitHub"
/>
<Service
href="https://figma.com/@hackclub"
icon="figma-fill"
name="Figma"
/>
<Service
href="https://social.dino.icu/@hackclub"
icon="mastodon"
name="Mastodon"
/>
<Service
href="https://www.youtube.com/c/HackClubHQ"
icon="youtube"
name="YouTube"
/>
<Service
href="https://www.instagram.com/starthackclub"
icon="instagram"
name="Instagram"
/>
<Service href={`mailto:${email}`} icon="email-fill" name="Email" />
</Grid>
<Text my={2}>
<Link href="tel:1-855-625-HACK">1-855-625-HACK</Link>
<br />
<Text as="span" color="muted">
(call toll-free)
</Text>
</Text>
/>
</Grid>


<Box
sx={{
position: 'absolute',
right: [0, 0, -50, -60, -300],
bottom: [0, 0, 40, 30, -30, -45],
transform: [
'scale(0)',
'scale(0)',
'scale(0.7)',
'scale(0.75)',
'scale(1.0)',
'scale(1.0)'
],
transformOrigin: 'bottom right',
zIndex: 1,
pointerEvents: 'none',
opacity: [0, 0, 0.8, 0.85, 0.9, 0.95],
transition: 'all 0.3s ease',
display: ['none', 'none', 'block', 'block', 'block', 'block']
}}
>
<Ladder />
</Box>
</Grid>
<Text as="p" variant="caption" sx={{ mt: 3 }}>
© {new Date().getFullYear()} Hack&nbsp;Club. 501(c)(3) nonprofit (EIN:
81-2908499)
</Text>
</Box>
</Container>
</Base>
)

export default Footer
export default Footer
Loading