{"action":"created","comment":{"url":"https://api.github.com/repos/Thinkful/ui/pulls/comments/34045613","id":34045613,"diff_hunk":"@@ -76,40 +78,77 @@ class AppNav extends React.Component {\n         this.setState({ isMenuVisible: false });\n     }\n \n-    render() {\n-        const {user, config} = this.props;\n+    renderAuthed(user, config) {\n         const navClassName = cx(\n             'app-nav', {'app-nav__visible': this.state.isMenuVisible});\n \n         return (\n-          <div className=\"app-nav-container\">\n+          <div className={cx('app-nav-container')}>\n                 <nav onMouseLeave={this.handleMouseLeave.bind(this)}\n                      className={navClassName} rel=\"main-navigation\">\n                     <Masthead className=\"app-nav-logo\"/>\n                     <ul className=\"app-nav-main\">\n                         {linkSet.main.map(\n                             (link) => <li key={uniqueId(link)}>\n-                                <NavLink {...link}/></li>)}\n+                                <NavLink {...link} displayIcon={true} /></li>)}\n                     </ul>\n                     <ul onMouseEnter={this.handleMouseEnter.bind(this)}\n                         className=\"app-nav-list\">\n                         {linkSet.main.map(\n                             (link) => <li key={uniqueId(link)}>\n-                                <NavLink className=\"app-nav-link__mobile-only\" {...link}/></li>)}\n+                                <NavLink\n+                                    className=\"app-nav-link__mobile-only\"\n+                                    {...link} displayIcon={true} /></li>)}\n                         {linkSet.menu.map(\n                             (link) => <li key={uniqueId(link)}>\n-                                <NavLink className=\"app-nav-link__in-menu\" {...link}/></li>)}\n+                                <NavLink\n+                                    className=\"app-nav-link__in-menu\"\n+                                    displayIcon={true} {...link}/></li>)}\n                     </ul>\n-                    {user &&\n                     <a className=\"app-nav-link app-nav-link__toggle\" onClick={this.toggleMenu.bind(this)}>\n                         <span alt=\"Menu\" className=\"app-nav-burger\"></span>\n                         <Gravatar className=\"app-nav-gravatar\" email={user.tf_login} size={120}/>\n                     </a>\n-                    }\n                 </nav>\n             </div>\n         )\n     }\n+\n+    renderUnauthed(config) {","path":"src/AppBar/Navigation.jsx","position":78,"original_position":78,"commit_id":"11376dd5d2416012e14d3460a11043dc071c0577","original_commit_id":"11376dd5d2416012e14d3460a11043dc071c0577","user":{"login":"benjaminEwhite","id":960351,"avatar_url":"https://avatars.githubusercontent.com/u/960351?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaminEwhite","html_url":"https://github.com/benjaminEwhite","followers_url":"https://api.github.com/users/benjaminEwhite/followers","following_url":"https://api.github.com/users/benjaminEwhite/following{/other_user}","gists_url":"https://api.github.com/users/benjaminEwhite/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminEwhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminEwhite/subscriptions","organizations_url":"https://api.github.com/users/benjaminEwhite/orgs","repos_url":"https://api.github.com/users/benjaminEwhite/repos","events_url":"https://api.github.com/users/benjaminEwhite/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminEwhite/received_events","type":"User","site_admin":false},"body":"Fine with doing that, but what's the advantage?","created_at":"2015-07-07T14:29:49Z","updated_at":"2015-07-07T14:29:49Z","html_url":"https://github.com/Thinkful/ui/pull/111#discussion_r34045613","pull_request_url":"https://api.github.com/repos/Thinkful/ui/pulls/111","_links":{"self":{"href":"https://api.github.com/repos/Thinkful/ui/pulls/comments/34045613"},"html":{"href":"https://github.com/Thinkful/ui/pull/111#discussion_r34045613"},"pull_request":{"href":"https://api.github.com/repos/Thinkful/ui/pulls/111"}}},"pull_request":{"url":"https://api.github.com/repos/Thinkful/ui/pulls/111","id":39220947,"html_url":"https://github.com/Thinkful/ui/pull/111","diff_url":"https://github.com/Thinkful/ui/pull/111.diff","patch_url":"https://github.com/Thinkful/ui/pull/111.patch","issue_url":"https://api.github.com/repos/Thinkful/ui/issues/111","number":111,"state":"open","locked":false,"title":"adds authed vs. unauthed state to nav bar...","user":{"login":"benjaminEwhite","id":960351,"avatar_url":"https://avatars.githubusercontent.com/u/960351?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaminEwhite","html_url":"https://github.com/benjaminEwhite","followers_url":"https://api.github.com/users/benjaminEwhite/followers","following_url":"https://api.github.com/users/benjaminEwhite/following{/other_user}","gists_url":"https://api.github.com/users/benjaminEwhite/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminEwhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminEwhite/subscriptions","organizations_url":"https://api.github.com/users/benjaminEwhite/orgs","repos_url":"https://api.github.com/users/benjaminEwhite/repos","events_url":"https://api.github.com/users/benjaminEwhite/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminEwhite/received_events","type":"User","site_admin":false},"body":"...determining menu choices, and whether or not icons displayed","created_at":"2015-07-05T13:37:12Z","updated_at":"2015-07-07T14:29:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5feec8cea9a43f62cb0cd83e871155f5ad4a8fb","assignee":{"login":"evanrs","id":297455,"avatar_url":"https://avatars.githubusercontent.com/u/297455?v=3","gravatar_id":"","url":"https://api.github.com/users/evanrs","html_url":"https://github.com/evanrs","followers_url":"https://api.github.com/users/evanrs/followers","following_url":"https://api.github.com/users/evanrs/following{/other_user}","gists_url":"https://api.github.com/users/evanrs/gists{/gist_id}","starred_url":"https://api.github.com/users/evanrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanrs/subscriptions","organizations_url":"https://api.github.com/users/evanrs/orgs","repos_url":"https://api.github.com/users/evanrs/repos","events_url":"https://api.github.com/users/evanrs/events{/privacy}","received_events_url":"https://api.github.com/users/evanrs/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Thinkful/ui/pulls/111/commits","review_comments_url":"https://api.github.com/repos/Thinkful/ui/pulls/111/comments","review_comment_url":"https://api.github.com/repos/Thinkful/ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Thinkful/ui/issues/111/comments","statuses_url":"https://api.github.com/repos/Thinkful/ui/statuses/11376dd5d2416012e14d3460a11043dc071c0577","head":{"label":"Thinkful:feature/redesign-unauthed-nav-bar","ref":"feature/redesign-unauthed-nav-bar","sha":"11376dd5d2416012e14d3460a11043dc071c0577","user":{"login":"Thinkful","id":2779782,"avatar_url":"https://avatars.githubusercontent.com/u/2779782?v=3","gravatar_id":"","url":"https://api.github.com/users/Thinkful","html_url":"https://github.com/Thinkful","followers_url":"https://api.github.com/users/Thinkful/followers","following_url":"https://api.github.com/users/Thinkful/following{/other_user}","gists_url":"https://api.github.com/users/Thinkful/gists{/gist_id}","starred_url":"https://api.github.com/users/Thinkful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thinkful/subscriptions","organizations_url":"https://api.github.com/users/Thinkful/orgs","repos_url":"https://api.github.com/users/Thinkful/repos","events_url":"https://api.github.com/users/Thinkful/events{/privacy}","received_events_url":"https://api.github.com/users/Thinkful/received_events","type":"Organization","site_admin":false},"repo":{"id":35639490,"name":"ui","full_name":"Thinkful/ui","owner":{"login":"Thinkful","id":2779782,"avatar_url":"https://avatars.githubusercontent.com/u/2779782?v=3","gravatar_id":"","url":"https://api.github.com/users/Thinkful","html_url":"https://github.com/Thinkful","followers_url":"https://api.github.com/users/Thinkful/followers","following_url":"https://api.github.com/users/Thinkful/following{/other_user}","gists_url":"https://api.github.com/users/Thinkful/gists{/gist_id}","starred_url":"https://api.github.com/users/Thinkful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thinkful/subscriptions","organizations_url":"https://api.github.com/users/Thinkful/orgs","repos_url":"https://api.github.com/users/Thinkful/repos","events_url":"https://api.github.com/users/Thinkful/events{/privacy}","received_events_url":"https://api.github.com/users/Thinkful/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Thinkful/ui","description":"Shared navigation and UI resources for Thinkful SPAs.","fork":false,"url":"https://api.github.com/repos/Thinkful/ui","forks_url":"https://api.github.com/repos/Thinkful/ui/forks","keys_url":"https://api.github.com/repos/Thinkful/ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Thinkful/ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Thinkful/ui/teams","hooks_url":"https://api.github.com/repos/Thinkful/ui/hooks","issue_events_url":"https://api.github.com/repos/Thinkful/ui/issues/events{/number}","events_url":"https://api.github.com/repos/Thinkful/ui/events","assignees_url":"https://api.github.com/repos/Thinkful/ui/assignees{/user}","branches_url":"https://api.github.com/repos/Thinkful/ui/branches{/branch}","tags_url":"https://api.github.com/repos/Thinkful/ui/tags","blobs_url":"https://api.github.com/repos/Thinkful/ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Thinkful/ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Thinkful/ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/Thinkful/ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Thinkful/ui/statuses/{sha}","languages_url":"https://api.github.com/repos/Thinkful/ui/languages","stargazers_url":"https://api.github.com/repos/Thinkful/ui/stargazers","contributors_url":"https://api.github.com/repos/Thinkful/ui/contributors","subscribers_url":"https://api.github.com/repos/Thinkful/ui/subscribers","subscription_url":"https://api.github.com/repos/Thinkful/ui/subscription","commits_url":"https://api.github.com/repos/Thinkful/ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/Thinkful/ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/Thinkful/ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/Thinkful/ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/Thinkful/ui/contents/{+path}","compare_url":"https://api.github.com/repos/Thinkful/ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Thinkful/ui/merges","archive_url":"https://api.github.com/repos/Thinkful/ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Thinkful/ui/downloads","issues_url":"https://api.github.com/repos/Thinkful/ui/issues{/number}","pulls_url":"https://api.github.com/repos/Thinkful/ui/pulls{/number}","milestones_url":"https://api.github.com/repos/Thinkful/ui/milestones{/number}","notifications_url":"https://api.github.com/repos/Thinkful/ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Thinkful/ui/labels{/name}","releases_url":"https://api.github.com/repos/Thinkful/ui/releases{/id}","created_at":"2015-05-14T22:07:39Z","updated_at":"2015-05-20T19:32:53Z","pushed_at":"2015-07-05T13:37:14Z","git_url":"git://github.com/Thinkful/ui.git","ssh_url":"git@github.com:Thinkful/ui.git","clone_url":"https://github.com/Thinkful/ui.git","svn_url":"https://github.com/Thinkful/ui","homepage":null,"size":1104,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"develop"}},"base":{"label":"Thinkful:develop","ref":"develop","sha":"ba556bcbf537f133a4518ab031fbdab989ba056b","user":{"login":"Thinkful","id":2779782,"avatar_url":"https://avatars.githubusercontent.com/u/2779782?v=3","gravatar_id":"","url":"https://api.github.com/users/Thinkful","html_url":"https://github.com/Thinkful","followers_url":"https://api.github.com/users/Thinkful/followers","following_url":"https://api.github.com/users/Thinkful/following{/other_user}","gists_url":"https://api.github.com/users/Thinkful/gists{/gist_id}","starred_url":"https://api.github.com/users/Thinkful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thinkful/subscriptions","organizations_url":"https://api.github.com/users/Thinkful/orgs","repos_url":"https://api.github.com/users/Thinkful/repos","events_url":"https://api.github.com/users/Thinkful/events{/privacy}","received_events_url":"https://api.github.com/users/Thinkful/received_events","type":"Organization","site_admin":false},"repo":{"id":35639490,"name":"ui","full_name":"Thinkful/ui","owner":{"login":"Thinkful","id":2779782,"avatar_url":"https://avatars.githubusercontent.com/u/2779782?v=3","gravatar_id":"","url":"https://api.github.com/users/Thinkful","html_url":"https://github.com/Thinkful","followers_url":"https://api.github.com/users/Thinkful/followers","following_url":"https://api.github.com/users/Thinkful/following{/other_user}","gists_url":"https://api.github.com/users/Thinkful/gists{/gist_id}","starred_url":"https://api.github.com/users/Thinkful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thinkful/subscriptions","organizations_url":"https://api.github.com/users/Thinkful/orgs","repos_url":"https://api.github.com/users/Thinkful/repos","events_url":"https://api.github.com/users/Thinkful/events{/privacy}","received_events_url":"https://api.github.com/users/Thinkful/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Thinkful/ui","description":"Shared navigation and UI resources for Thinkful SPAs.","fork":false,"url":"https://api.github.com/repos/Thinkful/ui","forks_url":"https://api.github.com/repos/Thinkful/ui/forks","keys_url":"https://api.github.com/repos/Thinkful/ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Thinkful/ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Thinkful/ui/teams","hooks_url":"https://api.github.com/repos/Thinkful/ui/hooks","issue_events_url":"https://api.github.com/repos/Thinkful/ui/issues/events{/number}","events_url":"https://api.github.com/repos/Thinkful/ui/events","assignees_url":"https://api.github.com/repos/Thinkful/ui/assignees{/user}","branches_url":"https://api.github.com/repos/Thinkful/ui/branches{/branch}","tags_url":"https://api.github.com/repos/Thinkful/ui/tags","blobs_url":"https://api.github.com/repos/Thinkful/ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Thinkful/ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Thinkful/ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/Thinkful/ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Thinkful/ui/statuses/{sha}","languages_url":"https://api.github.com/repos/Thinkful/ui/languages","stargazers_url":"https://api.github.com/repos/Thinkful/ui/stargazers","contributors_url":"https://api.github.com/repos/Thinkful/ui/contributors","subscribers_url":"https://api.github.com/repos/Thinkful/ui/subscribers","subscription_url":"https://api.github.com/repos/Thinkful/ui/subscription","commits_url":"https://api.github.com/repos/Thinkful/ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/Thinkful/ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/Thinkful/ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/Thinkful/ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/Thinkful/ui/contents/{+path}","compare_url":"https://api.github.com/repos/Thinkful/ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Thinkful/ui/merges","archive_url":"https://api.github.com/repos/Thinkful/ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Thinkful/ui/downloads","issues_url":"https://api.github.com/repos/Thinkful/ui/issues{/number}","pulls_url":"https://api.github.com/repos/Thinkful/ui/pulls{/number}","milestones_url":"https://api.github.com/repos/Thinkful/ui/milestones{/number}","notifications_url":"https://api.github.com/repos/Thinkful/ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Thinkful/ui/labels{/name}","releases_url":"https://api.github.com/repos/Thinkful/ui/releases{/id}","created_at":"2015-05-14T22:07:39Z","updated_at":"2015-05-20T19:32:53Z","pushed_at":"2015-07-05T13:37:14Z","git_url":"git://github.com/Thinkful/ui.git","ssh_url":"git@github.com:Thinkful/ui.git","clone_url":"https://github.com/Thinkful/ui.git","svn_url":"https://github.com/Thinkful/ui","homepage":null,"size":1104,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Thinkful/ui/pulls/111"},"html":{"href":"https://github.com/Thinkful/ui/pull/111"},"issue":{"href":"https://api.github.com/repos/Thinkful/ui/issues/111"},"comments":{"href":"https://api.github.com/repos/Thinkful/ui/issues/111/comments"},"review_comments":{"href":"https://api.github.com/repos/Thinkful/ui/pulls/111/comments"},"review_comment":{"href":"https://api.github.com/repos/Thinkful/ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Thinkful/ui/pulls/111/commits"},"statuses":{"href":"https://api.github.com/repos/Thinkful/ui/statuses/11376dd5d2416012e14d3460a11043dc071c0577"}}}}