Code Monkey home page Code Monkey logo

codeforafrica / gendergap.africa Goto Github PK

View Code? Open in Web Editor NEW
8.0 22.0 4.0 2.42 MB

GenderGap.AFRICA is a tool designed to help users calculate the gender pay gap in any African country. Accessible at https://gendergap.africa/

Home Page: https://gendergap.africa/

License: GNU General Public License v3.0

JavaScript 42.28% HTML 27.78% SCSS 29.94%
gender-equality gender-gap equal-pay africa storylab calculator kenya nigeria tanzania south-africa

gendergap.africa's Issues

Change Github link in the footer

Description

Let link to github change to link to the GendeGap repo

Tasks

  • Replace link to Code For Africa repo with the genderGap repo on the footer.

Change title

Change title from "Explore inequality of income in African countries"
to "Explore inequality of income across African countries".

Add Standard Footer

To add attribution and link back as a Code for Africa project, we should add our standard footer to the bottom of the site.

image

Replace the paragraphs on the left with :

GenderGap.AFRICA is a tool designed to help users calculate the gender pay gap in any African country.

The tool uses Estimated Earned Income data from the World Economic Forum's Global Gender Gap Report 2017. The calculator isn’t designed to give breakdowns for each industry: it instead captures the average gender gap across all sectors within a country. Gender Gap here represents the gap between men and women in pay.

This site is a StoryLab project by Code for Africa. All content is released under a Creative Commons 4 Attribution license. You are free to reuse it to help empower your own community. The code is available on GitHub and data is available on openAFRICA.

For the links in the middle, we should have the following:

Other StoryLab projects:

Join Our Community:

Redirect to HTTPS when loaded on HTTP

Keeping things secure, let's redirect to https when loaded on HTTP.

The code we use elsewhere:

<head>
...
<script type="text/javascript">
  var host = "{{ site.enforce_ssl }}";
  if ((host == window.location.host) && (window.location.protocol != "https:"))
    window.location.protocol = "https";
</script>
...
</head>

[Fix] Fix dependancy in package.json

Describe the bug
Some of the packages on the package.json file seem to be deprecated and need an upgrade. When upgraded gulp serve command produces an error.

To Reproduce
Run the following commands

npm install
npm audit fix / npm audit fix --force
gulp serve

Environment tools

Node 10.4.1
gulp 3.9.1
Npm 6.1.0

Expected behavior
Serve GenderGap.Africa on your local machine

Screenshots
image

Implement visualizations

  • Implement general layout.
  • Implement 'Calendar View' visualization.
  • Implement 'Clock View' visualization.
  • Implement 'Your Gap' visualization.

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.