{"action":"created","comment":{"url":"https://api.github.com/repos/artsy/reaction/pulls/comments/132552713","pull_request_review_id":55647426,"id":132552713,"diff_hunk":"@@ -34,10 +36,11 @@ const Sections: React.SFC<SectionsProps> = props => {\n function renderSections(article) {\n   const sections = article.sections\n   const renderedSections = sections.map((section, i) => {\n-    const child = getSection(section)\n+    const child = getSection(section, article.layout)\n+    const layout = section.body ? findBlockquote(section.body, article.layout) : section.layout","path":"src/components/publishing/sections/sections.tsx","position":30,"original_position":30,"commit_id":"877fa76281cc1f4b373fd23b895ec64483b88703","original_commit_id":"fcba1103494826d496b4df3a40df07a0c8734449","user":{"login":"eessex","id":1497424,"avatar_url":"https://avatars3.githubusercontent.com/u/1497424?v=4","gravatar_id":"","url":"https://api.github.com/users/eessex","html_url":"https://github.com/eessex","followers_url":"https://api.github.com/users/eessex/followers","following_url":"https://api.github.com/users/eessex/following{/other_user}","gists_url":"https://api.github.com/users/eessex/gists{/gist_id}","starred_url":"https://api.github.com/users/eessex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eessex/subscriptions","organizations_url":"https://api.github.com/users/eessex/orgs","repos_url":"https://api.github.com/users/eessex/repos","events_url":"https://api.github.com/users/eessex/events{/privacy}","received_events_url":"https://api.github.com/users/eessex/received_events","type":"User","site_admin":false},"body":"maybe would make more sense to set the layout on these text sections directly, so blockquote doesn't have to be identified on the client. ","created_at":"2017-08-10T19:58:18Z","updated_at":"2017-08-10T19:58:18Z","html_url":"https://github.com/artsy/reaction/pull/216#discussion_r132552713","pull_request_url":"https://api.github.com/repos/artsy/reaction/pulls/216","_links":{"self":{"href":"https://api.github.com/repos/artsy/reaction/pulls/comments/132552713"},"html":{"href":"https://github.com/artsy/reaction/pull/216#discussion_r132552713"},"pull_request":{"href":"https://api.github.com/repos/artsy/reaction/pulls/216"}}},"pull_request":{"url":"https://api.github.com/repos/artsy/reaction/pulls/216","id":135199109,"html_url":"https://github.com/artsy/reaction/pull/216","diff_url":"https://github.com/artsy/reaction/pull/216.diff","patch_url":"https://github.com/artsy/reaction/pull/216.patch","issue_url":"https://api.github.com/repos/artsy/reaction/issues/216","number":216,"state":"open","locked":false,"title":"@kanaabe => Text component","user":{"login":"eessex","id":1497424,"avatar_url":"https://avatars3.githubusercontent.com/u/1497424?v=4","gravatar_id":"","url":"https://api.github.com/users/eessex","html_url":"https://github.com/eessex","followers_url":"https://api.github.com/users/eessex/followers","following_url":"https://api.github.com/users/eessex/following{/other_user}","gists_url":"https://api.github.com/users/eessex/gists{/gist_id}","starred_url":"https://api.github.com/users/eessex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eessex/subscriptions","organizations_url":"https://api.github.com/users/eessex/orgs","repos_url":"https://api.github.com/users/eessex/repos","events_url":"https://api.github.com/users/eessex/events{/privacy}","received_events_url":"https://api.github.com/users/eessex/received_events","type":"User","site_admin":false},"body":"TextContainer component accepts either html or child component.  Adds text styles for all article layouts, can optionally take a 'postscript' option and render everything in italics. \r\n\r\nStill needs some mobile styles -- will add in a separate PR when confirmed by owen. \r\n\r\nblockquote overflow is not pictured in screenshots, but accounted for in the sectionContainer.\r\n\r\nClassic:\r\n![screen shot 2017-08-10 at 3 30 34 pm](https://user-images.githubusercontent.com/1497424/29188503-3e1c23c6-7de1-11e7-9f19-201a1586cef1.png)\r\n\r\nStandard:\r\n![screen shot 2017-08-10 at 3 31 39 pm](https://user-images.githubusercontent.com/1497424/29188476-2b26273a-7de1-11e7-8bed-0b8f7466b8fe.png)\r\n\r\nFeature:\r\n![screen shot 2017-08-10 at 3 31 26 pm](https://user-images.githubusercontent.com/1497424/29188491-347b6fe8-7de1-11e7-8d78-997c8278489c.png)\r\n","created_at":"2017-08-10T19:06:34Z","updated_at":"2017-08-10T19:58:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"30ee659096b06f9c94ba1549e7cf5ee08347fb73","assignee":{"login":"kanaabe","id":2236794,"avatar_url":"https://avatars3.githubusercontent.com/u/2236794?v=4","gravatar_id":"","url":"https://api.github.com/users/kanaabe","html_url":"https://github.com/kanaabe","followers_url":"https://api.github.com/users/kanaabe/followers","following_url":"https://api.github.com/users/kanaabe/following{/other_user}","gists_url":"https://api.github.com/users/kanaabe/gists{/gist_id}","starred_url":"https://api.github.com/users/kanaabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanaabe/subscriptions","organizations_url":"https://api.github.com/users/kanaabe/orgs","repos_url":"https://api.github.com/users/kanaabe/repos","events_url":"https://api.github.com/users/kanaabe/events{/privacy}","received_events_url":"https://api.github.com/users/kanaabe/received_events","type":"User","site_admin":false},"assignees":[{"login":"kanaabe","id":2236794,"avatar_url":"https://avatars3.githubusercontent.com/u/2236794?v=4","gravatar_id":"","url":"https://api.github.com/users/kanaabe","html_url":"https://github.com/kanaabe","followers_url":"https://api.github.com/users/kanaabe/followers","following_url":"https://api.github.com/users/kanaabe/following{/other_user}","gists_url":"https://api.github.com/users/kanaabe/gists{/gist_id}","starred_url":"https://api.github.com/users/kanaabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanaabe/subscriptions","organizations_url":"https://api.github.com/users/kanaabe/orgs","repos_url":"https://api.github.com/users/kanaabe/repos","events_url":"https://api.github.com/users/kanaabe/events{/privacy}","received_events_url":"https://api.github.com/users/kanaabe/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/artsy/reaction/pulls/216/commits","review_comments_url":"https://api.github.com/repos/artsy/reaction/pulls/216/comments","review_comment_url":"https://api.github.com/repos/artsy/reaction/pulls/comments{/number}","comments_url":"https://api.github.com/repos/artsy/reaction/issues/216/comments","statuses_url":"https://api.github.com/repos/artsy/reaction/statuses/877fa76281cc1f4b373fd23b895ec64483b88703","head":{"label":"eessex:text-component","ref":"text-component","sha":"877fa76281cc1f4b373fd23b895ec64483b88703","user":{"login":"eessex","id":1497424,"avatar_url":"https://avatars3.githubusercontent.com/u/1497424?v=4","gravatar_id":"","url":"https://api.github.com/users/eessex","html_url":"https://github.com/eessex","followers_url":"https://api.github.com/users/eessex/followers","following_url":"https://api.github.com/users/eessex/following{/other_user}","gists_url":"https://api.github.com/users/eessex/gists{/gist_id}","starred_url":"https://api.github.com/users/eessex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eessex/subscriptions","organizations_url":"https://api.github.com/users/eessex/orgs","repos_url":"https://api.github.com/users/eessex/repos","events_url":"https://api.github.com/users/eessex/events{/privacy}","received_events_url":"https://api.github.com/users/eessex/received_events","type":"User","site_admin":false},"repo":{"id":94907425,"name":"reaction","full_name":"eessex/reaction","owner":{"login":"eessex","id":1497424,"avatar_url":"https://avatars3.githubusercontent.com/u/1497424?v=4","gravatar_id":"","url":"https://api.github.com/users/eessex","html_url":"https://github.com/eessex","followers_url":"https://api.github.com/users/eessex/followers","following_url":"https://api.github.com/users/eessex/following{/other_user}","gists_url":"https://api.github.com/users/eessex/gists{/gist_id}","starred_url":"https://api.github.com/users/eessex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eessex/subscriptions","organizations_url":"https://api.github.com/users/eessex/orgs","repos_url":"https://api.github.com/users/eessex/repos","events_url":"https://api.github.com/users/eessex/events{/privacy}","received_events_url":"https://api.github.com/users/eessex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eessex/reaction","description":"Force’s React Components","fork":true,"url":"https://api.github.com/repos/eessex/reaction","forks_url":"https://api.github.com/repos/eessex/reaction/forks","keys_url":"https://api.github.com/repos/eessex/reaction/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eessex/reaction/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eessex/reaction/teams","hooks_url":"https://api.github.com/repos/eessex/reaction/hooks","issue_events_url":"https://api.github.com/repos/eessex/reaction/issues/events{/number}","events_url":"https://api.github.com/repos/eessex/reaction/events","assignees_url":"https://api.github.com/repos/eessex/reaction/assignees{/user}","branches_url":"https://api.github.com/repos/eessex/reaction/branches{/branch}","tags_url":"https://api.github.com/repos/eessex/reaction/tags","blobs_url":"https://api.github.com/repos/eessex/reaction/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eessex/reaction/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eessex/reaction/git/refs{/sha}","trees_url":"https://api.github.com/repos/eessex/reaction/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eessex/reaction/statuses/{sha}","languages_url":"https://api.github.com/repos/eessex/reaction/languages","stargazers_url":"https://api.github.com/repos/eessex/reaction/stargazers","contributors_url":"https://api.github.com/repos/eessex/reaction/contributors","subscribers_url":"https://api.github.com/repos/eessex/reaction/subscribers","subscription_url":"https://api.github.com/repos/eessex/reaction/subscription","commits_url":"https://api.github.com/repos/eessex/reaction/commits{/sha}","git_commits_url":"https://api.github.com/repos/eessex/reaction/git/commits{/sha}","comments_url":"https://api.github.com/repos/eessex/reaction/comments{/number}","issue_comment_url":"https://api.github.com/repos/eessex/reaction/issues/comments{/number}","contents_url":"https://api.github.com/repos/eessex/reaction/contents/{+path}","compare_url":"https://api.github.com/repos/eessex/reaction/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eessex/reaction/merges","archive_url":"https://api.github.com/repos/eessex/reaction/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eessex/reaction/downloads","issues_url":"https://api.github.com/repos/eessex/reaction/issues{/number}","pulls_url":"https://api.github.com/repos/eessex/reaction/pulls{/number}","milestones_url":"https://api.github.com/repos/eessex/reaction/milestones{/number}","notifications_url":"https://api.github.com/repos/eessex/reaction/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eessex/reaction/labels{/name}","releases_url":"https://api.github.com/repos/eessex/reaction/releases{/id}","deployments_url":"https://api.github.com/repos/eessex/reaction/deployments","created_at":"2017-06-20T15:35:46Z","updated_at":"2017-07-20T14:37:32Z","pushed_at":"2017-08-10T19:50:54Z","git_url":"git://github.com/eessex/reaction.git","ssh_url":"git@github.com:eessex/reaction.git","clone_url":"https://github.com/eessex/reaction.git","svn_url":"https://github.com/eessex/reaction","homepage":"https://artsy.github.io/reaction-force","size":6953,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"artsy:master","ref":"master","sha":"5354f9ee6790f74eda8e22a24eb45a56a26ca6f8","user":{"login":"artsy","id":546231,"avatar_url":"https://avatars3.githubusercontent.com/u/546231?v=4","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"repo":{"id":81253735,"name":"reaction","full_name":"artsy/reaction","owner":{"login":"artsy","id":546231,"avatar_url":"https://avatars3.githubusercontent.com/u/546231?v=4","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/artsy/reaction","description":"Artsy’s React Components","fork":false,"url":"https://api.github.com/repos/artsy/reaction","forks_url":"https://api.github.com/repos/artsy/reaction/forks","keys_url":"https://api.github.com/repos/artsy/reaction/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artsy/reaction/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artsy/reaction/teams","hooks_url":"https://api.github.com/repos/artsy/reaction/hooks","issue_events_url":"https://api.github.com/repos/artsy/reaction/issues/events{/number}","events_url":"https://api.github.com/repos/artsy/reaction/events","assignees_url":"https://api.github.com/repos/artsy/reaction/assignees{/user}","branches_url":"https://api.github.com/repos/artsy/reaction/branches{/branch}","tags_url":"https://api.github.com/repos/artsy/reaction/tags","blobs_url":"https://api.github.com/repos/artsy/reaction/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artsy/reaction/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artsy/reaction/git/refs{/sha}","trees_url":"https://api.github.com/repos/artsy/reaction/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artsy/reaction/statuses/{sha}","languages_url":"https://api.github.com/repos/artsy/reaction/languages","stargazers_url":"https://api.github.com/repos/artsy/reaction/stargazers","contributors_url":"https://api.github.com/repos/artsy/reaction/contributors","subscribers_url":"https://api.github.com/repos/artsy/reaction/subscribers","subscription_url":"https://api.github.com/repos/artsy/reaction/subscription","commits_url":"https://api.github.com/repos/artsy/reaction/commits{/sha}","git_commits_url":"https://api.github.com/repos/artsy/reaction/git/commits{/sha}","comments_url":"https://api.github.com/repos/artsy/reaction/comments{/number}","issue_comment_url":"https://api.github.com/repos/artsy/reaction/issues/comments{/number}","contents_url":"https://api.github.com/repos/artsy/reaction/contents/{+path}","compare_url":"https://api.github.com/repos/artsy/reaction/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artsy/reaction/merges","archive_url":"https://api.github.com/repos/artsy/reaction/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artsy/reaction/downloads","issues_url":"https://api.github.com/repos/artsy/reaction/issues{/number}","pulls_url":"https://api.github.com/repos/artsy/reaction/pulls{/number}","milestones_url":"https://api.github.com/repos/artsy/reaction/milestones{/number}","notifications_url":"https://api.github.com/repos/artsy/reaction/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artsy/reaction/labels{/name}","releases_url":"https://api.github.com/repos/artsy/reaction/releases{/id}","deployments_url":"https://api.github.com/repos/artsy/reaction/deployments","created_at":"2017-02-07T21:00:51Z","updated_at":"2017-07-29T04:57:39Z","pushed_at":"2017-08-10T19:50:55Z","git_url":"git://github.com/artsy/reaction.git","ssh_url":"git@github.com:artsy/reaction.git","clone_url":"https://github.com/artsy/reaction.git","svn_url":"https://github.com/artsy/reaction","homepage":"https://artsy.github.io/reaction","size":6269,"stargazers_count":19,"watchers_count":19,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":12,"forks":8,"open_issues":12,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/artsy/reaction/pulls/216"},"html":{"href":"https://github.com/artsy/reaction/pull/216"},"issue":{"href":"https://api.github.com/repos/artsy/reaction/issues/216"},"comments":{"href":"https://api.github.com/repos/artsy/reaction/issues/216/comments"},"review_comments":{"href":"https://api.github.com/repos/artsy/reaction/pulls/216/comments"},"review_comment":{"href":"https://api.github.com/repos/artsy/reaction/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/artsy/reaction/pulls/216/commits"},"statuses":{"href":"https://api.github.com/repos/artsy/reaction/statuses/877fa76281cc1f4b373fd23b895ec64483b88703"}}}}
{"actor":{"display_login":"eessex"}}