Thank you for contributing! Here’s some basics about our codebase.
- Clone,
cd
yarn && yarn run dev
- Open localhost:8000 (uses hot reloading)
This site is a standard Gatsby site, so:
- Pages are in
src/pages/
. They use unnamed default exports (e.g.export default () => ()
). - Components are in
src/components/
. They use named default exports (e.g.class Hello extends Component {}
+export default Hello
).
In all prose (paragraphs, headings, page descriptions, etc), use rich quotes.
For code formatting, we use Prettier with options.
Before committing, run yarn run fmt
and you’re good to go.
This site uses the Hack Club Design System for all UI primitives (Box, Text, etc).