whyboris / Health-Impact-Fund

Health Impact Fund website

Home Page:https://healthimpactfund.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Health Impact Fund

Health Impact Fund - delink the price of drugs from the cost of research.

website screenshot

About

This repository contains the files for the public website.

Development

The webstie is built with Gatsby and the gatsby-starter-default-intl starter.

Caveats

Translation files

Seems like the en.json (and other languages in the /intl folder) must be a valid JSON with no errors (no trailing commas for example). If there is an error, none of the text will be rendered; you will instead see the text reference id.

For simplicity, I recommend sorting the JSON alphabetically with Sort JSON objects for VSCode.

Newsletter

You will need to create a .env file with

MAILCHIMP_ENDPOINT="https://healthimpactfund.us11.list-manage.com/subscribe/post?u=..."

(but instead of the ... get the private endpoint from Mailchimp).

If you've not coded but want to start

  1. Starting may be daunting, but you can do it! Follow the instructions for Gatsby:
    • install git
    • install node (comes with npm)
    • install a terminal if you don't have one (on Mac try Hyper, on Windows try FluentTerminal or Terminus)
    • install gatsby (npm install -g gatsby-cli)
  2. When done, clone this repository, enter it (cd Health-Impact-Fund) and install (npm install).
  3. Install VSCode and open the folder to see the code.
  4. Start (npm start) 🎉

Feel free to reach out with questions by going to Issues

About

Health Impact Fund website

https://healthimpactfund.org

License:MIT License


Languages

Language:JavaScript 72.2%Language:SCSS 17.7%Language:CSS 10.2%