{"action":"created","comment":{"url":"https://api.github.com/repos/vtex-apps/carousel/pulls/comments/182450785","pull_request_review_id":113247837,"id":182450785,"diff_hunk":"@@ -7,57 +7,51 @@ import { Link } from 'render'\n  */\n class Banner extends Component {\n   render() {\n-    const { image, page, description, targetParams } = this.props\n+    const {\n+      image,\n+      page,\n+      description,\n+      targetParams,\n+      mobileImage,\n+      mobileHeight,\n+    } = this.props\n \n     return (\n       <div>\n         <Link page={page} params={targetParams}>\n-          <img width=\"100%\" src={image} alt={description}/>\n+          <div className=\"img-container\">\n+            <img\n+              width=\"100%\"","path":"react/Banner.js","position":20,"original_position":20,"commit_id":"9fb410267a687d20b4f744aec0fbde09139c7819","original_commit_id":"9fb410267a687d20b4f744aec0fbde09139c7819","user":{"login":"salesfelipe","id":3926634,"avatar_url":"https://avatars1.githubusercontent.com/u/3926634?v=4","gravatar_id":"","url":"https://api.github.com/users/salesfelipe","html_url":"https://github.com/salesfelipe","followers_url":"https://api.github.com/users/salesfelipe/followers","following_url":"https://api.github.com/users/salesfelipe/following{/other_user}","gists_url":"https://api.github.com/users/salesfelipe/gists{/gist_id}","starred_url":"https://api.github.com/users/salesfelipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salesfelipe/subscriptions","organizations_url":"https://api.github.com/users/salesfelipe/orgs","repos_url":"https://api.github.com/users/salesfelipe/repos","events_url":"https://api.github.com/users/salesfelipe/events{/privacy}","received_events_url":"https://api.github.com/users/salesfelipe/received_events","type":"User","site_admin":false},"body":"👍 ","created_at":"2018-04-18T14:37:24Z","updated_at":"2018-04-18T14:37:24Z","html_url":"https://github.com/vtex-apps/carousel/pull/2#discussion_r182450785","pull_request_url":"https://api.github.com/repos/vtex-apps/carousel/pulls/2","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/vtex-apps/carousel/pulls/comments/182450785"},"html":{"href":"https://github.com/vtex-apps/carousel/pull/2#discussion_r182450785"},"pull_request":{"href":"https://api.github.com/repos/vtex-apps/carousel/pulls/2"}},"in_reply_to_id":182431983},"pull_request":{"url":"https://api.github.com/repos/vtex-apps/carousel/pulls/2","id":182466604,"html_url":"https://github.com/vtex-apps/carousel/pull/2","diff_url":"https://github.com/vtex-apps/carousel/pull/2.diff","patch_url":"https://github.com/vtex-apps/carousel/pull/2.patch","issue_url":"https://api.github.com/repos/vtex-apps/carousel/issues/2","number":2,"state":"open","locked":false,"title":"Custom CSS classes and mobile image attribute","user":{"login":"salesfelipe","id":3926634,"avatar_url":"https://avatars1.githubusercontent.com/u/3926634?v=4","gravatar_id":"","url":"https://api.github.com/users/salesfelipe","html_url":"https://github.com/salesfelipe","followers_url":"https://api.github.com/users/salesfelipe/followers","following_url":"https://api.github.com/users/salesfelipe/following{/other_user}","gists_url":"https://api.github.com/users/salesfelipe/gists{/gist_id}","starred_url":"https://api.github.com/users/salesfelipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salesfelipe/subscriptions","organizations_url":"https://api.github.com/users/salesfelipe/orgs","repos_url":"https://api.github.com/users/salesfelipe/repos","events_url":"https://api.github.com/users/salesfelipe/events{/privacy}","received_events_url":"https://api.github.com/users/salesfelipe/received_events","type":"User","site_admin":false},"body":"#### What is the purpose of this pull request?\r\nExtends the carousel component adding the mobile image attribute and adds specific CSS classes to the subcomponents(arrow, dots).\r\n\r\n#### What problem is this solving?\r\nDisplays another image when the user is on a mobile device and give to the developers that are using this component the ability to customize its CSS using its own specific classes. \r\n\r\n#### How should this be manually tested?\r\n\r\nhttps://carousel--storecomponents.myvtex.com/test\r\n\r\n#### Screenshots or example usage\r\n\r\n![image](https://user-images.githubusercontent.com/3926634/38932503-cfe93ca0-42ec-11e8-8eae-36c54ef258e1.png)\r\n\r\n\r\n#### Types of changes\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [x] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n- [ ] Requires change to documentation, which has been updated accordingly.\r\n","created_at":"2018-04-18T12:44:39Z","updated_at":"2018-04-18T14:37:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"baab0798d98310f9491995da8a91f715abb74c35","assignee":{"login":"salesfelipe","id":3926634,"avatar_url":"https://avatars1.githubusercontent.com/u/3926634?v=4","gravatar_id":"","url":"https://api.github.com/users/salesfelipe","html_url":"https://github.com/salesfelipe","followers_url":"https://api.github.com/users/salesfelipe/followers","following_url":"https://api.github.com/users/salesfelipe/following{/other_user}","gists_url":"https://api.github.com/users/salesfelipe/gists{/gist_id}","starred_url":"https://api.github.com/users/salesfelipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salesfelipe/subscriptions","organizations_url":"https://api.github.com/users/salesfelipe/orgs","repos_url":"https://api.github.com/users/salesfelipe/repos","events_url":"https://api.github.com/users/salesfelipe/events{/privacy}","received_events_url":"https://api.github.com/users/salesfelipe/received_events","type":"User","site_admin":false},"assignees":[{"login":"salesfelipe","id":3926634,"avatar_url":"https://avatars1.githubusercontent.com/u/3926634?v=4","gravatar_id":"","url":"https://api.github.com/users/salesfelipe","html_url":"https://github.com/salesfelipe","followers_url":"https://api.github.com/users/salesfelipe/followers","following_url":"https://api.github.com/users/salesfelipe/following{/other_user}","gists_url":"https://api.github.com/users/salesfelipe/gists{/gist_id}","starred_url":"https://api.github.com/users/salesfelipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salesfelipe/subscriptions","organizations_url":"https://api.github.com/users/salesfelipe/orgs","repos_url":"https://api.github.com/users/salesfelipe/repos","events_url":"https://api.github.com/users/salesfelipe/events{/privacy}","received_events_url":"https://api.github.com/users/salesfelipe/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vtex-apps/carousel/pulls/2/commits","review_comments_url":"https://api.github.com/repos/vtex-apps/carousel/pulls/2/comments","review_comment_url":"https://api.github.com/repos/vtex-apps/carousel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vtex-apps/carousel/issues/2/comments","statuses_url":"https://api.github.com/repos/vtex-apps/carousel/statuses/9fb410267a687d20b4f744aec0fbde09139c7819","head":{"label":"salesfelipe:master","ref":"master","sha":"9fb410267a687d20b4f744aec0fbde09139c7819","user":{"login":"salesfelipe","id":3926634,"avatar_url":"https://avatars1.githubusercontent.com/u/3926634?v=4","gravatar_id":"","url":"https://api.github.com/users/salesfelipe","html_url":"https://github.com/salesfelipe","followers_url":"https://api.github.com/users/salesfelipe/followers","following_url":"https://api.github.com/users/salesfelipe/following{/other_user}","gists_url":"https://api.github.com/users/salesfelipe/gists{/gist_id}","starred_url":"https://api.github.com/users/salesfelipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salesfelipe/subscriptions","organizations_url":"https://api.github.com/users/salesfelipe/orgs","repos_url":"https://api.github.com/users/salesfelipe/repos","events_url":"https://api.github.com/users/salesfelipe/events{/privacy}","received_events_url":"https://api.github.com/users/salesfelipe/received_events","type":"User","site_admin":false},"repo":{"id":127836257,"name":"carousel","full_name":"salesfelipe/carousel","owner":{"login":"salesfelipe","id":3926634,"avatar_url":"https://avatars1.githubusercontent.com/u/3926634?v=4","gravatar_id":"","url":"https://api.github.com/users/salesfelipe","html_url":"https://github.com/salesfelipe","followers_url":"https://api.github.com/users/salesfelipe/followers","following_url":"https://api.github.com/users/salesfelipe/following{/other_user}","gists_url":"https://api.github.com/users/salesfelipe/gists{/gist_id}","starred_url":"https://api.github.com/users/salesfelipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salesfelipe/subscriptions","organizations_url":"https://api.github.com/users/salesfelipe/orgs","repos_url":"https://api.github.com/users/salesfelipe/repos","events_url":"https://api.github.com/users/salesfelipe/events{/privacy}","received_events_url":"https://api.github.com/users/salesfelipe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/salesfelipe/carousel","description":"Carousel Component","fork":true,"url":"https://api.github.com/repos/salesfelipe/carousel","forks_url":"https://api.github.com/repos/salesfelipe/carousel/forks","keys_url":"https://api.github.com/repos/salesfelipe/carousel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/salesfelipe/carousel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/salesfelipe/carousel/teams","hooks_url":"https://api.github.com/repos/salesfelipe/carousel/hooks","issue_events_url":"https://api.github.com/repos/salesfelipe/carousel/issues/events{/number}","events_url":"https://api.github.com/repos/salesfelipe/carousel/events","assignees_url":"https://api.github.com/repos/salesfelipe/carousel/assignees{/user}","branches_url":"https://api.github.com/repos/salesfelipe/carousel/branches{/branch}","tags_url":"https://api.github.com/repos/salesfelipe/carousel/tags","blobs_url":"https://api.github.com/repos/salesfelipe/carousel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/salesfelipe/carousel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/salesfelipe/carousel/git/refs{/sha}","trees_url":"https://api.github.com/repos/salesfelipe/carousel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/salesfelipe/carousel/statuses/{sha}","languages_url":"https://api.github.com/repos/salesfelipe/carousel/languages","stargazers_url":"https://api.github.com/repos/salesfelipe/carousel/stargazers","contributors_url":"https://api.github.com/repos/salesfelipe/carousel/contributors","subscribers_url":"https://api.github.com/repos/salesfelipe/carousel/subscribers","subscription_url":"https://api.github.com/repos/salesfelipe/carousel/subscription","commits_url":"https://api.github.com/repos/salesfelipe/carousel/commits{/sha}","git_commits_url":"https://api.github.com/repos/salesfelipe/carousel/git/commits{/sha}","comments_url":"https://api.github.com/repos/salesfelipe/carousel/comments{/number}","issue_comment_url":"https://api.github.com/repos/salesfelipe/carousel/issues/comments{/number}","contents_url":"https://api.github.com/repos/salesfelipe/carousel/contents/{+path}","compare_url":"https://api.github.com/repos/salesfelipe/carousel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/salesfelipe/carousel/merges","archive_url":"https://api.github.com/repos/salesfelipe/carousel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/salesfelipe/carousel/downloads","issues_url":"https://api.github.com/repos/salesfelipe/carousel/issues{/number}","pulls_url":"https://api.github.com/repos/salesfelipe/carousel/pulls{/number}","milestones_url":"https://api.github.com/repos/salesfelipe/carousel/milestones{/number}","notifications_url":"https://api.github.com/repos/salesfelipe/carousel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/salesfelipe/carousel/labels{/name}","releases_url":"https://api.github.com/repos/salesfelipe/carousel/releases{/id}","deployments_url":"https://api.github.com/repos/salesfelipe/carousel/deployments","created_at":"2018-04-03T01:58:23Z","updated_at":"2018-04-18T12:03:05Z","pushed_at":"2018-04-18T12:03:04Z","git_url":"git://github.com/salesfelipe/carousel.git","ssh_url":"git@github.com:salesfelipe/carousel.git","clone_url":"https://github.com/salesfelipe/carousel.git","svn_url":"https://github.com/salesfelipe/carousel","homepage":null,"size":528,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vtex-apps:master","ref":"master","sha":"076631a27ffbc617fd33d3713858b843ebf06ec7","user":{"login":"vtex-apps","id":12614072,"avatar_url":"https://avatars0.githubusercontent.com/u/12614072?v=4","gravatar_id":"","url":"https://api.github.com/users/vtex-apps","html_url":"https://github.com/vtex-apps","followers_url":"https://api.github.com/users/vtex-apps/followers","following_url":"https://api.github.com/users/vtex-apps/following{/other_user}","gists_url":"https://api.github.com/users/vtex-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/vtex-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtex-apps/subscriptions","organizations_url":"https://api.github.com/users/vtex-apps/orgs","repos_url":"https://api.github.com/users/vtex-apps/repos","events_url":"https://api.github.com/users/vtex-apps/events{/privacy}","received_events_url":"https://api.github.com/users/vtex-apps/received_events","type":"Organization","site_admin":false},"repo":{"id":127786515,"name":"carousel","full_name":"vtex-apps/carousel","owner":{"login":"vtex-apps","id":12614072,"avatar_url":"https://avatars0.githubusercontent.com/u/12614072?v=4","gravatar_id":"","url":"https://api.github.com/users/vtex-apps","html_url":"https://github.com/vtex-apps","followers_url":"https://api.github.com/users/vtex-apps/followers","following_url":"https://api.github.com/users/vtex-apps/following{/other_user}","gists_url":"https://api.github.com/users/vtex-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/vtex-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtex-apps/subscriptions","organizations_url":"https://api.github.com/users/vtex-apps/orgs","repos_url":"https://api.github.com/users/vtex-apps/repos","events_url":"https://api.github.com/users/vtex-apps/events{/privacy}","received_events_url":"https://api.github.com/users/vtex-apps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vtex-apps/carousel","description":"Carousel Component","fork":false,"url":"https://api.github.com/repos/vtex-apps/carousel","forks_url":"https://api.github.com/repos/vtex-apps/carousel/forks","keys_url":"https://api.github.com/repos/vtex-apps/carousel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vtex-apps/carousel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vtex-apps/carousel/teams","hooks_url":"https://api.github.com/repos/vtex-apps/carousel/hooks","issue_events_url":"https://api.github.com/repos/vtex-apps/carousel/issues/events{/number}","events_url":"https://api.github.com/repos/vtex-apps/carousel/events","assignees_url":"https://api.github.com/repos/vtex-apps/carousel/assignees{/user}","branches_url":"https://api.github.com/repos/vtex-apps/carousel/branches{/branch}","tags_url":"https://api.github.com/repos/vtex-apps/carousel/tags","blobs_url":"https://api.github.com/repos/vtex-apps/carousel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vtex-apps/carousel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vtex-apps/carousel/git/refs{/sha}","trees_url":"https://api.github.com/repos/vtex-apps/carousel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vtex-apps/carousel/statuses/{sha}","languages_url":"https://api.github.com/repos/vtex-apps/carousel/languages","stargazers_url":"https://api.github.com/repos/vtex-apps/carousel/stargazers","contributors_url":"https://api.github.com/repos/vtex-apps/carousel/contributors","subscribers_url":"https://api.github.com/repos/vtex-apps/carousel/subscribers","subscription_url":"https://api.github.com/repos/vtex-apps/carousel/subscription","commits_url":"https://api.github.com/repos/vtex-apps/carousel/commits{/sha}","git_commits_url":"https://api.github.com/repos/vtex-apps/carousel/git/commits{/sha}","comments_url":"https://api.github.com/repos/vtex-apps/carousel/comments{/number}","issue_comment_url":"https://api.github.com/repos/vtex-apps/carousel/issues/comments{/number}","contents_url":"https://api.github.com/repos/vtex-apps/carousel/contents/{+path}","compare_url":"https://api.github.com/repos/vtex-apps/carousel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vtex-apps/carousel/merges","archive_url":"https://api.github.com/repos/vtex-apps/carousel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vtex-apps/carousel/downloads","issues_url":"https://api.github.com/repos/vtex-apps/carousel/issues{/number}","pulls_url":"https://api.github.com/repos/vtex-apps/carousel/pulls{/number}","milestones_url":"https://api.github.com/repos/vtex-apps/carousel/milestones{/number}","notifications_url":"https://api.github.com/repos/vtex-apps/carousel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vtex-apps/carousel/labels{/name}","releases_url":"https://api.github.com/repos/vtex-apps/carousel/releases{/id}","deployments_url":"https://api.github.com/repos/vtex-apps/carousel/deployments","created_at":"2018-04-02T17:05:16Z","updated_at":"2018-04-09T20:01:22Z","pushed_at":"2018-04-18T12:44:41Z","git_url":"git://github.com/vtex-apps/carousel.git","ssh_url":"git@github.com:vtex-apps/carousel.git","clone_url":"https://github.com/vtex-apps/carousel.git","svn_url":"https://github.com/vtex-apps/carousel","homepage":null,"size":76,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vtex-apps/carousel/pulls/2"},"html":{"href":"https://github.com/vtex-apps/carousel/pull/2"},"issue":{"href":"https://api.github.com/repos/vtex-apps/carousel/issues/2"},"comments":{"href":"https://api.github.com/repos/vtex-apps/carousel/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/vtex-apps/carousel/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/vtex-apps/carousel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vtex-apps/carousel/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/vtex-apps/carousel/statuses/9fb410267a687d20b4f744aec0fbde09139c7819"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"salesfelipe"}}