{"action":"created","comment":{"url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/pulls/comments/201526748","pull_request_review_id":136042102,"id":201526748,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTUyNjc0OA==","diff_hunk":"@@ -70,6 +70,16 @@ export default class Layout extends React.Component {\n       handleLogout: () => {\n         this.setState({ user: defaultUserContext });\n         logout(() => push('/'));\n+      },\n+      toggleProfile: () => {\n+        this.setState(state => ({\n+          user: { ...state.user, isProfileOpen: !state.user.isProfileOpen }\n+        }));\n+      },","path":"src/components/shared/Layout.js","position":9,"original_position":9,"commit_id":"58f77fd1ffba7e77d1493008321a67355b613ddf","original_commit_id":"58f77fd1ffba7e77d1493008321a67355b613ddf","user":{"login":"jlengstorf","id":163561,"node_id":"MDQ6VXNlcjE2MzU2MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/163561?v=4","gravatar_id":"","url":"https://api.github.com/users/jlengstorf","html_url":"https://github.com/jlengstorf","followers_url":"https://api.github.com/users/jlengstorf/followers","following_url":"https://api.github.com/users/jlengstorf/following{/other_user}","gists_url":"https://api.github.com/users/jlengstorf/gists{/gist_id}","starred_url":"https://api.github.com/users/jlengstorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlengstorf/subscriptions","organizations_url":"https://api.github.com/users/jlengstorf/orgs","repos_url":"https://api.github.com/users/jlengstorf/repos","events_url":"https://api.github.com/users/jlengstorf/events{/privacy}","received_events_url":"https://api.github.com/users/jlengstorf/received_events","type":"User","site_admin":false},"body":"We can set the cart to closed here to ensure that only one is open at a time. Make sure to add a similar check to close the profile in `toggleCart()`.","created_at":"2018-07-10T23:30:13Z","updated_at":"2018-07-10T23:37:43Z","html_url":"https://github.com/gatsbyjs/store.gatsbyjs.org/pull/81#discussion_r201526748","pull_request_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/pulls/81","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/pulls/comments/201526748"},"html":{"href":"https://github.com/gatsbyjs/store.gatsbyjs.org/pull/81#discussion_r201526748"},"pull_request":{"href":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/pulls/81"}}},"pull_request":{"url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/pulls/81","id":200466164,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwNDY2MTY0","html_url":"https://github.com/gatsbyjs/store.gatsbyjs.org/pull/81","diff_url":"https://github.com/gatsbyjs/store.gatsbyjs.org/pull/81.diff","patch_url":"https://github.com/gatsbyjs/store.gatsbyjs.org/pull/81.patch","issue_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/issues/81","number":81,"state":"open","locked":false,"title":"Update header component, add \"User\" dropdown","user":{"login":"fk","id":21834,"node_id":"MDQ6VXNlcjIxODM0","avatar_url":"https://avatars3.githubusercontent.com/u/21834?v=4","gravatar_id":"","url":"https://api.github.com/users/fk","html_url":"https://github.com/fk","followers_url":"https://api.github.com/users/fk/followers","following_url":"https://api.github.com/users/fk/following{/other_user}","gists_url":"https://api.github.com/users/fk/gists{/gist_id}","starred_url":"https://api.github.com/users/fk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fk/subscriptions","organizations_url":"https://api.github.com/users/fk/orgs","repos_url":"https://api.github.com/users/fk/repos","events_url":"https://api.github.com/users/fk/events{/privacy}","received_events_url":"https://api.github.com/users/fk/received_events","type":"User","site_admin":false},"body":"Fixes #71, fixes #72\r\n\r\n- adjust height, background color, border\r\n- add and show \"product\" name (\"Store\") next to Gatsby monogram\r\n- add \"Gatsby\" wordmark in between monogram and product name and show it on larger screens\r\n- remove navigation items (\"Swag Store\", \"Dashboard\")\r\n- update \"log in\" button copy to \"Log in with GitHub\" and add GitHub icon to it\r\n- update `button.default` styles, add \r\n  - `buttons.small`\r\n  - `buttons.ghost`\r\n- add `spacing`, `breakpoints`, `radius` to `utils/styles`\r\n- move `colors.brandLight` -> `colors.brandLighter`, slightly adjust color values\r\n- add `colors.lilac`\r\n- add an initial set of `dropdown` styles to `utils/styles`: container, item, divider\r\n- add \"User\" dropdown with links to \"Log out\", \"My Profile\"","created_at":"2018-07-10T17:12:20Z","updated_at":"2018-07-10T23:37:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a78f1eaa9d355055dbd552b6397cbe6e73a394b7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/pulls/81/commits","review_comments_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/pulls/81/comments","review_comment_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/issues/81/comments","statuses_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/statuses/58f77fd1ffba7e77d1493008321a67355b613ddf","head":{"label":"gatsbyjs:topics/update-header-component","ref":"topics/update-header-component","sha":"58f77fd1ffba7e77d1493008321a67355b613ddf","user":{"login":"gatsbyjs","id":12551863,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTUxODYz","avatar_url":"https://avatars1.githubusercontent.com/u/12551863?v=4","gravatar_id":"","url":"https://api.github.com/users/gatsbyjs","html_url":"https://github.com/gatsbyjs","followers_url":"https://api.github.com/users/gatsbyjs/followers","following_url":"https://api.github.com/users/gatsbyjs/following{/other_user}","gists_url":"https://api.github.com/users/gatsbyjs/gists{/gist_id}","starred_url":"https://api.github.com/users/gatsbyjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gatsbyjs/subscriptions","organizations_url":"https://api.github.com/users/gatsbyjs/orgs","repos_url":"https://api.github.com/users/gatsbyjs/repos","events_url":"https://api.github.com/users/gatsbyjs/events{/privacy}","received_events_url":"https://api.github.com/users/gatsbyjs/received_events","type":"Organization","site_admin":false},"repo":{"id":137912077,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc5MTIwNzc=","name":"store.gatsbyjs.org","full_name":"gatsbyjs/store.gatsbyjs.org","owner":{"login":"gatsbyjs","id":12551863,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTUxODYz","avatar_url":"https://avatars1.githubusercontent.com/u/12551863?v=4","gravatar_id":"","url":"https://api.github.com/users/gatsbyjs","html_url":"https://github.com/gatsbyjs","followers_url":"https://api.github.com/users/gatsbyjs/followers","following_url":"https://api.github.com/users/gatsbyjs/following{/other_user}","gists_url":"https://api.github.com/users/gatsbyjs/gists{/gist_id}","starred_url":"https://api.github.com/users/gatsbyjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gatsbyjs/subscriptions","organizations_url":"https://api.github.com/users/gatsbyjs/orgs","repos_url":"https://api.github.com/users/gatsbyjs/repos","events_url":"https://api.github.com/users/gatsbyjs/events{/privacy}","received_events_url":"https://api.github.com/users/gatsbyjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gatsbyjs/store.gatsbyjs.org","description":"The Gatsby store for swag and other Gatsby goodies.","fork":false,"url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org","forks_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/forks","keys_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/teams","hooks_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/hooks","issue_events_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/issues/events{/number}","events_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/events","assignees_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/assignees{/user}","branches_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/branches{/branch}","tags_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/tags","blobs_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/statuses/{sha}","languages_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/languages","stargazers_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/stargazers","contributors_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/contributors","subscribers_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/subscribers","subscription_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/subscription","commits_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/contents/{+path}","compare_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/merges","archive_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/downloads","issues_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/issues{/number}","pulls_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/pulls{/number}","milestones_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/milestones{/number}","notifications_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/labels{/name}","releases_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/releases{/id}","deployments_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/deployments","created_at":"2018-06-19T15:40:03Z","updated_at":"2018-07-10T02:30:29Z","pushed_at":"2018-07-10T17:12:21Z","git_url":"git://github.com/gatsbyjs/store.gatsbyjs.org.git","ssh_url":"git@github.com:gatsbyjs/store.gatsbyjs.org.git","clone_url":"https://github.com/gatsbyjs/store.gatsbyjs.org.git","svn_url":"https://github.com/gatsbyjs/store.gatsbyjs.org","homepage":"","size":231,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":41,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":41,"watchers":14,"default_branch":"master"}},"base":{"label":"gatsbyjs:master","ref":"master","sha":"eda08a03cdab9cd4878f372b37fd3145ac9add36","user":{"login":"gatsbyjs","id":12551863,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTUxODYz","avatar_url":"https://avatars1.githubusercontent.com/u/12551863?v=4","gravatar_id":"","url":"https://api.github.com/users/gatsbyjs","html_url":"https://github.com/gatsbyjs","followers_url":"https://api.github.com/users/gatsbyjs/followers","following_url":"https://api.github.com/users/gatsbyjs/following{/other_user}","gists_url":"https://api.github.com/users/gatsbyjs/gists{/gist_id}","starred_url":"https://api.github.com/users/gatsbyjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gatsbyjs/subscriptions","organizations_url":"https://api.github.com/users/gatsbyjs/orgs","repos_url":"https://api.github.com/users/gatsbyjs/repos","events_url":"https://api.github.com/users/gatsbyjs/events{/privacy}","received_events_url":"https://api.github.com/users/gatsbyjs/received_events","type":"Organization","site_admin":false},"repo":{"id":137912077,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc5MTIwNzc=","name":"store.gatsbyjs.org","full_name":"gatsbyjs/store.gatsbyjs.org","owner":{"login":"gatsbyjs","id":12551863,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTUxODYz","avatar_url":"https://avatars1.githubusercontent.com/u/12551863?v=4","gravatar_id":"","url":"https://api.github.com/users/gatsbyjs","html_url":"https://github.com/gatsbyjs","followers_url":"https://api.github.com/users/gatsbyjs/followers","following_url":"https://api.github.com/users/gatsbyjs/following{/other_user}","gists_url":"https://api.github.com/users/gatsbyjs/gists{/gist_id}","starred_url":"https://api.github.com/users/gatsbyjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gatsbyjs/subscriptions","organizations_url":"https://api.github.com/users/gatsbyjs/orgs","repos_url":"https://api.github.com/users/gatsbyjs/repos","events_url":"https://api.github.com/users/gatsbyjs/events{/privacy}","received_events_url":"https://api.github.com/users/gatsbyjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gatsbyjs/store.gatsbyjs.org","description":"The Gatsby store for swag and other Gatsby goodies.","fork":false,"url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org","forks_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/forks","keys_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/teams","hooks_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/hooks","issue_events_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/issues/events{/number}","events_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/events","assignees_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/assignees{/user}","branches_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/branches{/branch}","tags_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/tags","blobs_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/statuses/{sha}","languages_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/languages","stargazers_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/stargazers","contributors_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/contributors","subscribers_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/subscribers","subscription_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/subscription","commits_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/contents/{+path}","compare_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/merges","archive_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/downloads","issues_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/issues{/number}","pulls_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/pulls{/number}","milestones_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/milestones{/number}","notifications_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/labels{/name}","releases_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/releases{/id}","deployments_url":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/deployments","created_at":"2018-06-19T15:40:03Z","updated_at":"2018-07-10T02:30:29Z","pushed_at":"2018-07-10T17:12:21Z","git_url":"git://github.com/gatsbyjs/store.gatsbyjs.org.git","ssh_url":"git@github.com:gatsbyjs/store.gatsbyjs.org.git","clone_url":"https://github.com/gatsbyjs/store.gatsbyjs.org.git","svn_url":"https://github.com/gatsbyjs/store.gatsbyjs.org","homepage":"","size":231,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":41,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":41,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/pulls/81"},"html":{"href":"https://github.com/gatsbyjs/store.gatsbyjs.org/pull/81"},"issue":{"href":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/issues/81"},"comments":{"href":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/gatsbyjs/store.gatsbyjs.org/statuses/58f77fd1ffba7e77d1493008321a67355b613ddf"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jlengstorf"}}