Skip to content
An archived version of guncontrolgrades.org made for the 2018 elections
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
extra_files
public
src
.gitignore
README.md
package-lock.json
package.json
yarn.lock

README.md

Gun Control Grades

Developer


This is an archived version of guncontrolgrades.org created for the 2018 midterm elections

Choose candidates to vote for in the 2018 U.S. Midterm elections based on inverted ratings from the National Rifle Association and endorsements from anti-gun-violence organizations.


Table of Contents

About

Technical Details
    Dependencies

Screenshots
    Desktop
    Mobile
    Animations
    Share Buttons

Analytics
    Pageviews
    Events


About

Since 1976, the National Rifle Association has issued grades to elected officials and political candidates based on either their voting records or a response to a questionnare. Once prominently publicized, these grades have in the last year disappeared from the NRA's website and literature. They are still being issued, however, to pressure politicians into following the NRA's anti-gun control agenda.

Gun Control Grades inverts the grades issued by the National Rifle Association. An F from the NRA becomes an A from GCG; a D becomes a B, and so on.

Additionally, a Star from GCG indicates that a candidate has been endorsed by Giffords or Gun Sense, organizations founded to fight the gun violence epidemic. Candidates who have not yet been rated by either organization or the NRA have a question mark by their name.


Technical Details

React React Router
Dependencies
react-ga react-to-print react-share
react-icons reactstrap react-sticky

Screenshots

Desktop

screenshot

screenshot

Mobile

screenshot screenshot screenshot screenshot

Animations

screenshot

screenshot

Share Buttons

screenshot screenshotscreenshotscreenshot


Analytics

GCG uses react-ga for integration with Google Analytics.

Along with being integrated to track which states are viewed, it also has integration with session events to track which legislations are selected, how many voting card interactions are performed, and if or when a user prints or shares their voting card via email or social media.

Pageviews

Pageviews track which states are visited.

screenshot

Event Categories:

Categories are broken up into candidate card interactions and shares.

screenshot

Event Category: Interact

This event category tracks users' legislation tab changes, candidate button adds, and mobile voting card popup visibility toggles.

screenshot

Event Action: Changed Legislature

The Change Legislature event action also tracks the name of the legislation that a user views.

screenshot

Event Category: Share

This event category tracks when a user prints or shares their card via Email, Twitter, or Facebook. An additional set of print/share buttons are visible on the mobile version of the app, and these too are tracked.

screenshot

You can’t perform that action at this time.