Code Monkey home page Code Monkey logo

pride-london-web-gatsby's Introduction

pride-london-web-gatsby

This project is a community effort to release a brand new web platform to supplant and improve upon the product currently available at prideinlondon.org.

Contributing

Want to help out? That's amazing! The Contribution Guide should hopefully get you on your way.

Check the issues section of the repo for tickets to pick up.

Install

  1. Make sure that you have the Gatsby CLI program installed:
npm install --global gatsby-cli
  1. Pull the repo.
  2. Install nvm from here
  3. Make sure you're using the correct version of node nvm use
  4. Ensure you have yarn installed.
  5. Run yarn in the root directory to pull in dependencies.

ENVIRONMENT VARIABLES

  1. Create a .env.development file in the root of the project.
  2. In the file, add the contentful space ID for space Pride Web Test after the equal sign, for example CONTENTFUL_ID=123456
  3. Do the same for the access token by defining theCONTENTFUL_TOKEN

Running ๐Ÿƒ

Then you can run it by:

gatsby develop

Tests

Test will be run using Jest + Enzyme. Can be run with:

yarn test

or to watch:

yarn test:watch

Layout

Grid layout will be done via Grid-Styled. Breakpoints and spacing configuration can be found in src/theme/theme.js. See src/grid/grid.js to see how the Container, Column and Row components are made. Example of usage can be found on the events page on src/pages/events.js. Please see Official Documentation on how to set widths for your columns and set alignment.

Styling

Styling will be done via Styled-Components.

Linting

This project uses ESlint with Prettier

To run the linter...

yarn lint

To apply Prettier formatting to all .js files...

yarn format

pride-london-web-gatsby's People

Contributors

andrico1234 avatar ds300 avatar giancarlo88 avatar jpsanders101 avatar kiraarghy avatar laij84 avatar marcelcutts avatar nats12 avatar steadyx avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.