Skip to content

mlco2/codecarbon-static-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codecarbon-static-website

Static website for CodeCarbon.io

Test on your computer

You need a local webserver, one simple way is :

python3 -m http.server

Deploy website

Deploy is done by GitHub to https://codecarbon.io when merged to master.

Adding a contributor to the actual list

  • Save your original pic into /assets/contributor/img_backup ( can be usefull if we want to change contributor list in a futur)
  • Format your pic with a width and height of 300px. The pic mode should be grayscale, and jpg format.
  • Once you have a pic correctly set, add it with the name of the contributor in the /assets/contributor/img folder.
  • Add your entries in the contributor.js file. It's an array of object.
  • Copy/paste the exemple at the end ( before the ']'). Take care to add a coma between object.