diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index e574638e..d441f1c5 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -5,7 +5,7 @@
version: 2
updates:
- - package-ecosystem: "npm" # See documentation for possible values
- directory: "/" # Location of package manifests
+ - package-ecosystem: 'npm' # See documentation for possible values
+ directory: '/' # Location of package manifests
schedule:
- interval: "weekly"
+ interval: 'weekly'
diff --git a/components/analytics.js b/components/analytics.js
index aa5a7b34..e5f61d01 100644
--- a/components/analytics.js
+++ b/components/analytics.js
@@ -1,9 +1,9 @@
import Script from 'next/script'
const Analytics = () => (
-
)
diff --git a/components/announcements/amount.js b/components/announcements/amount.js
index 9d68c7d6..dec062e9 100644
--- a/components/announcements/amount.js
+++ b/components/announcements/amount.js
@@ -1,11 +1,15 @@
import Sparkles from '../sparkles'
-const Amount = ({amount}) => (
- {amount}
+const Amount = ({ amount }) => (
+
+ {amount}
+
)
export default Amount
diff --git a/components/announcements/cta.js b/components/announcements/cta.js
index 61040faf..2e41e8ec 100644
--- a/components/announcements/cta.js
+++ b/components/announcements/cta.js
@@ -22,8 +22,9 @@ export default function SlackCTA() {
Hack Club is a global community of high school makers & student-led
- coding clubs. We’ve got a 24/7 Slack chatroom of {thousands}k+ teenagers
- learning to code & building amazing projects, & you’ll fit right in.
+ coding clubs. We’ve got a 24/7 Slack chatroom of {thousands}k+
+ teenagers learning to code & building amazing projects, & you’ll fit
+ right in.
diff --git a/components/announcements/preston-werner.mdx b/components/announcements/preston-werner.mdx
index 1af69fa3..f371cc58 100644
--- a/components/announcements/preston-werner.mdx
+++ b/components/announcements/preston-werner.mdx
@@ -6,7 +6,7 @@ We are deeply grateful for this gift.
In the coming months, we hope you’ll share our excitement as we make 2 new hires directly serving Hack Clubbers. This gift increases Hack Club’s budget by 60%, and helps us build a diverse foundation at the leadership level of Hack Club as we grow.
-We are so honored to be included among the many gifts the Preston-Werners make each year. This is the 3rd year the Preston-Werners have given a gift to Hack Club, and they've supported the organization from the beginning.
+We are so honored to be included among the many gifts the Preston-Werners make each year. This is the 3rd year the Preston-Werners have given a gift to Hack Club, and they've supported the organization from the beginning.
Tom and Theresa inspire Hack Club's values. They are self-made hackers, passionate about constructing a better world in creative ways. They are deeply committed to environmental protection, women’s rights, ending global poverty and injustice; and are tremendous collaborators in making Hack Club a place where all young people can build and create their own solutions through coding and technology, regardless of their background. They apply rigorous-thinking, curiosity, humility, transparency, and deep expertise in academia and coding to the problems that need solving in the world, and inspire us to do the same.
diff --git a/components/announcements/relon.mdx b/components/announcements/relon.mdx
index 880e0db4..9819ae6d 100644
--- a/components/announcements/relon.mdx
+++ b/components/announcements/relon.mdx
@@ -20,7 +20,7 @@ Hack Club's mission is to help foster a new generation of hackers. This starts i
To every Hack Clubber: Elon continues to support you and your work, so go forth and do amazing things. We can't wait to share what you make.
-
+
Zach Latta, Founder & Executive Director
Christina Asquith, COO
diff --git a/components/color-switcher.js b/components/color-switcher.js
index 2363c352..b578ed10 100755
--- a/components/color-switcher.js
+++ b/components/color-switcher.js
@@ -1,6 +1,6 @@
import { IconButton, useColorMode } from 'theme-ui'
-const ColorSwitcher = (props) => {
+const ColorSwitcher = props => {
const [mode, setMode] = useColorMode()
return (
(
)
-export default Sponsors
\ No newline at end of file
+export default Sponsors
diff --git a/components/donate/sprigMeta.js b/components/donate/sprigMeta.js
index 4d616229..c161b145 100644
--- a/components/donate/sprigMeta.js
+++ b/components/donate/sprigMeta.js
@@ -2,11 +2,13 @@ import Meta from '@hackclub/meta'
import Head from 'next/head'
const SprigMeta = () => {
- return
+ return (
+
+ )
}
-export default SprigMeta
\ No newline at end of file
+export default SprigMeta
diff --git a/components/dot.js b/components/dot.js
index 0985e215..40aa9f0b 100644
--- a/components/dot.js
+++ b/components/dot.js
@@ -1,4 +1,4 @@
-import { Text } from "theme-ui"
+import { Text } from 'theme-ui'
import { keyframes } from '@emotion/react'
const flashing = keyframes({
@@ -27,4 +27,4 @@ export default function Dot() {
}}
/>
)
-}
\ No newline at end of file
+}
diff --git a/components/hackathons/features/marketing.js b/components/hackathons/features/marketing.js
index 507ce0a0..4d365cb6 100644
--- a/components/hackathons/features/marketing.js
+++ b/components/hackathons/features/marketing.js
@@ -23,9 +23,9 @@ const Content = () => (
Spread the word about your hackathon.
- Reach hackers worldwide by listing your event on hackathons.hackclub.com, the first Google search
- result for "high school hackathons." Your event will also be emailed to a
- network of high school hackers in your area.
+ Reach hackers worldwide by listing your event on hackathons.hackclub.com,
+ the first Google search result for "high school hackathons." Your event
+ will also be emailed to a network of high school hackers in your area.
-
-
- {timer.length ? (
-
- {timer}
-
- ) : (
- <>>
- )}
-
+
+
+ {timer.length ? (
+
+ {timer}
+
+ ) : (
+ <>>
+ )}
+
-
+
Join us this winter as 150+ teenage hackers from all around the
world travel to Delhi, India for Epoch! Together, we’ll build the
unexpected, share what we’ve learnt in 2022, and experience the
thrill of being in-person together.
- In Austin, Bay Area, or Vermont? Join a regional Epoch event!
+ In{' '}
+
+ Austin
+
+ ,{' '}
+
+ Bay Area
+
+ , or{' '}
+
+ Vermont
+
+ ? Join a regional Epoch event!
-
+
@@ -85,7 +85,7 @@ export default function Workshops({ data, stars }) {
Workshops
-
+
100+ community-contributed, self-guided coding tutorials and ideas.
@@ -110,7 +110,7 @@ export default function Workshops({ data, stars }) {
diff --git a/components/index/carousel-cards.js b/components/index/carousel-cards.js
index 61eb2007..5ccfc818 100644
--- a/components/index/carousel-cards.js
+++ b/components/index/carousel-cards.js
@@ -44,7 +44,14 @@ export default function CarouselCards({
>
{title}
-
+
{description}
diff --git a/components/index/events.js b/components/index/events.js
index d67f88ad..7e306970 100644
--- a/components/index/events.js
+++ b/components/index/events.js
@@ -137,7 +137,7 @@ export default function Events({ events }) {
!past(event.end) ? : <>>
)}
-
+
We just had these events:{' '}
{events.slice(0, 3).map(event =>
past(event.end) ? (
diff --git a/components/jobs/brand-director/jd.mdx b/components/jobs/brand-director/jd.mdx
index ae088c35..06054eae 100644
--- a/components/jobs/brand-director/jd.mdx
+++ b/components/jobs/brand-director/jd.mdx
@@ -3,19 +3,19 @@ _As of May 28th, 2021, applications for this role are now closed. Thank you to e
**Starting salary:** $120K - $140k
**Location:** Burlington, Vermont or remote
-Hi, I'm Christina, Hack Club COO, and I'm looking to hire a Brand Director to lead our team of journalists, programmers, startup entrepreneurs and donors in telling Hack Club's story.
+Hi, I'm Christina, Hack Club COO, and I'm looking to hire a Brand Director to lead our team of journalists, programmers, startup entrepreneurs and donors in telling Hack Club's story.
-As Brand Director, you'll mastermind and execute a strategy to present Hack Club beautifully---with sophistication, nuance and edge---to our donor audience, who include the world’s most innovative, creative, disruptive and wealthy individuals.
+As Brand Director, you'll mastermind and execute a strategy to present Hack Club beautifully---with sophistication, nuance and edge---to our donor audience, who include the world’s most innovative, creative, disruptive and wealthy individuals.
-The mission of **[Hack Club](https://hackclub.com)** is to be a place where teenagers can become more technical, feel welcome in getting started, feel inspired to build with code in ways that are always honest, transparent, high-integrity, kind and friendly. We want students to self-organize and assert themselves as persons.
+The mission of **[Hack Club](https://hackclub.com)** is to be a place where teenagers can become more technical, feel welcome in getting started, feel inspired to build with code in ways that are always honest, transparent, high-integrity, kind and friendly. We want students to self-organize and assert themselves as persons.
-Already, Hack Club is the largest network of talented teen coders in the country. When successful, Hack Club will be a nationwide cultural institution, creating a new generation of young people with the skills, network, and value system to become problem-solvers and builders for the 21st century-- a new Boy and Girl Scouts.
+Already, Hack Club is the largest network of talented teen coders in the country. When successful, Hack Club will be a nationwide cultural institution, creating a new generation of young people with the skills, network, and value system to become problem-solvers and builders for the 21st century-- a new Boy and Girl Scouts.
-You should have experience building a brand from scratch in the nonprofit sector for a donor audience.
+You should have experience building a brand from scratch in the nonprofit sector for a donor audience.
You will be Hack Club's first brand director, so although we have ideas we are looking for someone who listens well, and then drives this process.
-Activities could include creating a library of video assets, creating donor materials, designing outreach campaigns, hosting events on Clubhouse or in our AMAs, orchestrating a series of journalism pieces, and working alongside our 9-person team of coders, engineers and artists; as well as hiring contractors to implement the vision.
+Activities could include creating a library of video assets, creating donor materials, designing outreach campaigns, hosting events on Clubhouse or in our AMAs, orchestrating a series of journalism pieces, and working alongside our 9-person team of coders, engineers and artists; as well as hiring contractors to implement the vision.
We'll be working closely together, and my background is as a print, magazine, radio journalist and editor and doc-maker, published in news outlets like The New York Times, The Atlantic and The Economist.
@@ -37,6 +37,6 @@ Founded in 2014 by a teen hacker on the internet, 500 Hack Club are running toda
Hack Club staff works directly with 14-18 year olds, as they run their own clubs and build amazing projects, including a weather balloon that sent an Arduino into space, a summer project that distributed $50k in hardware, a program to send thousands of hand-written cards to front-line COVID workers, a robot from recyled parts in Zambia, and so much more.
-Hack Club operates with zero cost to school systems or taxpayers; has no teachers or curriculum; is remote and online; and is totally free and accessible to all teenagers regardless of race, gender or economic background. Our model works in rich, poor, urban and remote schools. Hack Club is also fully transparent with its finances, and operates at one of the lowest costs per student in the nonprofit sector. We rarely do corporate partnerships.
+Hack Club operates with zero cost to school systems or taxpayers; has no teachers or curriculum; is remote and online; and is totally free and accessible to all teenagers regardless of race, gender or economic background. Our model works in rich, poor, urban and remote schools. Hack Club is also fully transparent with its finances, and operates at one of the lowest costs per student in the nonprofit sector. We rarely do corporate partnerships.
We pride ourselves in being a coding education nonprofit that acts more like a tech-start up. Our work environment is fun, challenging, risk-taking, and high-energy. We are structured, but support flexible hours.
diff --git a/components/jobs/communications-manager/jd.mdx b/components/jobs/communications-manager/jd.mdx
index 2aba8a14..4fd3bc46 100644
--- a/components/jobs/communications-manager/jd.mdx
+++ b/components/jobs/communications-manager/jd.mdx
@@ -2,34 +2,35 @@
Hack Club is a fun, quickly-growing start-up, run by a small team of highly-creative engineers, building programs every day for thousands of teenagers from around the world. Watch https://www.youtube.com/watch?v=2BID8_pGuqA to learn more about Hack Club, and to see the sort of projects you would be supporting. Our existing donors include many high-profile, Silicon Valley tech founders who have given initial gifts.
-We are looking for a lead to focus on communications.
+We are looking for a lead to focus on communications.
This person should be a strong and persuasive writer, be diligent and detail-oriented with an exemplary work ethic. This person's main goal will be to make sure every teenager who would want to know about Hack Club knows about Hack Club, and create comms that meet teens where they're at.
The ideal candidate will be a creative communicator, up-to-date on presentation, video and design software, with organizational skills to tell Hack Club's story to the world.
-
**Responsibilities include:**
-- Design Hack Club's story and brand, and strategize on how to tell it to the world through different media, including video, social media, and print
-- Collaborate with video and design teams to build cool comms
-- Respond to communication-related issues in a timely manner
-- Coach and assist Hack Clubbers to be able to speak about their Hack Club experiences and grow their communication skills
-- Create informative and interesting newsletters for Hack Clubbers
-- Do some outreach to mainstream media, especially during breaking news
+
+- Design Hack Club's story and brand, and strategize on how to tell it to the world through different media, including video, social media, and print
+- Collaborate with video and design teams to build cool comms
+- Respond to communication-related issues in a timely manner
+- Coach and assist Hack Clubbers to be able to speak about their Hack Club experiences and grow their communication skills
+- Create informative and interesting newsletters for Hack Clubbers
+- Do some outreach to mainstream media, especially during breaking news
**Basic Qualifications:**
-- Exceptional communication abilities, including writing, speaking, and active listening
-- Excellent organizational skills and attention to detail
-- Great project management skills, including time management, goal-setting, multitasking and prioritization
-- Can demonstrate with examples having created media/messaging that's generated a huge following
-- Has done stuff that's gone viral
-- Has led brand/marketing campaigns for organizations
-- Has published writing/video/media that's been popular
-- Leadership abilities, including training and mentorship
-- You are technical or you can demonstrate a basic understanding of technical terminology
-- You are older than 18, and can create media for teenagers
-- Technical aptitude, or energy to learn quickly, including enough knowledge of design software, online communities like Slack, coding programs, and Notion to work with the team
+
+- Exceptional communication abilities, including writing, speaking, and active listening
+- Excellent organizational skills and attention to detail
+- Great project management skills, including time management, goal-setting, multitasking and prioritization
+- Can demonstrate with examples having created media/messaging that's generated a huge following
+- Has done stuff that's gone viral
+- Has led brand/marketing campaigns for organizations
+- Has published writing/video/media that's been popular
+- Leadership abilities, including training and mentorship
+- You are technical or you can demonstrate a basic understanding of technical terminology
+- You are older than 18, and can create media for teenagers
+- Technical aptitude, or energy to learn quickly, including enough knowledge of design software, online communities like Slack, coding programs, and Notion to work with the team
We have a strong preference for someone in-person in Vermont, but we will consider applications from people who want to work remotely, provided they are willing to travel to our offices. Relocation assistance is available. We have COVID protocols and take them seriously.
-**How to Apply:** Email jobs@hackclub.com with "papyrus" in the subject line, 3 bullet points demonstrating why you would be exceptional for the role, and your resume.
\ No newline at end of file
+**How to Apply:** Email jobs@hackclub.com with "papyrus" in the subject line, 3 bullet points demonstrating why you would be exceptional for the role, and your resume.
diff --git a/components/jobs/customer-success-lead/jd.mdx b/components/jobs/customer-success-lead/jd.mdx
index 35368d37..5bc50fe3 100644
--- a/components/jobs/customer-success-lead/jd.mdx
+++ b/components/jobs/customer-success-lead/jd.mdx
@@ -38,7 +38,7 @@ _This position has been filled as of May 3rd, 2022. Thank you to everyone who ap
### REQUIRED
- Software savvy: Experienced in Google Docs or Microsoft Office applications, comfortable in spreadsheets, databases, project management software tools
-- Superior organizational skills
+- Superior organizational skills
- Terrific written and verbal communication skills
**FULL JOB DESCRIPTION HERE:** [hack.af/cust-success-lead](https://hack.af/cust-success-lead)
diff --git a/components/jobs/executive-producer/jd.mdx b/components/jobs/executive-producer/jd.mdx
index b9125e69..bf66db29 100644
--- a/components/jobs/executive-producer/jd.mdx
+++ b/components/jobs/executive-producer/jd.mdx
@@ -10,7 +10,6 @@ One unique and fun aspect of working for Hack Club is that you interact directly
Your goal is to tell Hack Club's story so that every technical teenager in the world hears about Hack Club and in a way that makes Hack Club better for those already in it.
-
**Responsibilities for you and your team include:**
- Curating and managing 30-60-90 day content calendar with launches
@@ -38,7 +37,7 @@ Hack Club's work is highly technical. Our content must go deep in capturing tech
- You're an entrepreneurial self-starter and a hard worker
- You're a good editor and can shape and idea, and give solid feedback
- You have an eye for how to make content go viral.
-- You have made short videos
+- You have made short videos
- Demonstrated ability to repurpose long form content (blogs/Op-Eds/conversation transcriptions) into into micro-content (short videos or static posts, stories, memes).
- You're comfortable communicating online (we're on Slack).
diff --git a/components/jobs/philanthropy-communications-lead/jd.mdx b/components/jobs/philanthropy-communications-lead/jd.mdx
index 9b8d50d6..ec0817c8 100644
--- a/components/jobs/philanthropy-communications-lead/jd.mdx
+++ b/components/jobs/philanthropy-communications-lead/jd.mdx
@@ -20,19 +20,19 @@ Conceptualize partnerships with aligned companies like SpaceX, Replit, GitHub an
Actively participate in creating our media/marketing strategy, and then work closely with Hack Club's communications team, which will:
-- Edit a blog by and for Hack Club that is multimedia and pulls from engineers, the founder and teenagers.
+- Edit a blog by and for Hack Club that is multimedia and pulls from engineers, the founder and teenagers.
-- Manage our social media, including a 15k Twitter following, and launch out Instagram, and build out our YouTube
+- Manage our social media, including a 15k Twitter following, and launch out Instagram, and build out our YouTube
-- Create informative and interesting newsletters for Hack Club club leaders and a separate (but overlapping) letter for donors. Roam across the org generating content.
+- Create informative and interesting newsletters for Hack Club club leaders and a separate (but overlapping) letter for donors. Roam across the org generating content.
-- Design video content with a video editor that produces 1 min videos on the organization. This will tap into the creativity of the community to produce.
+- Design video content with a video editor that produces 1 min videos on the organization. This will tap into the creativity of the community to produce.
-- Facilitate, coach and assist Hack Clubbers to be able to speak about their Hack Club experiences and grow their communication skills
+- Facilitate, coach and assist Hack Clubbers to be able to speak about their Hack Club experiences and grow their communication skills
-- Create informative and interesting newsletters for Hack Clubbers
+- Create informative and interesting newsletters for Hack Clubbers
-** Your skills and qualifications: **
+** Your skills and qualifications: **
You have a demonstrated track record of identifying, cultivating, and soliciting donations
@@ -84,4 +84,4 @@ Fully Covid-19 vaccinated
**TO APPLY:** Email jobs@hackclub.com with "bling" in the subject line, 3 bullet points demonstrating why you would be exceptional for the role, and your resume
-Hack Club provides equal employment opportunities without regard to race, color, ethnicity, religion, sex, pregnancy or recent childbirth or related medical condition, gender identity and expression, sexual orientation, national origin, ancestry, age, disability, the use of a guide or support animal because of blindness, deafness or physical handicap of any individual, citizenship, veteran or military status, genetic information, marital status, familial status, domestic or sexual violence status, possession of a GED instead of high school diploma, or any other protected characteristic under applicable federal, state or local laws.
\ No newline at end of file
+Hack Club provides equal employment opportunities without regard to race, color, ethnicity, religion, sex, pregnancy or recent childbirth or related medical condition, gender identity and expression, sexual orientation, national origin, ancestry, age, disability, the use of a guide or support animal because of blindness, deafness or physical handicap of any individual, citizenship, veteran or military status, genetic information, marital status, familial status, domestic or sexual violence status, possession of a GED instead of high school diploma, or any other protected characteristic under applicable federal, state or local laws.
diff --git a/components/photo.js b/components/photo.js
index 34260edc..c487c6d5 100644
--- a/components/photo.js
+++ b/components/photo.js
@@ -16,7 +16,16 @@ const Caption = styled(Text)`
z-index: 0;
`
-const Photo = ({ src, width, height, alt, showAlt, dark, loading, ...props }) => {
+const Photo = ({
+ src,
+ width,
+ height,
+ alt,
+ showAlt,
+ dark,
+ loading,
+ ...props
+}) => {
const [colorMode] = useColorMode()
const showCaption = showAlt && alt
return (
diff --git a/components/posts/index.js b/components/posts/index.js
index e047dff0..7eb4b9d5 100644
--- a/components/posts/index.js
+++ b/components/posts/index.js
@@ -7,7 +7,8 @@ import Image from 'next/image'
import Mention from './mention'
import Emoji from './emoji'
-const dataDetector = /(<.+?\|?\S+>)|(@\S+)|(`{3}[\S\s]+`{3})|(`[^`]+`)|(_[^_]+_)|(\*[^\*]+\*)|(:[^ .,;`\u2013~!@#$%^&*(){}=\\:"<>?|A-Z]+:)/
+const dataDetector =
+ /(<.+?\|?\S+>)|(@\S+)|(`{3}[\S\s]+`{3})|(`[^`]+`)|(_[^_]+_)|(\*[^\*]+\*)|(:[^ .,;`\u2013~!@#$%^&*(){}=\\:"<>?|A-Z]+:)/
export const formatText = text =>
text.split(dataDetector).map((chunk, i) => {
@@ -117,13 +118,13 @@ const Post = ({
img: { objectFit: 'cover', width: '100%' }
}}
>
- {filter(attachments, a => ['jpg', 'jpeg', 'png'].includes(a.split('.')[a.split('.').length - 1])).map(img => (
-
- ))}
+ {filter(attachments, a =>
+ ['jpg', 'jpeg', 'png'].includes(
+ a.split('.')[a.split('.').length - 1]
+ )
+ ).map(img => (
+
+ ))}
>
)}
diff --git a/components/scroll-hint.js b/components/scroll-hint.js
index 91fbd70b..32dd985e 100644
--- a/components/scroll-hint.js
+++ b/components/scroll-hint.js
@@ -14,7 +14,7 @@ const handleClick = () => {
}
})
}
-const ScrollHint = ({...props}) => (
+const ScrollHint = ({ ...props }) => (
(
>
)
-export default ScrollHint
\ No newline at end of file
+export default ScrollHint
diff --git a/components/secret.js b/components/secret.js
index f397e873..3fa759e1 100644
--- a/components/secret.js
+++ b/components/secret.js
@@ -1,12 +1,12 @@
-import { Box, Text } from "theme-ui"
-import { useState, useEffect } from "react"
+import { Box, Text } from 'theme-ui'
+import { useState, useEffect } from 'react'
export default function Secret({ reveal, ...props }) {
const [img, setImage] = useState('')
useEffect(() => {
setImage('https://geta.dino.icu/dino.png')
- },[])
+ }, [])
return (
{
+const Signature = ({ fname, lname, width }) => {
// enforce a sane color mode (typescript should do this in the future)
let [colorMode] = useColorMode()
colorMode = colorMode === 'dark' ? 'light' : 'dark'
diff --git a/components/signatures.js b/components/signatures.js
index e3b14ac9..1505fbdd 100644
--- a/components/signatures.js
+++ b/components/signatures.js
@@ -1,7 +1,6 @@
import { Image, useColorMode } from 'theme-ui'
-
-const Signatures = ({fileName, width}) => {
+const Signatures = ({ fileName, width }) => {
// enforce a sane color mode (typescript should do this in the future)
let [colorMode] = useColorMode()
colorMode = colorMode === 'dark' ? 'light' : 'dark'
diff --git a/components/slack.js b/components/slack.js
index d36d3389..6c76e7c4 100644
--- a/components/slack.js
+++ b/components/slack.js
@@ -37,9 +37,10 @@ const Content = () => (
Come for the skills, stay for the people.
- Communication and planning for our open source projects happen in the Slack. Coding is often seen as an isolating activity. Plenty of groups exist for
- kids who are interested in sports, theater, or chess, but the stereotype
- of a programmer is a person who sits alone in a dark room.{' '}
+ Communication and planning for our open source projects happen in the
+ Slack. Coding is often seen as an isolating activity. Plenty of groups
+ exist for kids who are interested in sports, theater, or chess, but the
+ stereotype of a programmer is a person who sits alone in a dark room.{' '}
It doesn't have to be this way—in the Hack Club Slack
(Discord-style online groupchat), you'll find a group of {formatted}+{' '}
fabulous people to talk to, active at all hours.
diff --git a/components/slack/header.js b/components/slack/header.js
index 5d17428d..32ce33e9 100644
--- a/components/slack/header.js
+++ b/components/slack/header.js
@@ -5,11 +5,7 @@ import usePrefersMotion from '../../lib/use-prefers-motion'
import useHasMounted from '../../lib/use-has-mounted'
const Content = () => (
-
+ {
return (
)}
-
+
RSVP
@@ -143,7 +138,7 @@ export default function InfoGrid() {
borderRadius: 'default',
px: 4,
py: 3,
- mb: 3,
+ mb: 3
}}
>
diff --git a/components/winter/recap.js b/components/winter/recap.js
index 68745c83..80d4f252 100644
--- a/components/winter/recap.js
+++ b/components/winter/recap.js
@@ -90,7 +90,16 @@ function Recap() {
*/}
-
+
RSVP
diff --git a/components/winter/timeline.js b/components/winter/timeline.js
index 4b3914be..f37cd801 100644
--- a/components/winter/timeline.js
+++ b/components/winter/timeline.js
@@ -94,7 +94,11 @@ function Step({ icon, name, duration, href }) {
{duration}
{name}
diff --git a/lib/countries.json b/lib/countries.json
index 54e78c0a..8d46feb6 100644
--- a/lib/countries.json
+++ b/lib/countries.json
@@ -1,252 +1,252 @@
{
- "countries": [
- "United States of America (US)",
- "Canada (CA)",
- "United Kingdom of Great Britain and Northern Ireland (GB)",
- "Afghanistan (AF)",
- "Åland Islands (AX)",
- "Albania (AL)",
- "Algeria (DZ)",
- "American Samoa (AS)",
- "Andorra (AD)",
- "Angola (AO)",
- "Anguilla (AI)",
- "Antarctica (AQ)",
- "Antigua and Barbuda (AG)",
- "Argentina (AR)",
- "Armenia (AM)",
- "Aruba (AW)",
- "Australia (AU)",
- "Austria (AT)",
- "Azerbaijan (AZ)",
- "Bahamas (BS)",
- "Bahrain (BH)",
- "Bangladesh (BD)",
- "Barbados (BB)",
- "Belarus (BY)",
- "Belgium (BE)",
- "Belize (BZ)",
- "Benin (BJ)",
- "Bermuda (BM)",
- "Bhutan (BT)",
- "Bolivia (BO)",
- "Bonaire (BQ)",
- "Bosnia and Herzegovina (BA)",
- "Botswana (BW)",
- "Bouvet Island (BV)",
- "Brazil (BR)",
- "British Indian Ocean Territory (IO)",
- "Brunei Darussalam (BN)",
- "Bulgaria (BG)",
- "Burkina Faso (BF)",
- "Burundi (BI)",
- "Cabo Verde (CV)",
- "Cambodia (KH)",
- "Cameroon (CM)",
- "Cayman Islands (KY)",
- "Central African Republic (CF)",
- "Chad (TD)",
- "Chile (CL)",
- "China (CN)",
- "Christmas Island (CX)",
- "Cocos (Keeling) Islands (CC)",
- "Colombia (CO)",
- "Comoros (KM)",
- "Congo (the Democratic Republic of the) (CD)",
- "Congo (the) (CG)",
- "Cook Islands (CK)",
- "Costa Rica (CR)",
- "Côte d'Ivoire (CI)",
- "Croatia (HR)",
- "Cuba (CU)",
- "Curaçao (CW)",
- "Cyprus (CY)",
- "Czechia (CZ)",
- "Denmark (DK)",
- "Djibouti (DJ)",
- "Dominica (DM)",
- "Dominican Republic (DO)",
- "Ecuador (EC)",
- "Egypt (EG)",
- "El Salvador (SV)",
- "Equatorial Guinea (GQ)",
- "Eritrea (ER)",
- "Estonia (EE)",
- "Eswatini (SZ)",
- "Ethiopia (ET)",
- "Falkland Islands (FK)",
- "Faroe Islands (FO)",
- "Fiji (FJ)",
- "Finland (FI)",
- "France (FR)",
- "French Guiana (GF)",
- "French Polynesia (PF)",
- "French Southern Territories (TF)",
- "Gabon (GA)",
- "Gambia (GM)",
- "Georgia (GE)",
- "Germany (DE)",
- "Ghana (GH)",
- "Gibraltar (GI)",
- "Greece (GR)",
- "Greenland (GL)",
- "Grenada (GD)",
- "Guadeloupe (GP)",
- "Guam (GU)",
- "Guatemala (GT)",
- "Guernsey (GG)",
- "Guinea (GN)",
- "Guinea-Bissau (GW)",
- "Guyana (GY)",
- "Haiti (HT)",
- "Heard Island and McDonald Islands (HM)",
- "Holy See (VA)",
- "Honduras (HN)",
- "Hong Kong (HK)",
- "Hungary (HU)",
- "Iceland (IS)",
- "India (IN)",
- "Indonesia (ID)",
- "Iran (IR)",
- "Iraq (IQ)",
- "Ireland (IE)",
- "Isle of Man (IM)",
- "Israel (IL)",
- "Italy (IT)",
- "Jamaica (JM)",
- "Japan (JP)",
- "Jersey (JE)",
- "Jordan (JO)",
- "Kazakhstan (KZ)",
- "Kenya (KE)",
- "Kiribati (KI)",
- "Korea (the Democratic People's Republic of) (KP)",
- "Korea (the Republic of) (KR)",
- "Kuwait (KW)",
- "Lao People's Democratic Republic (LA)",
- "Latvia (LV)",
- "Lebanon (LB)",
- "Lesotho (LS)",
- "Liberia (LR)",
- "Libya (LY)",
- "Liechtenstein (LI)",
- "Lithuania (LT)",
- "Luxembourg (LU)",
- "Macao (MO)",
- "Macedonia (the former Yugoslav Republic of) (MK)",
- "Madagascar (MG)",
- "Malawi (MW)",
- "Malaysia (MY)",
- "Maldives (MV)",
- "Mali (ML)",
- "Malta (MT)",
- "Marshall Islands (MH)",
- "Martinique (MQ)",
- "Mauritania (MR)",
- "Mauritius (MU)",
- "Mayotte (YT)",
- "Mexico (MX)",
- "Micronesia (FM)",
- "Moldova (MD)",
- "Monaco (MC)",
- "Mongolia (MN)",
- "Montenegro (ME)",
- "Montserrat (MS)",
- "Morocco (MA)",
- "Mozambique (MZ)",
- "Myanmar (MM)",
- "Namibia (NA)",
- "Nauru (NR)",
- "Nepal (NP)",
- "Netherlands (NL)",
- "New Caledonia (NC)",
- "New Zealand (NZ)",
- "Nicaragua (NI)",
- "Niger (NE)",
- "Nigeria (NG)",
- "Niue (NU)",
- "Norfolk Island (NF)",
- "Northern Mariana Islands (MP)",
- "Norway (NO)",
- "Oman (OM)",
- "Pakistan (PK)",
- "Palau (PW)",
- "Palestine (PS)",
- "Panama (PA)",
- "Papua New Guinea (PG)",
- "Paraguay (PY)",
- "Peru (PE)",
- "Philippines (PH)",
- "Pitcairn (PN)",
- "Poland (PL)",
- "Portugal (PT)",
- "Puerto Rico (PR)",
- "Qatar (QA)",
- "Réunion (RE)",
- "Romania (RO)",
- "Russian Federation (RU)",
- "Rwanda (RW)",
- "Saint Barthélemy (BL)",
- "Saint Helena, Ascension and Tristan da Cunha (SH)",
- "Saint Kitts and Nevis (KN)",
- "Saint Lucia (LC)",
- "Saint Martin (MF)",
- "Saint Pierre and Miquelon (PM)",
- "Saint Vincent and the Grenadines (VC)",
- "Samoa (WS)",
- "San Marino (SM)",
- "Sao Tome and Principe (ST)",
- "Saudi Arabia (SA)",
- "Senegal (SN)",
- "Serbia (RS)",
- "Seychelles (SC)",
- "Sierra Leone (SL)",
- "Singapore (SG)",
- "Sint Maarten (SX)",
- "Slovakia (SK)",
- "Slovenia (SI)",
- "Solomon Islands (SB)",
- "Somalia (SO)",
- "South Africa (ZA)",
- "South Georgia and the South Sandwich Islands (GS)",
- "South Sudan (SS)",
- "Spain (ES)",
- "Sri Lanka (LK)",
- "Sudan (the) (SD)",
- "Suriname (SR)",
- "Svalbard (SJ)",
- "Sweden (SE)",
- "Switzerland (CH)",
- "Syrian Arab Republic (SY)",
- "Taiwan (TW)",
- "Tajikistan (TJ)",
- "Tanzania, United Republic of (TZ)",
- "Thailand (TH)",
- "Timor-Leste (TL)",
- "Togo (TG)",
- "Tokelau (TK)",
- "Tonga (TO)",
- "Trinidad and Tobago (TT)",
- "Tunisia (TN)",
- "Turkey (TR)",
- "Turkmenistan (TM)",
- "Turks and Caicos Islands (TC)",
- "Tuvalu (TV)",
- "Uganda (UG)",
- "Ukraine (UA)",
- "United Arab Emirates (AE)",
- "United States Minor Outlying Islands (UM)",
- "Uruguay (UY)",
- "Uzbekistan (UZ)",
- "Vanuatu (VU)",
- "Venezuela (VE)",
- "Viet Nam (VN)",
- "Virgin Islands (British) (VG)",
- "Virgin Islands (U.S.) (VI)",
- "Wallis and Futuna (WF)",
- "Western Sahara (EH)",
- "Yemen (YE)",
- "Zambia (ZM)",
- "Zimbabwe (ZW)"
- ]
+ "countries": [
+ "United States of America (US)",
+ "Canada (CA)",
+ "United Kingdom of Great Britain and Northern Ireland (GB)",
+ "Afghanistan (AF)",
+ "Åland Islands (AX)",
+ "Albania (AL)",
+ "Algeria (DZ)",
+ "American Samoa (AS)",
+ "Andorra (AD)",
+ "Angola (AO)",
+ "Anguilla (AI)",
+ "Antarctica (AQ)",
+ "Antigua and Barbuda (AG)",
+ "Argentina (AR)",
+ "Armenia (AM)",
+ "Aruba (AW)",
+ "Australia (AU)",
+ "Austria (AT)",
+ "Azerbaijan (AZ)",
+ "Bahamas (BS)",
+ "Bahrain (BH)",
+ "Bangladesh (BD)",
+ "Barbados (BB)",
+ "Belarus (BY)",
+ "Belgium (BE)",
+ "Belize (BZ)",
+ "Benin (BJ)",
+ "Bermuda (BM)",
+ "Bhutan (BT)",
+ "Bolivia (BO)",
+ "Bonaire (BQ)",
+ "Bosnia and Herzegovina (BA)",
+ "Botswana (BW)",
+ "Bouvet Island (BV)",
+ "Brazil (BR)",
+ "British Indian Ocean Territory (IO)",
+ "Brunei Darussalam (BN)",
+ "Bulgaria (BG)",
+ "Burkina Faso (BF)",
+ "Burundi (BI)",
+ "Cabo Verde (CV)",
+ "Cambodia (KH)",
+ "Cameroon (CM)",
+ "Cayman Islands (KY)",
+ "Central African Republic (CF)",
+ "Chad (TD)",
+ "Chile (CL)",
+ "China (CN)",
+ "Christmas Island (CX)",
+ "Cocos (Keeling) Islands (CC)",
+ "Colombia (CO)",
+ "Comoros (KM)",
+ "Congo (the Democratic Republic of the) (CD)",
+ "Congo (the) (CG)",
+ "Cook Islands (CK)",
+ "Costa Rica (CR)",
+ "Côte d'Ivoire (CI)",
+ "Croatia (HR)",
+ "Cuba (CU)",
+ "Curaçao (CW)",
+ "Cyprus (CY)",
+ "Czechia (CZ)",
+ "Denmark (DK)",
+ "Djibouti (DJ)",
+ "Dominica (DM)",
+ "Dominican Republic (DO)",
+ "Ecuador (EC)",
+ "Egypt (EG)",
+ "El Salvador (SV)",
+ "Equatorial Guinea (GQ)",
+ "Eritrea (ER)",
+ "Estonia (EE)",
+ "Eswatini (SZ)",
+ "Ethiopia (ET)",
+ "Falkland Islands (FK)",
+ "Faroe Islands (FO)",
+ "Fiji (FJ)",
+ "Finland (FI)",
+ "France (FR)",
+ "French Guiana (GF)",
+ "French Polynesia (PF)",
+ "French Southern Territories (TF)",
+ "Gabon (GA)",
+ "Gambia (GM)",
+ "Georgia (GE)",
+ "Germany (DE)",
+ "Ghana (GH)",
+ "Gibraltar (GI)",
+ "Greece (GR)",
+ "Greenland (GL)",
+ "Grenada (GD)",
+ "Guadeloupe (GP)",
+ "Guam (GU)",
+ "Guatemala (GT)",
+ "Guernsey (GG)",
+ "Guinea (GN)",
+ "Guinea-Bissau (GW)",
+ "Guyana (GY)",
+ "Haiti (HT)",
+ "Heard Island and McDonald Islands (HM)",
+ "Holy See (VA)",
+ "Honduras (HN)",
+ "Hong Kong (HK)",
+ "Hungary (HU)",
+ "Iceland (IS)",
+ "India (IN)",
+ "Indonesia (ID)",
+ "Iran (IR)",
+ "Iraq (IQ)",
+ "Ireland (IE)",
+ "Isle of Man (IM)",
+ "Israel (IL)",
+ "Italy (IT)",
+ "Jamaica (JM)",
+ "Japan (JP)",
+ "Jersey (JE)",
+ "Jordan (JO)",
+ "Kazakhstan (KZ)",
+ "Kenya (KE)",
+ "Kiribati (KI)",
+ "Korea (the Democratic People's Republic of) (KP)",
+ "Korea (the Republic of) (KR)",
+ "Kuwait (KW)",
+ "Lao People's Democratic Republic (LA)",
+ "Latvia (LV)",
+ "Lebanon (LB)",
+ "Lesotho (LS)",
+ "Liberia (LR)",
+ "Libya (LY)",
+ "Liechtenstein (LI)",
+ "Lithuania (LT)",
+ "Luxembourg (LU)",
+ "Macao (MO)",
+ "Macedonia (the former Yugoslav Republic of) (MK)",
+ "Madagascar (MG)",
+ "Malawi (MW)",
+ "Malaysia (MY)",
+ "Maldives (MV)",
+ "Mali (ML)",
+ "Malta (MT)",
+ "Marshall Islands (MH)",
+ "Martinique (MQ)",
+ "Mauritania (MR)",
+ "Mauritius (MU)",
+ "Mayotte (YT)",
+ "Mexico (MX)",
+ "Micronesia (FM)",
+ "Moldova (MD)",
+ "Monaco (MC)",
+ "Mongolia (MN)",
+ "Montenegro (ME)",
+ "Montserrat (MS)",
+ "Morocco (MA)",
+ "Mozambique (MZ)",
+ "Myanmar (MM)",
+ "Namibia (NA)",
+ "Nauru (NR)",
+ "Nepal (NP)",
+ "Netherlands (NL)",
+ "New Caledonia (NC)",
+ "New Zealand (NZ)",
+ "Nicaragua (NI)",
+ "Niger (NE)",
+ "Nigeria (NG)",
+ "Niue (NU)",
+ "Norfolk Island (NF)",
+ "Northern Mariana Islands (MP)",
+ "Norway (NO)",
+ "Oman (OM)",
+ "Pakistan (PK)",
+ "Palau (PW)",
+ "Palestine (PS)",
+ "Panama (PA)",
+ "Papua New Guinea (PG)",
+ "Paraguay (PY)",
+ "Peru (PE)",
+ "Philippines (PH)",
+ "Pitcairn (PN)",
+ "Poland (PL)",
+ "Portugal (PT)",
+ "Puerto Rico (PR)",
+ "Qatar (QA)",
+ "Réunion (RE)",
+ "Romania (RO)",
+ "Russian Federation (RU)",
+ "Rwanda (RW)",
+ "Saint Barthélemy (BL)",
+ "Saint Helena, Ascension and Tristan da Cunha (SH)",
+ "Saint Kitts and Nevis (KN)",
+ "Saint Lucia (LC)",
+ "Saint Martin (MF)",
+ "Saint Pierre and Miquelon (PM)",
+ "Saint Vincent and the Grenadines (VC)",
+ "Samoa (WS)",
+ "San Marino (SM)",
+ "Sao Tome and Principe (ST)",
+ "Saudi Arabia (SA)",
+ "Senegal (SN)",
+ "Serbia (RS)",
+ "Seychelles (SC)",
+ "Sierra Leone (SL)",
+ "Singapore (SG)",
+ "Sint Maarten (SX)",
+ "Slovakia (SK)",
+ "Slovenia (SI)",
+ "Solomon Islands (SB)",
+ "Somalia (SO)",
+ "South Africa (ZA)",
+ "South Georgia and the South Sandwich Islands (GS)",
+ "South Sudan (SS)",
+ "Spain (ES)",
+ "Sri Lanka (LK)",
+ "Sudan (the) (SD)",
+ "Suriname (SR)",
+ "Svalbard (SJ)",
+ "Sweden (SE)",
+ "Switzerland (CH)",
+ "Syrian Arab Republic (SY)",
+ "Taiwan (TW)",
+ "Tajikistan (TJ)",
+ "Tanzania, United Republic of (TZ)",
+ "Thailand (TH)",
+ "Timor-Leste (TL)",
+ "Togo (TG)",
+ "Tokelau (TK)",
+ "Tonga (TO)",
+ "Trinidad and Tobago (TT)",
+ "Tunisia (TN)",
+ "Turkey (TR)",
+ "Turkmenistan (TM)",
+ "Turks and Caicos Islands (TC)",
+ "Tuvalu (TV)",
+ "Uganda (UG)",
+ "Ukraine (UA)",
+ "United Arab Emirates (AE)",
+ "United States Minor Outlying Islands (UM)",
+ "Uruguay (UY)",
+ "Uzbekistan (UZ)",
+ "Vanuatu (VU)",
+ "Venezuela (VE)",
+ "Viet Nam (VN)",
+ "Virgin Islands (British) (VG)",
+ "Virgin Islands (U.S.) (VI)",
+ "Wallis and Futuna (WF)",
+ "Western Sahara (EH)",
+ "Yemen (YE)",
+ "Zambia (ZM)",
+ "Zimbabwe (ZW)"
+ ]
}
diff --git a/lib/dates.js b/lib/dates.js
index 0aed21e1..7a0d3a07 100644
--- a/lib/dates.js
+++ b/lib/dates.js
@@ -1,10 +1,7 @@
export const dt = d => new Date(d).toLocaleDateString()
const year = new Date().getFullYear()
-export const tinyDt = d =>
- dt(d)
- .replace(`/${year}`, '')
- .replace(`${year}-`, '')
+export const tinyDt = d => dt(d).replace(`/${year}`, '').replace(`${year}-`, '')
// based on https://github.com/withspectrum/spectrum/blob/alpha/src/helpers/utils.js#L146
export const timeSince = (
diff --git a/lib/use-form.js b/lib/use-form.js
index f51eff40..ea4d8145 100644
--- a/lib/use-form.js
+++ b/lib/use-form.js
@@ -6,7 +6,7 @@ const useForm = (
options = { clearOnSubmit: 5000, method: 'POST', initData: {} }
) => {
const [status, setStatus] = useState('default')
- const [data, setData] = useState({...options.initData})
+ const [data, setData] = useState({ ...options.initData })
const [touched, setTouched] = useState({})
const onFieldChange = (e, name, type) => {
diff --git a/lib/use-prefers-reduced-motion.js b/lib/use-prefers-reduced-motion.js
index 6860a962..1e763e50 100644
--- a/lib/use-prefers-reduced-motion.js
+++ b/lib/use-prefers-reduced-motion.js
@@ -13,9 +13,8 @@ const getInitialState = () => {
}
function usePrefersReducedMotion() {
- const [prefersReducedMotion, setPrefersReducedMotion] = React.useState(
- getInitialState
- )
+ const [prefersReducedMotion, setPrefersReducedMotion] =
+ React.useState(getInitialState)
React.useEffect(() => {
const mediaQueryList = window.matchMedia(QUERY)
const listener = event => {
diff --git a/pages/_app.js b/pages/_app.js
index 0733cc6c..7dcd21c4 100755
--- a/pages/_app.js
+++ b/pages/_app.js
@@ -1,7 +1,7 @@
import React from 'react'
import Head from 'next/head'
-import Analytics from "../components/analytics.js";
+import Analytics from '../components/analytics.js'
import Meta from '@hackclub/meta'
import '@hackclub/theme/fonts/reg-bold.css'
@@ -11,8 +11,11 @@ import { ThemeProvider } from 'theme-ui'
const App = ({ Component, pageProps }) => (
-
-
+
+
diff --git a/pages/api/channels/dogs.js b/pages/api/channels/dogs.js
index 6acb5490..2fc68a23 100644
--- a/pages/api/channels/dogs.js
+++ b/pages/api/channels/dogs.js
@@ -1,9 +1,13 @@
export default async function handler(req, res) {
// returns a url_private for the latest image posted in #dogs
- const fileList = await fetch(`https://slack.com/api/files.list?token=${process.env.SLACK_BOT_TOKEN}&channel=CDJV1CXC2&count=1`)
+ const fileList = await fetch(
+ `https://slack.com/api/files.list?token=${process.env.SLACK_BOT_TOKEN}&channel=CDJV1CXC2&count=1`
+ )
.then(r => r.json())
.catch(err => res.status(400).send(err))
- const file = fileList.files ? fileList.files[0].url_private : 'https://files.slack.com/files-pri/T0266FRGM-F01DYH13S1X/image_from_ios.jpg?pub_secret=132dcdb6ab'
+ const file = fileList.files
+ ? fileList.files[0].url_private
+ : 'https://files.slack.com/files-pri/T0266FRGM-F01DYH13S1X/image_from_ios.jpg?pub_secret=132dcdb6ab'
res.redirect(file)
}
diff --git a/pages/api/contribute.js b/pages/api/contribute.js
index b0ae8111..f5da5c35 100644
--- a/pages/api/contribute.js
+++ b/pages/api/contribute.js
@@ -4,11 +4,13 @@ import { createAppAuth } from '@octokit/auth-app'
const auth = createAppAuth({
appId: process.env.GITHUB_APP_ID,
privateKey: process.env.GITHUB_PRIVATE_KEY,
- installationId: process.env.GITHUB_INSTALLATION_ID,
+ installationId: process.env.GITHUB_INSTALLATION_ID
})
export default async function handler(req, res) {
- const { organization } = await graphql(!req.query.admin ? `
+ const { organization } = await graphql(
+ !req.query.admin
+ ? `
query orgQuery($login: String!) {
organization(login: $login) {
repositories(first: 50, privacy: PUBLIC, orderBy: {
@@ -30,8 +32,8 @@ export default async function handler(req, res) {
}
}
}
- }` :
- `query orgQuery($login: String!) {
+ }`
+ : `query orgQuery($login: String!) {
organization(login: $login) {
repositories(first: 100, privacy: PUBLIC, orderBy: {
field: PUSHED_AT, direction: DESC
@@ -65,9 +67,9 @@ export default async function handler(req, res) {
{
login: 'hackclub',
request: {
- hook: auth.hook,
+ hook: auth.hook
}
}
)
- res.status(200).json(organization);
+ res.status(200).json(organization)
}
diff --git a/pages/api/games.js b/pages/api/games.js
index 3433b639..31b3831f 100644
--- a/pages/api/games.js
+++ b/pages/api/games.js
@@ -2,7 +2,9 @@ export default async function getGames(req, res) {
let games = await fetch(
'https://editor.sprig.hackclub.com/metadata.json'
).then(res => res.json())
- games = games.sort((a, b) => new Date(b.addedOn) - new Date(a.addedOn)).slice(0, 4)
+ games = games
+ .sort((a, b) => new Date(b.addedOn) - new Date(a.addedOn))
+ .slice(0, 4)
return res.json(games)
}
diff --git a/pages/api/github.js b/pages/api/github.js
index 0c85871a..36f28962 100644
--- a/pages/api/github.js
+++ b/pages/api/github.js
@@ -1,5 +1,3 @@
-
-
export default async function github(req, res) {
let initialGitHubData = await fetch(
'https://api.github.com/orgs/hackclub/events'
@@ -42,4 +40,4 @@ export default async function github(req, res) {
)
res.json(gitHubData)
-}
\ No newline at end of file
+}
diff --git a/pages/api/join.js b/pages/api/join.js
index 0a9183fa..6b7356a0 100644
--- a/pages/api/join.js
+++ b/pages/api/join.js
@@ -77,7 +77,7 @@ export default async function handler(req, res) {
teen: data.educationLevel != 'tertiary' ? true : false,
educationLevel: data.educationLevel,
reason: data.reason,
- userAgent: req.headers['user-agent'],
+ userAgent: req.headers['user-agent']
},
{ authorization: `Bearer ${process.env.TORIEL_KEY}` }
)
diff --git a/pages/api/slack.js b/pages/api/slack.js
index 662b5c19..3fb8901a 100644
--- a/pages/api/slack.js
+++ b/pages/api/slack.js
@@ -1,7 +1,7 @@
import FormData from 'form-data'
export default async function Slack(req, res) {
- const formData = new FormData()
+ const formData = new FormData()
formData.append('token', process.env.SLACK_API_TOKEN)
formData.append('date_range', '30d')
@@ -20,4 +20,4 @@ export default async function Slack(req, res) {
slackData = slackData.stats.sort((a, b) => a.ds - b.ds).reverse()[0]
res.json(slackData)
-}
\ No newline at end of file
+}
diff --git a/pages/api/sprig-games.js b/pages/api/sprig-games.js
index 209c34f4..16b77e72 100644
--- a/pages/api/sprig-games.js
+++ b/pages/api/sprig-games.js
@@ -44,4 +44,4 @@
// res.json(image)
// // res.json(fetcher)
-// }
\ No newline at end of file
+// }
diff --git a/pages/api/stars.js b/pages/api/stars.js
index 284e1d00..7349337e 100644
--- a/pages/api/stars.js
+++ b/pages/api/stars.js
@@ -2,26 +2,27 @@ import { graphql } from '@octokit/graphql'
export default async function handler(req, res) {
const { organization } = await graphql(
- `
- {
- organization(login: "hackclub") {
- sinerider: repository(name: "sinerider") {
- stargazerCount
- },
- sprig: repository(name: "sprig") {
- stargazerCount
- },
- hackclub: repository(name: "hackclub") {
- stargazerCount
- },
- hackathons: repository(name: "hackathons") {
- stargazerCount
- },
- sprigHardware: repository(name: "sprig-hardware") {
- stargazerCount
- },
- }
- }`,
+ `
+ {
+ organization(login: "hackclub") {
+ sinerider: repository(name: "sinerider") {
+ stargazerCount
+ }
+ sprig: repository(name: "sprig") {
+ stargazerCount
+ }
+ hackclub: repository(name: "hackclub") {
+ stargazerCount
+ }
+ hackathons: repository(name: "hackathons") {
+ stargazerCount
+ }
+ sprigHardware: repository(name: "sprig-hardware") {
+ stargazerCount
+ }
+ }
+ }
+ `,
{
headers: {
authorization: `token ${process.env.GITHUB_TOKEN}`
diff --git a/pages/api/stickers.js b/pages/api/stickers.js
index 321ac63c..7d39cefe 100644
--- a/pages/api/stickers.js
+++ b/pages/api/stickers.js
@@ -14,44 +14,53 @@ const addressesTable = new AirtablePlus({
export default async function handler(req, res) {
if (req.method === 'POST') {
const data = req.body
-
- let personRecord = (await peopleTable.read({
- filterByFormula: `{Email} = '${data.email}'`
- }))[0]
+
+ let personRecord = (
+ await peopleTable.read({
+ filterByFormula: `{Email} = '${data.email}'`
+ })
+ )[0]
if (!personRecord) {
personRecord = await peopleTable.create({
'Full Name': data.name,
- 'Email': data.email
+ Email: data.email
})
}
-
- let address = (await addressesTable.read({
- filterByFormula: `AND({Email} = '${data.email}', {Is Valid?} = '1', {Club} = '')`
- }))[0]
+
+ let address = (
+ await addressesTable.read({
+ filterByFormula: `AND({Email} = '${data.email}', {Is Valid?} = '1', {Club} = '')`
+ })
+ )[0]
console.log('address', address)
if (!address) {
address = await addressesTable.create({
'Street (First Line)': data.addressFirst,
'Street (Second Line)': data.addressSecond,
- 'City': data.city,
+ City: data.city,
'State/Province': data.state,
'Postal Code': data.zipCode,
- 'Country': data.country,
- 'Person': [personRecord.id]
+ Country: data.country,
+ Person: [personRecord.id]
})
-
+
console.log('created address:', address)
}
-
- if (!(address.fields['Street (First Line)'].toLowerCase() === data.addressFirst.toLowerCase())) {
+
+ if (
+ !(
+ address.fields['Street (First Line)'].toLowerCase() ===
+ data.addressFirst.toLowerCase()
+ )
+ ) {
address = await addressesTable.create({
'Street (First Line)': data.addressFirst,
'Street (Second Line)': data.addressSecond,
- 'City': data.city,
+ City: data.city,
'State/Province': data.state,
'Postal Code': data.zipCode,
- 'Country': data.country,
- 'Person': [personRecord.id]
+ Country: data.country,
+ Person: [personRecord.id]
})
}
diff --git a/pages/brand.js b/pages/brand.js
index 9846383f..abbffaea 100644
--- a/pages/brand.js
+++ b/pages/brand.js
@@ -27,7 +27,11 @@ export const Logo = ({ name }) => (
sx={{ width: '100%', height: 96, mb: 1 }}
alt={startCase(name)}
/>
-
+
{startCase(name)
.replace('Flag Orpheus', 'Orpheus Flag –')
.replace('Bw', ' (B/W)')}
@@ -242,7 +246,7 @@ const Page = ({ css }) => (
FontsPhantom Sans
-
+
is our brand font.
@@ -254,11 +258,7 @@ const Page = ({ css }) => (
Icons
-
+
We have a custom iconset, published as{' '}
@hackclub/icons.
@@ -285,12 +285,9 @@ const Page = ({ css }) => (
Explore Hack Club Icons →
UI components
-
- Want to make a Hack Club themed site? Use our pre-made CSS and UI components to hackify your site.
+
+ Want to make a Hack Club themed site? Use our pre-made CSS and UI
+ components to hackify your site.
(
name="Tools to hack on"
desc={
<>
- We build tools, such as{" "}
- Sprig, that your members can
- use to make projects with in meetings! Built more of them with us in our
- {" "}Slack community.
+ We build tools, such as{' '}
+ Sprig, that your
+ members can use to make projects with in meetings! Built more of
+ them with us in our Slack community.
>
}
>
diff --git a/pages/content/it-admins.mdx b/pages/content/it-admins.mdx
index 06eb2b0d..ae426b47 100644
--- a/pages/content/it-admins.mdx
+++ b/pages/content/it-admins.mdx
@@ -9,29 +9,36 @@ path="filters.mdx">
If you are reading this, you are probably an IT administrator at your organization. **Here's a quick overview of what we need from you.**
Please whitelist or unblock the following domains:
+
- `*.hackclub.com` - Hack Club's primary domain, hosts workshops, tools and other content
- `hack.af` - link shortener used for miscellanous links
- `*.replit.com`, `*.cdn.replit.com`, and `*.repl.co` - Replit, a browser-based IDE used for workshops
-- `*.github.com`, `github.dev` - GitHub, an industry standard for code hosting and collaboration, owned by Microsoft.
+- `*.github.com`, `github.dev` - GitHub, an industry standard for code hosting and collaboration, owned by Microsoft.
- `hackclub.slack.com` - Hack Club's primary communication platform
Feel free to read on for more details and potential alternatives.
## Hack Club Sites
+
If you are unable to whitelist all subdomains, please whitelist the following:
+
- `hackclub.com`
- `workshops.hackclub.com`
- `editor.sprig.hackclub.com`
- `sprig.hackclub.com`
## GitHub
-Besides the typical HTTP(S) ports, ports 22 and 9418 need to be open for SSH and Git respectively.
-
+
+Besides the typical HTTP(S) ports, ports 22 and 9418 need to be open for SSH and Git respectively.
+
## Inspect Element / Developer Tools
+
Browser developer tools (eg. Inspect Element) are required for web development projects, so that sites can be debugged and styled.
## Replit
+
Replit provides their own [toolkit](https://docs.replit.com/teams-edu/it-administrators-toolkit) for IT administrators with further options for providing student access to Replit, including a firewalled domain.
Thank you for supporting your students and their interests. If you have any questions, please reach out to us at [clubs@hackclub.com](mailto:clubs@hackclub.com) and we'd be happy to address your concerns.
+
diff --git a/pages/content/sponsorship.mdx b/pages/content/sponsorship.mdx
index 367af957..306d13dc 100644
--- a/pages/content/sponsorship.mdx
+++ b/pages/content/sponsorship.mdx
@@ -8,19 +8,19 @@ img="https://workshop-cards.hackclub.com/Sponsorship.png?brand=HQ&fontSize=300px
path="sponsorship.mdx">
_(To summarize: we’re a donor-supported nonprofit so outside of planned grant programs, we don't provide financial support to hackathons/other nonprofits. However, there are all kinds of ways we’d love to help out your project, so read on.)_
@@ -32,8 +32,8 @@ If you’re looking for [fiscal sponsorship](https://en.wikipedia.org/wiki/Fisca
## If you’re running a hackathon…
1. Link your event on . There’s an application form on the website. The site has the largest email list of high school hackathon-goers, and will email all the subscribers who live within driving distance of your event. It’s also the first Google result for “high school hackathons,” so it’ll help your SEO.
-3. We’d be happy to send some Hack Club stickers to your event. Email us with the name of your event, expected attendance, and the shipping address and we’ll get them in the mail.
-4. [Join our Slack community](https://hackclub.com/slack/), and ask for access to the `#hackathon-organizers` channel. You can ask questions and talk to 500+ hackathon organizers from all over.
+2. We’d be happy to send some Hack Club stickers to your event. Email us with the name of your event, expected attendance, and the shipping address and we’ll get them in the mail.
+3. [Join our Slack community](https://hackclub.com/slack/), and ask for access to the `#hackathon-organizers` channel. You can ask questions and talk to 500+ hackathon organizers from all over.
## If you’re running a club…
diff --git a/pages/deprecated/[deprecated].js b/pages/deprecated/[deprecated].js
index eef3e2b4..27b5c28b 100644
--- a/pages/deprecated/[deprecated].js
+++ b/pages/deprecated/[deprecated].js
@@ -70,7 +70,7 @@ const pages = {
desc: 'GitHub still offers the GitHub Student Developer Pack through the standard application flow.',
link: 'https://education.github.com/pack',
icon: 'github'
- },
+ }
}
export const getStaticPaths = () => {
diff --git a/pages/donate.js b/pages/donate.js
index a802bff9..c0c61353 100644
--- a/pages/donate.js
+++ b/pages/donate.js
@@ -331,7 +331,7 @@ export default function Donate({ sprig }) {
fontSize: 4,
textTransform: 'uppercase',
fontWeight: [400, 800],
- mb: [0,0]
+ mb: [0, 0]
}}
>
Now introducing...
@@ -408,7 +408,7 @@ export default function Donate({ sprig }) {
width={3000}
height={2550}
showAlt
- sx={{height: '100%'}}
+ sx={{ height: '100%' }}
/>
{
Hack Club Bank
{' '}
fees) to in-person{' '}
- high school hackathons this
- semester between August and December 31, 2022 until June 30th, 2023.
+ high school hackathons{' '}
+ this semester between August and December 31, 2022 until
+ June 30th, 2023.
{open ? 'Apply Now' : 'Coming Soon'}
diff --git a/pages/jobs/events-designer.js b/pages/jobs/events-designer.js
index 09746c07..03bbb0f6 100644
--- a/pages/jobs/events-designer.js
+++ b/pages/jobs/events-designer.js
@@ -240,8 +240,8 @@ const Page = () => (
variant="headline"
sx={{ fontWeight: 700, fontSize: [4, 5], mb: 4 }}
>
- Hack Club is where {formatted}+ teenage programmers talk, build, and have fun
- together.
+ Hack Club is where {formatted}+ teenage programmers talk, build, and
+ have fun together.
diff --git a/pages/jobs/lead-hacker.js b/pages/jobs/lead-hacker.js
index 697bece8..c4f181ad 100644
--- a/pages/jobs/lead-hacker.js
+++ b/pages/jobs/lead-hacker.js
@@ -1,356 +1,356 @@
-import { Link, Box, Container, Heading, Text, Grid, Flex, Card } from 'theme-ui'
-import Head from 'next/head'
-import Nav from '../../components/nav'
-import Meta from '@hackclub/meta'
-import ForceTheme from '../../components/force-theme'
-import Photo from '../../components/photo'
-import { formatted } from '../../lib/members'
-
-const Page = () => (
- <>
-
-
-
-
- theme.util.gx('purple', 'red')
- }}
- >
-
-
- Lead Hacker @ Hack Club Bank
-
-
- This position has been filled as of June 14th, 2022.
-
-
-
-
-
-
- Hack Club is (no longer) hiring a Lead Hacker for Hack Club Bank.
-
-
-
- Starting a nonprofit is hard, so we built{' '}
-
- Hack Club Bank
- {' '}
- for our community of {formatted}+ teenage programmers. Within 24 hours
- of joining Bank, organizations get 501(c)(3) nonprofit status, access to
- a beautiful dashboard for managing their finances, and all financial and
- legal matters - from tax filings to payroll - handled. 50% of high
- school hackathons worldwide run on Hack Club Bank, and Elon Musk has
- tweeted that we're a{' '}
-
- "cool group"
-
- .
-
-
-
- Now, Hack Club Bank is expanding beyond just Hack Clubbers.{' '}
-
- Over 500 organizations running on Bank have transacted upwards of
- $5,000,000;
- {' '}
- from teenage-run hackathons to{' '}
-
- small-town newspapers
-
- .
-
-
-
- With the right leadership, we hope to bring Hack Club Bank to thousands
- of organizations across the United States and process tens of millions
- of dollars in transactions. We think do-gooders need the same tools that
- software engineers do. For them, Bank is like GitHub: transformative.
- Right now, Bank is the{' '}
-
- only part of Hack Club that isn't{' '}
-
- open source
-
- .
- {' '}
- In the next year we want to open source it, build an amazing community
- of Hack Clubbers contributing to it, and onboard 1,000 new organizations
- through our{' '}
-
- partnership with Givebutter
-
- .
-
-
-
- ✨ The perfect candidate:
-
- div': {
- p: 3,
- fontSize: 2
- }
- }}
- >
-
- Loves coding, is a Ruby on Rails expert, and has managed small teams
- of engineers before
-
-
-
- Is product-oriented, believes in attention-to-detail and creating
- phenomenal user experiences
-
-
-
- Has strong familiarity with open source, maybe even built or managed
- open source projects
-
-
-
- Has experience building resilient systems and implementing security
- best practices and/or loves working with teenagers
-
-
-
-
- This role pays between $150K - $210K, depending on your experience. We
- know that might be less than you'd make elsewhere. We offer healthcare
- and 4 weeks paid vacation.
-
-
-
-
- Make Bank even more awesome.
-
-
-
-
- Bank has been maintained by a{' '}
-
- {' '}
- small team
- {' '}
- of two full-time operations people, and on-and-off contributions by
- engineers and various contractors. The majority of{' '}
-
- contributions
- {' '}
- are actually made by teenagers! In this role, you'll take point on
- bringing Bank to its full potential.
-
-
-
- Hack Club Bank already powers{' '}
-
- our own transparent finances
- {' '}
- as well as those of{' '}
-
- many
- {' '}
-
- other
- {' '}
-
- organizations
-
- . These are just some of the initiatives we support:
-
-
-
-
-
- The Charlotte Bridge
-
- , independent journalism based in Vermont
- >
- }
- width={500}
- height={326.5}
- showAlt
- />
-
-
- The Hacker Zephyr
-
- , the world's longest (by land) hackathon on a train
- >
- }
- width={500}
- height={326.5}
- showAlt
- />
-
-
- Hack Pennsylvania
-
- , the largest high school hackathon in Pennsylvania
- >
- }
- width={500}
- height={326.5}
- showAlt
- />
-
-
-
- Like a CTO, you'll work directly with real users to define Bank's
- roadmap around making Bank better for Hack Clubbers.{' '}
- You will build and lead a team of Hack Clubbers to create a shipping
- culture around Bank, and lead and manage relationships with technical
- partners who integrate Bank into their products.
-
-
-
- We're flexible and eager to accommodate for the right candidate. While
- we have a preference for in-person and can assist with relocation,
- we're open to remote options. We have an in-person office in
- Burlington, Vermont where our 8 person team works collaboratively.
-
-
-
- How to apply: Email{' '}
-
- jobs@hackclub.com
- {' '}
- with "Hack Club Bank" in the subject line, 3 bullet points
- demonstrating why you would be exceptional for the role, and your
- resume / GitHub / GitLab / sourcehut.
-
-
-
-
-
-
-
-
-
-
- The mission of Hack Club is to be a place where teenagers can become
- more technical, feel welcome in getting started, and feel inspired
- to build with code in ways that are always honest, transparent,
- high-integrity, kind, and friendly. We want teenagers to
- self-organize and assert themselves as persons.
-
-
-
- Already, Hack Club is the{' '}
- largest network of teen coders in the country. We
- hope for a world where Hack Club becomes a nationwide cultural
- institution, creating a new generation of young people with the
- skills, network, and value system to become problem-solvers and
- builders for the 21st century— a new Boy and Girl Scouts.
-
-
-
-
- >
-)
-
-export default Page
+import { Link, Box, Container, Heading, Text, Grid, Flex, Card } from 'theme-ui'
+import Head from 'next/head'
+import Nav from '../../components/nav'
+import Meta from '@hackclub/meta'
+import ForceTheme from '../../components/force-theme'
+import Photo from '../../components/photo'
+import { formatted } from '../../lib/members'
+
+const Page = () => (
+ <>
+
+
+
+
+ theme.util.gx('purple', 'red')
+ }}
+ >
+
+
+ Lead Hacker @ Hack Club Bank
+
+
+ This position has been filled as of June 14th, 2022.
+
+
+
+
+
+
+ Hack Club is (no longer) hiring a Lead Hacker for Hack Club Bank.
+
+
+
+ Starting a nonprofit is hard, so we built{' '}
+
+ Hack Club Bank
+ {' '}
+ for our community of {formatted}+ teenage programmers. Within 24 hours
+ of joining Bank, organizations get 501(c)(3) nonprofit status, access to
+ a beautiful dashboard for managing their finances, and all financial and
+ legal matters - from tax filings to payroll - handled. 50% of high
+ school hackathons worldwide run on Hack Club Bank, and Elon Musk has
+ tweeted that we're a{' '}
+
+ "cool group"
+
+ .
+
+
+
+ Now, Hack Club Bank is expanding beyond just Hack Clubbers.{' '}
+
+ Over 500 organizations running on Bank have transacted upwards of
+ $5,000,000;
+ {' '}
+ from teenage-run hackathons to{' '}
+
+ small-town newspapers
+
+ .
+
+
+
+ With the right leadership, we hope to bring Hack Club Bank to thousands
+ of organizations across the United States and process tens of millions
+ of dollars in transactions. We think do-gooders need the same tools that
+ software engineers do. For them, Bank is like GitHub: transformative.
+ Right now, Bank is the{' '}
+
+ only part of Hack Club that isn't{' '}
+
+ open source
+
+ .
+ {' '}
+ In the next year we want to open source it, build an amazing community
+ of Hack Clubbers contributing to it, and onboard 1,000 new organizations
+ through our{' '}
+
+ partnership with Givebutter
+
+ .
+
+
+
+ ✨ The perfect candidate:
+
+ div': {
+ p: 3,
+ fontSize: 2
+ }
+ }}
+ >
+
+ Loves coding, is a Ruby on Rails expert, and has managed small teams
+ of engineers before
+
+
+
+ Is product-oriented, believes in attention-to-detail and creating
+ phenomenal user experiences
+
+
+
+ Has strong familiarity with open source, maybe even built or managed
+ open source projects
+
+
+
+ Has experience building resilient systems and implementing security
+ best practices and/or loves working with teenagers
+
+
+
+
+ This role pays between $150K - $210K, depending on your experience. We
+ know that might be less than you'd make elsewhere. We offer healthcare
+ and 4 weeks paid vacation.
+
+
+
+
+ Make Bank even more awesome.
+
+
+
+
+ Bank has been maintained by a{' '}
+
+ {' '}
+ small team
+ {' '}
+ of two full-time operations people, and on-and-off contributions by
+ engineers and various contractors. The majority of{' '}
+
+ contributions
+ {' '}
+ are actually made by teenagers! In this role, you'll take point on
+ bringing Bank to its full potential.
+
+
+
+ Hack Club Bank already powers{' '}
+
+ our own transparent finances
+ {' '}
+ as well as those of{' '}
+
+ many
+ {' '}
+
+ other
+ {' '}
+
+ organizations
+
+ . These are just some of the initiatives we support:
+
+
+
+
+
+ The Charlotte Bridge
+
+ , independent journalism based in Vermont
+ >
+ }
+ width={500}
+ height={326.5}
+ showAlt
+ />
+
+
+ The Hacker Zephyr
+
+ , the world's longest (by land) hackathon on a train
+ >
+ }
+ width={500}
+ height={326.5}
+ showAlt
+ />
+
+
+ Hack Pennsylvania
+
+ , the largest high school hackathon in Pennsylvania
+ >
+ }
+ width={500}
+ height={326.5}
+ showAlt
+ />
+
+
+
+ Like a CTO, you'll work directly with real users to define Bank's
+ roadmap around making Bank better for Hack Clubbers.{' '}
+ You will build and lead a team of Hack Clubbers to create a shipping
+ culture around Bank, and lead and manage relationships with technical
+ partners who integrate Bank into their products.
+
+
+
+ We're flexible and eager to accommodate for the right candidate. While
+ we have a preference for in-person and can assist with relocation,
+ we're open to remote options. We have an in-person office in
+ Burlington, Vermont where our 8 person team works collaboratively.
+
+
+
+ How to apply: Email{' '}
+
+ jobs@hackclub.com
+ {' '}
+ with "Hack Club Bank" in the subject line, 3 bullet points
+ demonstrating why you would be exceptional for the role, and your
+ resume / GitHub / GitLab / sourcehut.
+
+
+
+
+
+
+
+
+
+
+ The mission of Hack Club is to be a place where teenagers can become
+ more technical, feel welcome in getting started, and feel inspired
+ to build with code in ways that are always honest, transparent,
+ high-integrity, kind, and friendly. We want teenagers to
+ self-organize and assert themselves as persons.
+
+
+
+ Already, Hack Club is the{' '}
+ largest network of teen coders in the country. We
+ hope for a world where Hack Club becomes a nationwide cultural
+ institution, creating a new generation of young people with the
+ skills, network, and value system to become problem-solvers and
+ builders for the 21st century— a new Boy and Girl Scouts.
+
+
+
+
+ >
+)
+
+export default Page
diff --git a/pages/jobs/philanthropy-communications-lead.js b/pages/jobs/philanthropy-communications-lead.js
index d6a34248..a8168132 100644
--- a/pages/jobs/philanthropy-communications-lead.js
+++ b/pages/jobs/philanthropy-communications-lead.js
@@ -25,7 +25,7 @@ const Page = () => (
>
- Philanthropy Communications Lead @ Hack Club
+ Philanthropy Communications Lead @ Hack Club
This position has been filled as of May 3rd, 2022.
diff --git a/pages/minecraft.js b/pages/minecraft.js
index c583daa5..05d59990 100644
--- a/pages/minecraft.js
+++ b/pages/minecraft.js
@@ -70,7 +70,7 @@ const Page = () => (
>
- Vanilla Server
+ Vanilla Server
Hang out with the tree-punchers of Hack Club playing on the
@@ -85,11 +85,11 @@ const Page = () => (
Modded Server
- Want a unique Minecraft experience? Come explore the limits of
+ Want a unique Minecraft experience? Come explore the limits of
Minecraft with us on the official modded server!
-
+
Compete weekly
diff --git a/pages/night.js b/pages/night.js
index 9c1c73ea..9e4d92fc 100644
--- a/pages/night.js
+++ b/pages/night.js
@@ -144,4 +144,4 @@ const Page = () => (
>
)
-export default Page
\ No newline at end of file
+export default Page
diff --git a/pages/opensource.js b/pages/opensource.js
index 11869609..ae3e8fc8 100644
--- a/pages/opensource.js
+++ b/pages/opensource.js
@@ -1,4 +1,14 @@
-import { Box, Button, Card, Container, Flex, Grid, Heading, Text, Link } from 'theme-ui'
+import {
+ Box,
+ Button,
+ Card,
+ Container,
+ Flex,
+ Grid,
+ Heading,
+ Text,
+ Link
+} from 'theme-ui'
import Meta from '@hackclub/meta'
import Icon from '@hackclub/icons'
import Head from 'next/head'
@@ -67,8 +77,14 @@ const Page = ({ repos }) => (
Explore our finances, code, planning documents and more.
-
- Our Guide to Contributing
+
+ Our Guide to Contributing
@@ -119,14 +135,8 @@ const Page = ({ repos }) => (
name="Wild Wild West"
url="https://bank.hackclub.com/wild-wild-west"
/>
-
-
+
+ (
Includes planning documents, partnership emails, meeting notes etc.
-
@@ -166,7 +176,7 @@ const Page = ({ repos }) => (
name="VIP Newsletter"
url={`https://github.com/hackclub/vip-newsletters`}
/>
-
@@ -179,7 +189,10 @@ const Page = ({ repos }) => (
GitHub Repositories
-
+
Want to contribute?
diff --git a/pages/philanthropy/index.js b/pages/philanthropy/index.js
index 3e384e38..d1961062 100644
--- a/pages/philanthropy/index.js
+++ b/pages/philanthropy/index.js
@@ -658,7 +658,8 @@ const Philanthropy = ({ posts = [] }) => {
- Starting in 2021, Hack Club has engaged with an external auditing firm and has audited financials through the current fiscal year.
+ Starting in 2021, Hack Club has engaged with an external auditing
+ firm and has audited financials through the current fiscal year.
{/*
@@ -1190,14 +1191,19 @@ const Philanthropy = ({ posts = [] }) => {
- In 2021, Maggie joined the Hack Club community; she has since shipped 10+
- coding projects from widgets to raycast extensions.
+ In 2021, Maggie joined the Hack Club community; she has since
+ shipped 10+ coding projects from widgets to raycast
+ extensions.
- The Hack Club community "inspired me to step outside my comfort zone and take on challenges I never previously would have — starting a CS Club at my school, (co-)hosting AMAs, and even organizing Leland Hacks, the first in-person hackathon in my city after the pandemic.”
+ The Hack Club community "inspired me to step outside my
+ comfort zone and take on challenges I never previously would
+ have — starting a CS Club at my school, (co-)hosting AMAs, and
+ even organizing Leland Hacks, the first in-person hackathon in
+ my city after the pandemic.”
- Learn more about Hack Club
-
+ as="a"
+ href="/philanthropy"
+ target="_blank"
+ mb={4}
+ sx={{
+ fontSize: '1em !important',
+ background: 'slate',
+ textAlign: 'center'
+ }}
+ >
+ Learn more about Hack Club
+
diff --git a/pages/philosophy.js b/pages/philosophy.js
index 4b0e75a1..e1fe3912 100644
--- a/pages/philosophy.js
+++ b/pages/philosophy.js
@@ -4,7 +4,7 @@ import { Box, Heading, Container, Text, Button, Link } from 'theme-ui'
import Nav from '../components/nav'
import styled from '@emotion/styled'
import Footer from '../components/footer'
-import NextLink from "next/link"
+import NextLink from 'next/link'
const Header = styled(Box)`
color: white;
@@ -270,10 +270,7 @@ export default function Philosophy() {
Start a club
-
+
Join our Slack
diff --git a/pages/press.js b/pages/press.js
index 96346b65..feb58630 100644
--- a/pages/press.js
+++ b/pages/press.js
@@ -9,7 +9,6 @@ import { Logo } from './brand'
const Page = () => (
<>
-
(
<>
diff --git a/pages/relon.js b/pages/relon.js
index bcaba60e..ad503dd4 100644
--- a/pages/relon.js
+++ b/pages/relon.js
@@ -8,9 +8,13 @@ import {
Flex,
Grid,
Heading,
- Text,
+ Text
} from 'theme-ui'
-import { PillHolder, AuthorPill, DatePill } from '../components/announcements/pills'
+import {
+ PillHolder,
+ AuthorPill,
+ DatePill
+} from '../components/announcements/pills'
import Head from 'next/head'
import NextLink from 'next/link'
import styled from '@emotion/styled'
@@ -24,22 +28,18 @@ import Amount from '../components/announcements/amount'
import SlackCTA from '../components/announcements/cta'
import AnnouncementHolder from '../components/announcements/holder'
-
const StyledLink = styled.a`
text-decoration: none;
color: ${theme.colors.white};
-`;
+`
-const RelonLink = (props) => {
- const {href} = props
+const RelonLink = props => {
+ const { href } = props
return (
-
- {props.children}
-
+ {props.children}
)
-
}
const RelonPage = () => (
@@ -74,7 +74,8 @@ const RelonPage = () => (
}
}}
>
- Elon Musk is donating to Hack Club
+ Elon Musk is donating to{' '}
+ Hack Club
diff --git a/pages/ship.js b/pages/ship.js
index 7bae2bf4..0bb747b7 100644
--- a/pages/ship.js
+++ b/pages/ship.js
@@ -139,8 +139,9 @@ const ShipPage = ({ posts = [] }) => (
Want to ship your own projects?
- The #ship channel on the Hack Club Slack is where {thousands}k+ teenagers
- from around the world share what they’re working on & help each other.
+ The #ship channel on the Hack Club Slack is where {thousands}k+
+ teenagers from around the world share what they’re working on & help
+ each other.