Skip to content

Production and development files used for the website RichBlocksPoorBlocks.com

Notifications You must be signed in to change notification settings

dan-weaver/RichBlocksPoorBlocks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rich Blocks, Poor Blocks v2.0.3

This repository contains code in development to be used on the website Rich Blocks, Poor Blocks.

The live code is on the 'master' branch in the '_LIVE CODE' folder. It is minified.

If you'd like to fork this project, fork the 'develop' branch.

Forking guidelines

If you think you can make RichBlocksPoorBlocks.com even better than it currently is, then fork the 'develop' branch and prove it.

If you do fork the 'develop' branch, please use this syntax in naming your repo: 'feature_{YOUR-FEATURE-NAME}'.

If your idea rocks, it will be merged into the 'develop' branch and you'll get credit on the homepage as well as a link back to your site (or blog, or social media page, or whatever else).

If you want to help work on a feature already in development, then you're best off forking a repo that has forked the 'develop' branch.

If you want to work on an issue, please use this syntax in naming your repo: 'branchName#{ISSUE_NAME}'.

Please do NOT fork the 'master' branch or any of the 'hotfix' or 'release' branches. The 'master' branch is where code goes when it's stable and meant for people to download and run. 'Hotfix' and 'release' branches are only meant to be temporary -- the former to fix urgent problems quickly, and the latter for final minor edits to the script before being merged with the 'master' branch.

For more info on good Git branching practices, check this article on Git workflow.

Programs and languages used to make this

Each state map used on the site was made in Google Fusion Tables.

Data source(s)

All median income and median rent data come from the U.S. Census' 2007-2011 American Community Survey.

Contact

Questions? Email [email protected], tweet @RichBlocksPoorB, or tweet site creator Chris Persaud at @ChrisMPersaud.

Version History

  • v2.0.2: Fixed bug that put the word "undefined" in infoWindow
  • v2.0.1: Added "(paid)" to maps being sold
  • v2.0: Added a shop, embed button, and LinkedIn share button
  • v1.4.1: Added 'nofollow' attributes to outbound links
  • v1.4: Added social button for Reddit
  • v1.3: Incorporated changes from branch 'feature_media-footer'
  • v1.2.3: Fixed spellings of Massachusetts and Pennsylvania
  • v1.2.2: Minor README.md updates
  • v1.2.1: Minor README.md updates
  • v1.2: Edited 'main.js' so that if a user changes the map type then clicks 'Search' without changing the address and state, then the map layer, infobox and legend will change without the map re-zooming and re-centering itself
  • v1.1.1: Edited the 'Change Map Size' button to work properly on Google Chrome
  • v1.1: Added the 'Change Map Size' button
  • v1.0: Initial commit

To do

  • Fix embed functionality
  • Redirect 'poverty' map selection to map shop (especially in the embed map)

About

Production and development files used for the website RichBlocksPoorBlocks.com

Resources

Stars

Watchers

Forks

Packages

No packages published