GitHub PullRequestEvent at 2014-02-01 15:45:10
Repository: missionhub
Actor: tavon
Payload: {"action":"opened","number":285,"pull_request":{"url":"https://api.github.com/repos/CruGlobal/missionhub/pulls/285","id":12107485,"html_url":"https://github.com/CruGlobal/missionhub/pull/285","diff_url":"https://github.com/CruGlobal/missionhub/pull/285.diff","patch_url":"https://github.com/CruGlobal/missionhub/pull/285.patch","issue_url":"https://api.github.com/repos/CruGlobal/missionhub/issues/285","number":285,"state":"open","title":"Homepage & Privacy/Terms Pages Restyle","user":{"login":"tavon","id":3383,"avatar_url":"https://gravatar.com/avatar/e968ae080b791ecadbb326ac04494193?d=https%3A%2F%2Fidenticons.github.com%2F0668e20b3c9e9185b04b3d2a9dc8fa2d.png&r=x","gravatar_id":"e968ae080b791ecadbb326ac04494193","url":"https://api.github.com/users/tavon","html_url":"https://github.com/tavon","followers_url":"https://api.github.com/users/tavon/followers","following_url":"https://api.github.com/users/tavon/following{/other_user}","gists_url":"https://api.github.com/users/tavon/gists{/gist_id}","starred_url":"https://api.github.com/users/tavon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tavon/subscriptions","organizations_url":"https://api.github.com/users/tavon/orgs","repos_url":"https://api.github.com/users/tavon/repos","events_url":"https://api.github.com/users/tavon/events{/privacy}","received_events_url":"https://api.github.com/users/tavon/received_events","type":"User","site_admin":false},"body":"We've redesigned the homepage and the privacy & terms pages.  Some of our goals were:\r\n\r\n### Responsive Web\r\n\r\nWe included the \"susy\" compass gem to easily implement \"magic responsive grids\".  I've attached screenshots of how this works.  I'd love to discuss how this might be applicable in other areas of the app.\r\n\r\n#### Homepage\r\n\r\n![home - mobile](https://f.cloud.github.com/assets/3383/2057959/ea24f5ca-8b56-11e3-949b-82afa87f3d08.png)\r\n![home - mobile tablet](https://f.cloud.github.com/assets/3383/2057960/ea2a45c0-8b56-11e3-9b1d-895824929d87.png)\r\n![home - tablet](https://f.cloud.github.com/assets/3383/2057961/ea2aeade-8b56-11e3-93d4-fd1f2305cf8d.png)\r\n![home - desktop](https://f.cloud.github.com/assets/3383/2057958/ea1c8b74-8b56-11e3-9ddc-ca7f0b009835.png)\r\n![home - widescreen](https://f.cloud.github.com/assets/3383/2057962/ea2b98f8-8b56-11e3-845c-01bf620f3a13.png)\r\n\r\n#### Privacy Page\r\n\r\n![privacy - mobile](https://f.cloud.github.com/assets/3383/2057970/ff81678c-8b56-11e3-890c-63b8926409fc.png)\r\n![privacy - tablet](https://f.cloud.github.com/assets/3383/2057971/ff81907c-8b56-11e3-9056-8b0c6aa1a48b.png)\r\n![privacy - desktop](https://f.cloud.github.com/assets/3383/2057969/ff80eda2-8b56-11e3-96cd-5e519b41e119.png)\r\n![privacy - widescreen](https://f.cloud.github.com/assets/3383/2057972/ff826b64-8b56-11e3-85cc-c3080bf1320e.png)\r\n\r\n### Isolation\r\n\r\nMake sure it's isolated so that our changes don't effect other sections of the site.  We did this by creating a new layout called \"welcome\".  We also namespace the new styles with \"body.welcome\" by adding a \"welcome\" class to the body.  Each page also gets specific action classes like \"index\", \"privacy\", or \"terms\".  I created a helper to assign the body classes for each page.\r\n\r\n### Notes\r\n\r\n* We haven't implemented the login page yet.  That's another pull request.\r\n* We did have to update quite a few gems to get everything to work.  This is mostly because the ```Gemfile.lock``` was outdated and was not loading some of the new gems that we were including and so we were forced to delete the ```Gemfile.lock``` and ```bundle update```","created_at":"2014-02-01T15:45:09Z","updated_at":"2014-02-01T15:45:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CruGlobal/missionhub/pulls/285/commits","review_comments_url":"https://api.github.com/repos/CruGlobal/missionhub/pulls/285/comments","review_comment_url":"https://api.github.com/repos/CruGlobal/missionhub/pulls/comments/{number}","comments_url":"https://api.github.com/repos/CruGlobal/missionhub/issues/285/comments","statuses_url":"https://api.github.com/repos/CruGlobal/missionhub/statuses/052b29099377091d94797d465c28c7b711780125","head":{"label":"Lanio:master","ref":"master","sha":"052b29099377091d94797d465c28c7b711780125","user":{"login":"Lanio","id":1161650,"avatar_url":"https://gravatar.com/avatar/c7b484409964fd7b2fc38d7c614f1c17?d=https%3A%2F%2Fidenticons.github.com%2Fdbf54893c9e452a084b7380e860fed1b.png&r=x","gravatar_id":"c7b484409964fd7b2fc38d7c614f1c17","url":"https://api.github.com/users/Lanio","html_url":"https://github.com/Lanio","followers_url":"https://api.github.com/users/Lanio/followers","following_url":"https://api.github.com/users/Lanio/following{/other_user}","gists_url":"https://api.github.com/users/Lanio/gists{/gist_id}","starred_url":"https://api.github.com/users/Lanio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lanio/subscriptions","organizations_url":"https://api.github.com/users/Lanio/orgs","repos_url":"https://api.github.com/users/Lanio/repos","events_url":"https://api.github.com/users/Lanio/events{/privacy}","received_events_url":"https://api.github.com/users/Lanio/received_events","type":"Organization","site_admin":false},"repo":{"id":15518972,"name":"missionhub","full_name":"Lanio/missionhub","owner":{"login":"Lanio","id":1161650,"avatar_url":"https://gravatar.com/avatar/c7b484409964fd7b2fc38d7c614f1c17?d=https%3A%2F%2Fidenticons.github.com%2Fdbf54893c9e452a084b7380e860fed1b.png&r=x","gravatar_id":"c7b484409964fd7b2fc38d7c614f1c17","url":"https://api.github.com/users/Lanio","html_url":"https://github.com/Lanio","followers_url":"https://api.github.com/users/Lanio/followers","following_url":"https://api.github.com/users/Lanio/following{/other_user}","gists_url":"https://api.github.com/users/Lanio/gists{/gist_id}","starred_url":"https://api.github.com/users/Lanio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lanio/subscriptions","organizations_url":"https://api.github.com/users/Lanio/orgs","repos_url":"https://api.github.com/users/Lanio/repos","events_url":"https://api.github.com/users/Lanio/events{/privacy}","received_events_url":"https://api.github.com/users/Lanio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Lanio/missionhub","description":"","fork":true,"url":"https://api.github.com/repos/Lanio/missionhub","forks_url":"https://api.github.com/repos/Lanio/missionhub/forks","keys_url":"https://api.github.com/repos/Lanio/missionhub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lanio/missionhub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lanio/missionhub/teams","hooks_url":"https://api.github.com/repos/Lanio/missionhub/hooks","issue_events_url":"https://api.github.com/repos/Lanio/missionhub/issues/events{/number}","events_url":"https://api.github.com/repos/Lanio/missionhub/events","assignees_url":"https://api.github.com/repos/Lanio/missionhub/assignees{/user}","branches_url":"https://api.github.com/repos/Lanio/missionhub/branches{/branch}","tags_url":"https://api.github.com/repos/Lanio/missionhub/tags","blobs_url":"https://api.github.com/repos/Lanio/missionhub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lanio/missionhub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lanio/missionhub/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lanio/missionhub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lanio/missionhub/statuses/{sha}","languages_url":"https://api.github.com/repos/Lanio/missionhub/languages","stargazers_url":"https://api.github.com/repos/Lanio/missionhub/stargazers","contributors_url":"https://api.github.com/repos/Lanio/missionhub/contributors","subscribers_url":"https://api.github.com/repos/Lanio/missionhub/subscribers","subscription_url":"https://api.github.com/repos/Lanio/missionhub/subscription","commits_url":"https://api.github.com/repos/Lanio/missionhub/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lanio/missionhub/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lanio/missionhub/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lanio/missionhub/issues/comments/{number}","contents_url":"https://api.github.com/repos/Lanio/missionhub/contents/{+path}","compare_url":"https://api.github.com/repos/Lanio/missionhub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lanio/missionhub/merges","archive_url":"https://api.github.com/repos/Lanio/missionhub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lanio/missionhub/downloads","issues_url":"https://api.github.com/repos/Lanio/missionhub/issues{/number}","pulls_url":"https://api.github.com/repos/Lanio/missionhub/pulls{/number}","milestones_url":"https://api.github.com/repos/Lanio/missionhub/milestones{/number}","notifications_url":"https://api.github.com/repos/Lanio/missionhub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lanio/missionhub/labels{/name}","releases_url":"https://api.github.com/repos/Lanio/missionhub/releases{/id}","created_at":"2013-12-30T02:38:04Z","updated_at":"2014-02-01T15:45:09Z","pushed_at":"2014-02-01T15:32:07Z","git_url":"git://github.com/Lanio/missionhub.git","ssh_url":"git@github.com:Lanio/missionhub.git","clone_url":"https://github.com/Lanio/missionhub.git","svn_url":"https://github.com/Lanio/missionhub","homepage":null,"size":272,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"CruGlobal:master","ref":"master","sha":"60846ea10b597871bb9d283621e6fc4027b50f89","user":{"login":"CruGlobal","id":1785912,"avatar_url":"https://gravatar.com/avatar/fff0e4838db6e8e33d895977195fa2ce?d=https%3A%2F%2Fidenticons.github.com%2F8c6d1fef12573d3311f0b27fa20b1d38.png&r=x","gravatar_id":"fff0e4838db6e8e33d895977195fa2ce","url":"https://api.github.com/users/CruGlobal","html_url":"https://github.com/CruGlobal","followers_url":"https://api.github.com/users/CruGlobal/followers","following_url":"https://api.github.com/users/CruGlobal/following{/other_user}","gists_url":"https://api.github.com/users/CruGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/CruGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CruGlobal/subscriptions","organizations_url":"https://api.github.com/users/CruGlobal/orgs","repos_url":"https://api.github.com/users/CruGlobal/repos","events_url":"https://api.github.com/users/CruGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/CruGlobal/received_events","type":"Organization","site_admin":false},"repo":{"id":4740957,"name":"missionhub","full_name":"CruGlobal/missionhub","owner":{"login":"CruGlobal","id":1785912,"avatar_url":"https://gravatar.com/avatar/fff0e4838db6e8e33d895977195fa2ce?d=https%3A%2F%2Fidenticons.github.com%2F8c6d1fef12573d3311f0b27fa20b1d38.png&r=x","gravatar_id":"fff0e4838db6e8e33d895977195fa2ce","url":"https://api.github.com/users/CruGlobal","html_url":"https://github.com/CruGlobal","followers_url":"https://api.github.com/users/CruGlobal/followers","following_url":"https://api.github.com/users/CruGlobal/following{/other_user}","gists_url":"https://api.github.com/users/CruGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/CruGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CruGlobal/subscriptions","organizations_url":"https://api.github.com/users/CruGlobal/orgs","repos_url":"https://api.github.com/users/CruGlobal/repos","events_url":"https://api.github.com/users/CruGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/CruGlobal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CruGlobal/missionhub","description":"","fork":false,"url":"https://api.github.com/repos/CruGlobal/missionhub","forks_url":"https://api.github.com/repos/CruGlobal/missionhub/forks","keys_url":"https://api.github.com/repos/CruGlobal/missionhub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CruGlobal/missionhub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CruGlobal/missionhub/teams","hooks_url":"https://api.github.com/repos/CruGlobal/missionhub/hooks","issue_events_url":"https://api.github.com/repos/CruGlobal/missionhub/issues/events{/number}","events_url":"https://api.github.com/repos/CruGlobal/missionhub/events","assignees_url":"https://api.github.com/repos/CruGlobal/missionhub/assignees{/user}","branches_url":"https://api.github.com/repos/CruGlobal/missionhub/branches{/branch}","tags_url":"https://api.github.com/repos/CruGlobal/missionhub/tags","blobs_url":"https://api.github.com/repos/CruGlobal/missionhub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CruGlobal/missionhub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CruGlobal/missionhub/git/refs{/sha}","trees_url":"https://api.github.com/repos/CruGlobal/missionhub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CruGlobal/missionhub/statuses/{sha}","languages_url":"https://api.github.com/repos/CruGlobal/missionhub/languages","stargazers_url":"https://api.github.com/repos/CruGlobal/missionhub/stargazers","contributors_url":"https://api.github.com/repos/CruGlobal/missionhub/contributors","subscribers_url":"https://api.github.com/repos/CruGlobal/missionhub/subscribers","subscription_url":"https://api.github.com/repos/CruGlobal/missionhub/subscription","commits_url":"https://api.github.com/repos/CruGlobal/missionhub/commits{/sha}","git_commits_url":"https://api.github.com/repos/CruGlobal/missionhub/git/commits{/sha}","comments_url":"https://api.github.com/repos/CruGlobal/missionhub/comments{/number}","issue_comment_url":"https://api.github.com/repos/CruGlobal/missionhub/issues/comments/{number}","contents_url":"https://api.github.com/repos/CruGlobal/missionhub/contents/{+path}","compare_url":"https://api.github.com/repos/CruGlobal/missionhub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CruGlobal/missionhub/merges","archive_url":"https://api.github.com/repos/CruGlobal/missionhub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CruGlobal/missionhub/downloads","issues_url":"https://api.github.com/repos/CruGlobal/missionhub/issues{/number}","pulls_url":"https://api.github.com/repos/CruGlobal/missionhub/pulls{/number}","milestones_url":"https://api.github.com/repos/CruGlobal/missionhub/milestones{/number}","notifications_url":"https://api.github.com/repos/CruGlobal/missionhub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CruGlobal/missionhub/labels{/name}","releases_url":"https://api.github.com/repos/CruGlobal/missionhub/releases{/id}","created_at":"2012-06-21T15:40:33Z","updated_at":"2014-01-30T04:27:34Z","pushed_at":"2014-01-30T04:27:32Z","git_url":"git://github.com/CruGlobal/missionhub.git","ssh_url":"git@github.com:CruGlobal/missionhub.git","clone_url":"https://github.com/CruGlobal/missionhub.git","svn_url":"https://github.com/CruGlobal/missionhub","homepage":null,"size":302095,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":3,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CruGlobal/missionhub/pulls/285"},"html":{"href":"https://github.com/CruGlobal/missionhub/pull/285"},"issue":{"href":"https://api.github.com/repos/CruGlobal/missionhub/issues/285"},"comments":{"href":"https://api.github.com/repos/CruGlobal/missionhub/issues/285/comments"},"review_comments":{"href":"https://api.github.com/repos/CruGlobal/missionhub/pulls/285/comments"},"review_comment":{"href":"https://api.github.com/repos/CruGlobal/missionhub/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/CruGlobal/missionhub/pulls/285/commits"},"statuses":{"href":"https://api.github.com/repos/CruGlobal/missionhub/statuses/052b29099377091d94797d465c28c7b711780125"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":849,"deletions":233,"changed_files":159}}