Giter Site home page Giter Site logo

grossdesignco / stateofcobalt Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 25.65 MB

State of Cobalt is a research project & publication, advocating for human rights in the Cobalt Mining industry.

Home Page: https://stateofcobalt.org/2021

CSS 13.14% JavaScript 86.86%
cobalt report

stateofcobalt's Introduction

State of Cobalt

stateofcobalt.org/2021

This is a working draft of a research project, supporting a local internship program :)

Local Setup

First, run the development server:

npm i
npm run dev

Open http://localhost:3000 with your browser to see the result.

First, build locally:

npm run build

This will generate the /docs folder (which is one of the only subdirectories GitHub allows for it's pages. If/when we move to AWS this'll change to next.js's default /out).

Then, checkout to a fresh branch, commit your changes, and create a PR.

git checkout [user]/[branch-name]
git add .
git commit -m "[briefly state the changes]"
git push

Example:

git checkout matt/update-readme
git add .
git commit -m "add examples to readme file"
git push

Special Thanks

Credit for useful things:

  1. https://systemuicons.com/
  2. https://nextjs.org/
  3. https://type-scale.com/

stateofcobalt's People

Contributors

grossdesignco avatar

Stargazers

 avatar

Watchers

 avatar  avatar

stateofcobalt's Issues

Generate unique heading references

We need something to make the report more navigable.

Eg. "Background" will need a unique hash, so that we don't wind up with 20 #background hashes that break the single-page navigation.

Options

  1. Scope sections, eg. #consumer-tech-background
    • Need to avoid naming conflicts
  2. Generate uids, eg. #axy4q-background
    • Need to ensure hashes don't change & break external links
  3. Separate report sections into individual pages eg. /2021/consumer-tech#background
    • Still need to avoid naming conflicts within sections

Security plan

stateofcobalt.org is already getting significant traffic & a few threats blocked by cloudflare

TODO:

  • Upgrade from Flexible to Full SSL
  • review other security concerns
  • Set up 2FA for collaborators

Print styles

Users should be able to print a clean pdf version of the report directly off the website

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.