diff --git a/components/footer.js b/components/footer.js
index 7cb9b9f3..7f728425 100644
--- a/components/footer.js
+++ b/components/footer.js
@@ -109,8 +109,8 @@ const Footer = ({ dark = false, children, ...props }) => (
Press Inquiries
-
- Donate
+
+ Support Us
diff --git a/pages/philanthropy.js b/pages/philanthropy/index.js
similarity index 65%
rename from pages/philanthropy.js
rename to pages/philanthropy/index.js
index cdd3cf45..d193e20c 100644
--- a/pages/philanthropy.js
+++ b/pages/philanthropy/index.js
@@ -16,13 +16,29 @@ import { keyframes } from '@emotion/react'
import Image from 'next/image'
import Meta from '@hackclub/meta'
import Head from 'next/head'
-import Nav from '../components/nav'
-import ForceTheme from '../components/force-theme'
-import Footer from '../components/footer'
+import Nav from '../../components/nav'
+import ForceTheme from '../../components/force-theme'
+import Footer from '../../components/footer'
import ReactBeforeSliderComponent from 'react-before-after-slider-component'
import 'react-before-after-slider-component/dist/build.css'
import Fade from 'react-reveal/Fade'
import Slide from 'react-reveal/Slide'
+import Marquee from 'react-marquee-slider'
+import ExecuteBig from '../../public/donate/codedaydc_hack.jpg'
+import HackCamp from '../../public/donate/sf.jpg'
+import HackerGames from '../../public/donate/0img_20210830_161125.jpg'
+import LaptopDonations from '../../public/donate/0screenshot_2021-10-03_at_4.20.30_pm.png'
+import Kerala from '../../public/donate/0img-20210918-wa0091.jpg'
+import HackPenn from '../../public/donate/0color_pop.jpg'
+import ElonAMA from '../../public/donate/elon.jpg'
+import SpaceX from '../../public/donate/0spacex_and_hack_club.jpg'
+import Flagship from '../../public/donate/flagship.png'
+import MAHacks from '../../public/donate/0screenshot_2021-10-03_at_4.07.51_pm.png'
+import HackCamp2020 from '../../public/donate/0img_6447.jpg'
+import InnovationCircuit from '../../public/donate/0screenshot_2021-10-03_at_3.45.54_pm.png'
+import WindyCity from '../../public/donate/6screenshot_2021-10-03_at_3.29.29_pm.png'
+import ZephyrFun from '../../public/donate/0screenshot_2021-10-03_at_3.59.34_pm.png'
+import GoldenTrain from '../../public/home/golden-train.png'
/** @jsxImportSource theme-ui */
@@ -36,6 +52,47 @@ import {
ResponsiveContainer
} from 'recharts'
+const Header = styled(Box)`
+ background: url('/pattern.svg');
+`
+
+const PhotoRow = ({ photos }) => (
+
+
+
+
+
+
+
+
+)
+
const data = [
{ name: '3452 Members', Teenagers: 3452, year: '2018' },
{ name: '6932 Members', Teenagers: 6932, year: '2019' },
@@ -81,7 +138,8 @@ const Stat = ({ num, words, background }) => {
backgroundPosition: '10% -20%',
display: 'flex',
gap: 2,
- textAlign: 'left'
+ textAlign: 'left',
+ fontSize: ['14px', '16px', '18px']
}}
>
@@ -97,7 +155,7 @@ const Graph = () => {
<>
- Teenagers in slack per year
+ Teenagers in Slack per year
{
}
}}
>
-
+ /> */}
@@ -272,17 +330,18 @@ const Philanthropy = ({ posts = [] }) => {
- {
>
Investing in the future
+
+
+
+ Your contribution is tax-deductible.
+
+ Hack Club is a 501(c)(3) nonprofit with the EIN 81-2908499.
+
+
+
+ */}
+
+
+
+
+
+ Invest in the future.
+
+
+ Contribute today to empower the next generation.
+
+
+
+ Your contribution is tax-deductible.
+
+ Hack Club is a 501(c)(3) nonprofit with the EIN 81-2908499.
+
+
+
+
+
+
+
+
-
+ “With major support, I am confident Hack Club
will change the world.”
-
+
—Tom Preston-Werner, GitHub Co-founder
-
+
In the next ten years, Hack Club will discover, foster and inspire
thousands more teenagers to use technical skills to solve
problems.
@@ -408,16 +586,11 @@ const Philanthropy = ({ posts = [] }) => {
- Make a gift:
+ To discuss a gift:
-
+ The Hack Foundation
@@ -427,10 +600,21 @@ const Philanthropy = ({ posts = [] }) => {
EIN: 81-2908499
- Contact
+ Reach out toChristina AsquithCo-founder, COO, and Board Member
- christina@hackclub.com
+
+ christina@hackclub.com
+
@@ -440,7 +624,11 @@ const Philanthropy = ({ posts = [] }) => {
mt={2}
href="https://bank.hackclub.com/donations/start/hq"
target="_blank"
- sx={{ color: '#ec3750', textDecoration: 'none' }}
+ sx={{
+ color: '#ec3750',
+ textDecoration: 'none',
+ fontSize: '1.2em'
+ }}
>
Donate ▶
@@ -458,9 +646,11 @@ const Philanthropy = ({ posts = [] }) => {
>
- Hack Club is already making a difference!
+
+ Hack Club is already making a difference!
+
-
+
@@ -480,7 +670,7 @@ const Philanthropy = ({ posts = [] }) => {
@@ -489,7 +679,7 @@ const Philanthropy = ({ posts = [] }) => {
num="500"
words="nonprofits supported"
background="https://icons.hackclub.com/api/icons/0xFAFAFA/glyph:member-add.svg"
- >
+ />
{
-
- “Hack Club helped me fall in love with creating and made me feel
- like I belong.”
-
+
+ “Hack Club helped me fall in love with creating and made me feel
+ like I belong.”
+
+
+
+ Belle, 17, Malaysia
+
-
-
- Belle, 17, Malaysia
-
@@ -590,42 +785,122 @@ const Philanthropy = ({ posts = [] }) => {
-
- Tom Preston-Werner
-
- Co-founder, GitHub
+
+
+
+
+ Tom Preston-Werner
+
+
+ Co-founder, GitHub
+
+
+
-
- Quinn Slack
-
- Co-founder and CEO, Sourcegraph
+
+
+
+
+ Quinn Slack
+
+
+ Co-founder and CEO, Sourcegraph
+
+
+
-
- Zach Latta
-
- Founder and Executive Director, Hack Club
+
+
+
+
+ Zach Latta
+
+
+ Founder and Executive Director, Hack Club
+
+
+
-
- Christina Asquith
-
- Co-founder and COO, Hack Club
+
+
+
+
+ Christina Asquith
+
+
+ Co-founder and COO, Hack Club
+
+
+
-
+
Board advisor: John Abele (Founder, Boston Scientific)
@@ -663,7 +938,7 @@ const Philanthropy = ({ posts = [] }) => {
- We're grateful to our supporters:
+ Join our community of generous donors
@@ -743,6 +1018,28 @@ const Philanthropy = ({ posts = [] }) => {
+
+
+ and many more...
+
+
A few others who support Hack Club
@@ -823,8 +1120,7 @@ const Philanthropy = ({ posts = [] }) => {
Thanks to our donor-funded laptop program, Hack Club sent him
a MacBook Air. In his Hack Club, Obrey and his best friend
@@ -856,8 +1152,7 @@ const Philanthropy = ({ posts = [] }) => {
At 16, she started her own club Hack Club, and 20 other
students joined. She raised funds on Hack Club Bank to run a
@@ -882,15 +1177,43 @@ const Philanthropy = ({ posts = [] }) => {
+
+ {/* */}
+
+
+ Reach out to discuss a gift
+
+
+ Christina Asquith,{' '}
+
+ christina@hackclub.com
+
+
+
+ Hack Club is a 501(c)(3) nonprofit with the EIN 81-2908499.
+
+
+ {/* */}
+
-
+
Hack Club invites the 21st century’s leading thinkers, builders
and disrupters to join our small, core network of donors with a
gift.
-
+
@@ -904,10 +1227,7 @@ const Philanthropy = ({ posts = [] }) => {
Founded in 2014, Hack Club grew 700 percent during the
COVID-19 pandemic, and Hack Club’s team of engineers can’t
- keep up with demand. With your gift, Hack Club could increase
- support to serve thousands more teenagers, with a strong focus
- on serving those who face additional barriers to contributing
- their talents to the world.
+ keep up with demand.
@@ -919,6 +1239,13 @@ const Philanthropy = ({ posts = [] }) => {
+
+
+ Increase support to serve thousands more teenagers, with a
+ strong focus on serving those who face additional barriers to
+ contributing their talents to the world
+
+
Create hundreds more Hack Clubs in high schools and communities
@@ -972,38 +1299,40 @@ const Philanthropy = ({ posts = [] }) => {
-
-
- Thank you for your consideration!
-
-
-
-
- Sincerely,
-
-
-
-
-
-
- Christina Asquith, Co-founder and COO
-
+
+
+
+ Thank you for your consideration!
+
-
-
-
- Zach Latta, Founder and Executive Director
-
+
+
+ Sincerely,
+
-
+
+
+
+
+ Christina Asquith, Co-founder and COO
+
+
+
+
+
+ Zach Latta, Founder and Executive Director
+
+
+
+ {
sx={{ color: 'muted' }}
>
- The Hack Foundation
+ The Hack Foundation
Address: The Hack Foundation at 8605 Santa Monica Blvd #86294,
West Hollywood, CA, 90069
@@ -1020,10 +1349,21 @@ const Philanthropy = ({ posts = [] }) => {
EIN: 81-2908499
- Contact
+ Reach out toChristina AsquithCo-founder, COO, and Board Member
- christina@hackclub.com
+
+ christina@hackclub.com
+
@@ -1033,10 +1373,16 @@ const Philanthropy = ({ posts = [] }) => {
href="/philanthropy/hackclub.pdf"
download="HackClub"
mb={4}
+ sx={{fontSize: '1em !important'}}
>
Download as PDF
+
+
+ Site by Belle, 17, Hack Clubber
+
+
diff --git a/pages/philanthropy/supporters.js b/pages/philanthropy/supporters.js
new file mode 100644
index 00000000..9ee6873a
--- /dev/null
+++ b/pages/philanthropy/supporters.js
@@ -0,0 +1,256 @@
+import React, { useEffect } from 'react'
+import styled from '@emotion/styled'
+import {
+ Box,
+ Button,
+ Container,
+ Flex,
+ Heading,
+ Card,
+ Grid,
+ Link as A,
+ Text,
+ Avatar
+} from 'theme-ui'
+import Photo from '../../components/photo'
+import Image from 'next/image'
+import Head from 'next/head'
+import Meta from '@hackclub/meta'
+import ForceTheme from '../../components/force-theme'
+import Nav from '../../components/nav'
+import Sponsors from '../../components/donate/sponsors'
+import donors from '../../components/donate/donors.json'
+import Footer from '../../components/footer'
+
+
+const Header = styled(Box)`
+ background: url('/pattern.svg');
+`
+
+const Sheet = styled(Card)`
+ position: relative;
+ overflow: hidden;
+ border-radius: 8px;
+ width: 100%;
+ color: white;
+`
+Sheet.defaultProps = {
+ sx: {
+ bg: 'rgba(255, 255, 255, 0.875)',
+ p: [3, 4],
+ color: 'black',
+ width: 1,
+ mb: 4
+ }
+}
+
+const Row = styled(Box)`
+ text-align: left;
+ @media screen and (min-width: 48em) {
+ display: grid;
+ grid-gap: 18px;
+ grid-template-columns: ${({ reverse }) =>
+ reverse ? '3fr 2fr' : '2fr 3fr'};
+ }
+`
+
+Sheet.defaultProps = {
+ sx: {
+ maxWidth: '52rem',
+ fontSize: 3,
+ p: [4, 5],
+ color: 'white'
+ }
+}
+const subhline = { fontSize: [3, 4], style: { lineHeight: '1.375' } }
+
+const contentContainer = {
+ maxWidth: 72,
+ width: 1,
+ p: 3,
+ color: 'black',
+ style: { position: 'relative' }
+}
+const content = { maxWidth: 48, mx: 0, color: 'black' }
+
+const title = 'Donate'
+const desc =
+ 'Contribute today to empower the next generation and help start a coding club at every high school.'
+
+const DonorGrid = styled(Box)`
+ display: grid;
+ grid-gap: 6px;
+ grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
+ align-items: center;
+ p,
+ a {
+ width: 100%;
+ }
+ @media screen and (min-width: 48em) {
+ grid-gap: 18px;
+ grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
+ }
+`
+
+const DonorCardBase = styled(Sheet)`
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ @media screen and (max-width: 32em) {
+ border-radius: 0;
+ box-shadow: none;
+ }
+`
+const DonorCard = ({ name, link = false }) => (
+
+
+ {name}
+
+
+)
+const DonorListing = ({ name, url }) => {
+ if (url) {
+ return (
+
+
+
+ )
+ } else {
+ return
+ }
+}
+
+export default function Donate({ sprig }) {
+ useEffect(() => {
+ if (sprig) {
+ window.document.getElementById('sprig-donation').scrollIntoView()
+ }
+ }, [])
+ return (
+
+
+
+
+
+
+
+
+
+ We rely on people like you to bring coding to the world.
+
+
+ Contribute today to empower the next generation. Help start a
+ Hack Club at every high school.
+
+
+
+ Your contribution is tax-deductible.
+
+ Hack Club is a 501(c)(3) nonprofit with the EIN 81-2908499.
+
+
+
+
+
+
+
+
+ A few of our amazing donors.
+
+
+ {Object.keys(donors).map(name => (
+
+ ))}
+
+
+ and many more…
+
+
+
+
+
+
+ These fabulous companies donate their products to us.
+
+
+
+
+
+
+
+ )
+}
+
+export async function getServerSideProps(context) {
+ return {
+ props: {
+ sprig: Object.keys(context.query).includes('gl')
+ }
+ }
+}