{"action":"created","comment":{"url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/pulls/comments/136702846","pull_request_review_id":60282642,"id":136702846,"diff_hunk":"@@ -10,29 +12,78 @@ import Header from './Header';\n import Footer from './Footer';\n import Product from './Product/View';\n import Products from './Product/List';\n+import MobileMenu from './Header/MobileMenu';\n+import MobileMenuStep2 from './Header/MobileMenuStep2';\n \n addLocaleData([...en, ...ru]);\n \n-export default () =>\n-  (<IntlProvider locale=\"ru\">\n-    <div>\n-      <Helmet>\n-        <title>Long Cotton Gabardine Car Coat | Men - Burberry</title>\n-        <meta name=\"description\" content=\"Welcome to burberry.com\" />\n-      </Helmet>\n-      <Router>\n-        <div>\n-          <Header />\n-          <div className=\"App\">\n-            <Switch>\n-              <Route exact path=\"/:section\" component={Products} />\n-              <Route exact path=\"/:section/:category\" component={Products} />\n-              <Route path=\"/:section/:category/:id\" component={Product} />\n-              <Redirect from=\"/\" to=\"/men/clothes\" />\n-            </Switch>\n-          </div>\n-          <Footer />\n-        </div>\n-      </Router>\n-    </div>\n-  </IntlProvider>);\n+const Page = styled.div`overflow-x: hidden;`;\n+\n+const Wrapper = styled.div`\n+  transform: ${props => (props.menuOpened ? 'translateX(274px);' : 'transform: translateX(0);')};\n+  transition: transform 0.2s ease-in;\n+  overflow-x: hidden;\n+`;\n+\n+class App extends Component {\n+  constructor() {\n+    super();\n+    this.state = {\n+      isMobileMenuOpened: false,\n+      isStepTwoOpened: false,\n+    };\n+    this.openMenu = this.openMenu.bind(this);\n+    this.openStepTwo = this.openStepTwo.bind(this);\n+  }\n+\n+  openMenu() {\n+    this.setState(prevState => ({\n+      isMobileMenuOpened: !prevState.isMobileMenuOpened,\n+    }));\n+  }\n+\n+  openStepTwo() {\n+    this.setState(prevState => ({\n+      isStepTwoOpened: !prevState.isStepTwoOpened,\n+    }));\n+  }\n+\n+  render() {\n+    return (\n+      <IntlProvider locale=\"ru\">\n+        <Page>\n+          <Helmet>\n+            <title>Long Cotton Gabardine Car Coat | Men - Burberry</title>\n+            <meta name=\"description\" content=\"Welcome to burberry.com\" />\n+          </Helmet>\n+          <Router>\n+            <div>\n+              <MobileMenu\n+                menuOpened={this.state.isMobileMenuOpened}\n+                openStepTwo={this.openStepTwo}\n+              />\n+              <MobileMenuStep2","path":"src/App.jsx","position":85,"original_position":85,"commit_id":"bd434cff5b07baa6b55c2005b497c44551ada632","original_commit_id":"bd434cff5b07baa6b55c2005b497c44551ada632","user":{"login":"evgenyrodionov","id":775692,"avatar_url":"https://avatars1.githubusercontent.com/u/775692?v=4","gravatar_id":"","url":"https://api.github.com/users/evgenyrodionov","html_url":"https://github.com/evgenyrodionov","followers_url":"https://api.github.com/users/evgenyrodionov/followers","following_url":"https://api.github.com/users/evgenyrodionov/following{/other_user}","gists_url":"https://api.github.com/users/evgenyrodionov/gists{/gist_id}","starred_url":"https://api.github.com/users/evgenyrodionov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evgenyrodionov/subscriptions","organizations_url":"https://api.github.com/users/evgenyrodionov/orgs","repos_url":"https://api.github.com/users/evgenyrodionov/repos","events_url":"https://api.github.com/users/evgenyrodionov/events{/privacy}","received_events_url":"https://api.github.com/users/evgenyrodionov/received_events","type":"User","site_admin":false},"body":"это в меню должно быть вообще-то, внутри","created_at":"2017-09-02T20:04:58Z","updated_at":"2017-09-02T20:10:55Z","html_url":"https://github.com/flkrasnov/fake-burrberry-frontend/pull/12#discussion_r136702846","pull_request_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/pulls/12","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/pulls/comments/136702846"},"html":{"href":"https://github.com/flkrasnov/fake-burrberry-frontend/pull/12#discussion_r136702846"},"pull_request":{"href":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/pulls/12","id":138168237,"html_url":"https://github.com/flkrasnov/fake-burrberry-frontend/pull/12","diff_url":"https://github.com/flkrasnov/fake-burrberry-frontend/pull/12.diff","patch_url":"https://github.com/flkrasnov/fake-burrberry-frontend/pull/12.patch","issue_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/issues/12","number":12,"state":"open","locked":false,"title":"Adding interactivity to components","user":{"login":"flkrasnov","id":20321152,"avatar_url":"https://avatars3.githubusercontent.com/u/20321152?v=4","gravatar_id":"","url":"https://api.github.com/users/flkrasnov","html_url":"https://github.com/flkrasnov","followers_url":"https://api.github.com/users/flkrasnov/followers","following_url":"https://api.github.com/users/flkrasnov/following{/other_user}","gists_url":"https://api.github.com/users/flkrasnov/gists{/gist_id}","starred_url":"https://api.github.com/users/flkrasnov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flkrasnov/subscriptions","organizations_url":"https://api.github.com/users/flkrasnov/orgs","repos_url":"https://api.github.com/users/flkrasnov/repos","events_url":"https://api.github.com/users/flkrasnov/events{/privacy}","received_events_url":"https://api.github.com/users/flkrasnov/received_events","type":"User","site_admin":false},"body":"исправил ситуацию с коммитами:\r\nсделал новую ветку dev и закинул нужные коммиты через cherry-pick\r\n\r\nhttps://krasnov-burberry-fake-shop-for-study-dev.now.sh/","created_at":"2017-08-29T12:37:49Z","updated_at":"2017-09-02T20:10:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c790b40c151da25af582c79fd972b372d874c77e","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/pulls/12/commits","review_comments_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/pulls/12/comments","review_comment_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/issues/12/comments","statuses_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/statuses/bd434cff5b07baa6b55c2005b497c44551ada632","head":{"label":"flkrasnov:dev","ref":"dev","sha":"bd434cff5b07baa6b55c2005b497c44551ada632","user":{"login":"flkrasnov","id":20321152,"avatar_url":"https://avatars3.githubusercontent.com/u/20321152?v=4","gravatar_id":"","url":"https://api.github.com/users/flkrasnov","html_url":"https://github.com/flkrasnov","followers_url":"https://api.github.com/users/flkrasnov/followers","following_url":"https://api.github.com/users/flkrasnov/following{/other_user}","gists_url":"https://api.github.com/users/flkrasnov/gists{/gist_id}","starred_url":"https://api.github.com/users/flkrasnov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flkrasnov/subscriptions","organizations_url":"https://api.github.com/users/flkrasnov/orgs","repos_url":"https://api.github.com/users/flkrasnov/repos","events_url":"https://api.github.com/users/flkrasnov/events{/privacy}","received_events_url":"https://api.github.com/users/flkrasnov/received_events","type":"User","site_admin":false},"repo":{"id":98683441,"name":"fake-burrberry-frontend","full_name":"flkrasnov/fake-burrberry-frontend","owner":{"login":"flkrasnov","id":20321152,"avatar_url":"https://avatars3.githubusercontent.com/u/20321152?v=4","gravatar_id":"","url":"https://api.github.com/users/flkrasnov","html_url":"https://github.com/flkrasnov","followers_url":"https://api.github.com/users/flkrasnov/followers","following_url":"https://api.github.com/users/flkrasnov/following{/other_user}","gists_url":"https://api.github.com/users/flkrasnov/gists{/gist_id}","starred_url":"https://api.github.com/users/flkrasnov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flkrasnov/subscriptions","organizations_url":"https://api.github.com/users/flkrasnov/orgs","repos_url":"https://api.github.com/users/flkrasnov/repos","events_url":"https://api.github.com/users/flkrasnov/events{/privacy}","received_events_url":"https://api.github.com/users/flkrasnov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/flkrasnov/fake-burrberry-frontend","description":"Burberry.com react clone","fork":false,"url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend","forks_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/forks","keys_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/teams","hooks_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/hooks","issue_events_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/events","assignees_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/tags","blobs_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/languages","stargazers_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/stargazers","contributors_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/contributors","subscribers_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/subscribers","subscription_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/subscription","commits_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/merges","archive_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/downloads","issues_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/labels{/name}","releases_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/deployments","created_at":"2017-07-28T20:00:07Z","updated_at":"2017-08-13T17:47:46Z","pushed_at":"2017-09-02T16:49:50Z","git_url":"git://github.com/flkrasnov/fake-burrberry-frontend.git","ssh_url":"git@github.com:flkrasnov/fake-burrberry-frontend.git","clone_url":"https://github.com/flkrasnov/fake-burrberry-frontend.git","svn_url":"https://github.com/flkrasnov/fake-burrberry-frontend","homepage":null,"size":5668,"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":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"flkrasnov:master","ref":"master","sha":"7b4df448692e127464a293c0adfe79f889617e8a","user":{"login":"flkrasnov","id":20321152,"avatar_url":"https://avatars3.githubusercontent.com/u/20321152?v=4","gravatar_id":"","url":"https://api.github.com/users/flkrasnov","html_url":"https://github.com/flkrasnov","followers_url":"https://api.github.com/users/flkrasnov/followers","following_url":"https://api.github.com/users/flkrasnov/following{/other_user}","gists_url":"https://api.github.com/users/flkrasnov/gists{/gist_id}","starred_url":"https://api.github.com/users/flkrasnov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flkrasnov/subscriptions","organizations_url":"https://api.github.com/users/flkrasnov/orgs","repos_url":"https://api.github.com/users/flkrasnov/repos","events_url":"https://api.github.com/users/flkrasnov/events{/privacy}","received_events_url":"https://api.github.com/users/flkrasnov/received_events","type":"User","site_admin":false},"repo":{"id":98683441,"name":"fake-burrberry-frontend","full_name":"flkrasnov/fake-burrberry-frontend","owner":{"login":"flkrasnov","id":20321152,"avatar_url":"https://avatars3.githubusercontent.com/u/20321152?v=4","gravatar_id":"","url":"https://api.github.com/users/flkrasnov","html_url":"https://github.com/flkrasnov","followers_url":"https://api.github.com/users/flkrasnov/followers","following_url":"https://api.github.com/users/flkrasnov/following{/other_user}","gists_url":"https://api.github.com/users/flkrasnov/gists{/gist_id}","starred_url":"https://api.github.com/users/flkrasnov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flkrasnov/subscriptions","organizations_url":"https://api.github.com/users/flkrasnov/orgs","repos_url":"https://api.github.com/users/flkrasnov/repos","events_url":"https://api.github.com/users/flkrasnov/events{/privacy}","received_events_url":"https://api.github.com/users/flkrasnov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/flkrasnov/fake-burrberry-frontend","description":"Burberry.com react clone","fork":false,"url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend","forks_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/forks","keys_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/teams","hooks_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/hooks","issue_events_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/events","assignees_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/tags","blobs_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/languages","stargazers_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/stargazers","contributors_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/contributors","subscribers_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/subscribers","subscription_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/subscription","commits_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/merges","archive_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/downloads","issues_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/labels{/name}","releases_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/deployments","created_at":"2017-07-28T20:00:07Z","updated_at":"2017-08-13T17:47:46Z","pushed_at":"2017-09-02T16:49:50Z","git_url":"git://github.com/flkrasnov/fake-burrberry-frontend.git","ssh_url":"git@github.com:flkrasnov/fake-burrberry-frontend.git","clone_url":"https://github.com/flkrasnov/fake-burrberry-frontend.git","svn_url":"https://github.com/flkrasnov/fake-burrberry-frontend","homepage":null,"size":5668,"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":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/pulls/12"},"html":{"href":"https://github.com/flkrasnov/fake-burrberry-frontend/pull/12"},"issue":{"href":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/issues/12"},"comments":{"href":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/flkrasnov/fake-burrberry-frontend/statuses/bd434cff5b07baa6b55c2005b497c44551ada632"}},"author_association":"OWNER"}}
{"actor":{"display_login":"evgenyrodionov"}}