{"action":"created","comment":{"url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/pulls/comments/168443136","pull_request_review_id":96806720,"id":168443136,"diff_hunk":"@@ -0,0 +1,241 @@\n+import React, { Component } from 'react';\n+import styled from 'styled-components';\n+import media from './../common/media';\n+import arrows from './../assets/arrows.svg';\n+import arrow from './../assets/arrow.svg';\n+import calendar from './../assets/calendar.svg';\n+import plane from './../assets/plane.svg';\n+\n+const Wrapper = styled.div`\n+  margin-bottom: 48px;\n+  border-radius: 3px;\n+  overflow: hidden;\n+  display: flex;\n+\n+  @media screen and (max-width: ${media.sm}) {\n+    margin-bottom: 16px;\n+    flex-wrap: wrap;\n+  }\n+`;\n+\n+const ButtonToggleCity = styled.button`\n+  position: absolute;\n+  top: 19px;\n+  right: 16px;\n+  display: block;\n+  width: 16px;\n+  height: 18px;\n+  background-image: url(${arrows});\n+  background-size: cover;\n+`;\n+\n+const PassengersButton = styled.button`\n+  padding: 18px 16px;\n+  position: relative;\n+  width: 212px;\n+  text-align: left;\n+\n+  &::before {\n+    content: '';\n+    display: block;\n+    width: 10px;\n+    height: 5px;\n+    right: 16px;\n+    top: 24px;\n+    position: absolute;\n+    background-image: url(${arrow});\n+  }\n+\n+  @media screen and (max-width: ${media.sm}) {\n+    width: 100%;\n+  }\n+`;\n+\n+const SubmitButton = styled.button`\n+  display: inline-block;\n+  margin: 0 auto;\n+  padding: 16px 0;\n+  border-radius: 4px;\n+  background-color: #ff9241;\n+  text-align: center;\n+  color: #fff;\n+  font-size: 24px;\n+  font-weight: 700;\n+\n+  @media screen and (max-width: ${media.sm}) {\n+    width: 100%;\n+  }\n+  )\n+\n+  &::before {\n+    content: '';\n+    position: absolute;\n+    display: block;\n+  }\n+`;\n+\n+const Icon = styled.img`\n+  display: inline-block;\n+  width: 25px;\n+  height: 20px;\n+  margin-left: 16px;\n+`;\n+\n+const InputWrapper = styled.div`\n+  position: relative;\n+  margin-right: 2px;\n+  background: #fff;\n+\n+  &:last-child {\n+    margin-right: 0;\n+    margin-bottom: 0;\n+  }\n+\n+  ${props =>\n+    props.lg &&\n+    `\n+    @media screen and (max-width: ${media.sm}) {","path":"src/Header/Form.js","position":97,"original_position":97,"commit_id":"176a5a4afb23cb44c9248f4888a2f55db2e1f8d0","original_commit_id":"176a5a4afb23cb44c9248f4888a2f55db2e1f8d0","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":"мы не используем max-width в медиакверис, потому что mobile first подход","created_at":"2018-02-15T11:03:04Z","updated_at":"2018-02-15T11:05:15Z","html_url":"https://github.com/lysycyn/aviasales-demo-frontend/pull/1#discussion_r168443136","pull_request_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/pulls/1","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/pulls/comments/168443136"},"html":{"href":"https://github.com/lysycyn/aviasales-demo-frontend/pull/1#discussion_r168443136"},"pull_request":{"href":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/pulls/1","id":169050949,"html_url":"https://github.com/lysycyn/aviasales-demo-frontend/pull/1","diff_url":"https://github.com/lysycyn/aviasales-demo-frontend/pull/1.diff","patch_url":"https://github.com/lysycyn/aviasales-demo-frontend/pull/1.patch","issue_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/issues/1","number":1,"state":"open","locked":false,"title":"Feat/main page","user":{"login":"lysycyn","id":11897684,"avatar_url":"https://avatars2.githubusercontent.com/u/11897684?v=4","gravatar_id":"","url":"https://api.github.com/users/lysycyn","html_url":"https://github.com/lysycyn","followers_url":"https://api.github.com/users/lysycyn/followers","following_url":"https://api.github.com/users/lysycyn/following{/other_user}","gists_url":"https://api.github.com/users/lysycyn/gists{/gist_id}","starred_url":"https://api.github.com/users/lysycyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lysycyn/subscriptions","organizations_url":"https://api.github.com/users/lysycyn/orgs","repos_url":"https://api.github.com/users/lysycyn/repos","events_url":"https://api.github.com/users/lysycyn/events{/privacy}","received_events_url":"https://api.github.com/users/lysycyn/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-14T08:50:54Z","updated_at":"2018-02-15T11:05:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"313d8570c84d7d0b16cdffcc6f77f3740680ee45","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/pulls/1/commits","review_comments_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/pulls/1/comments","review_comment_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/issues/1/comments","statuses_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/statuses/176a5a4afb23cb44c9248f4888a2f55db2e1f8d0","head":{"label":"lysycyn:feat/main-page","ref":"feat/main-page","sha":"176a5a4afb23cb44c9248f4888a2f55db2e1f8d0","user":{"login":"lysycyn","id":11897684,"avatar_url":"https://avatars2.githubusercontent.com/u/11897684?v=4","gravatar_id":"","url":"https://api.github.com/users/lysycyn","html_url":"https://github.com/lysycyn","followers_url":"https://api.github.com/users/lysycyn/followers","following_url":"https://api.github.com/users/lysycyn/following{/other_user}","gists_url":"https://api.github.com/users/lysycyn/gists{/gist_id}","starred_url":"https://api.github.com/users/lysycyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lysycyn/subscriptions","organizations_url":"https://api.github.com/users/lysycyn/orgs","repos_url":"https://api.github.com/users/lysycyn/repos","events_url":"https://api.github.com/users/lysycyn/events{/privacy}","received_events_url":"https://api.github.com/users/lysycyn/received_events","type":"User","site_admin":false},"repo":{"id":121226738,"name":"aviasales-demo-frontend","full_name":"lysycyn/aviasales-demo-frontend","owner":{"login":"lysycyn","id":11897684,"avatar_url":"https://avatars2.githubusercontent.com/u/11897684?v=4","gravatar_id":"","url":"https://api.github.com/users/lysycyn","html_url":"https://github.com/lysycyn","followers_url":"https://api.github.com/users/lysycyn/followers","following_url":"https://api.github.com/users/lysycyn/following{/other_user}","gists_url":"https://api.github.com/users/lysycyn/gists{/gist_id}","starred_url":"https://api.github.com/users/lysycyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lysycyn/subscriptions","organizations_url":"https://api.github.com/users/lysycyn/orgs","repos_url":"https://api.github.com/users/lysycyn/repos","events_url":"https://api.github.com/users/lysycyn/events{/privacy}","received_events_url":"https://api.github.com/users/lysycyn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lysycyn/aviasales-demo-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend","forks_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/forks","keys_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/teams","hooks_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/hooks","issue_events_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/events","assignees_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/tags","blobs_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/languages","stargazers_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/stargazers","contributors_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/contributors","subscribers_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/subscribers","subscription_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/subscription","commits_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/merges","archive_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/downloads","issues_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/labels{/name}","releases_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/deployments","created_at":"2018-02-12T09:31:47Z","updated_at":"2018-02-12T09:40:54Z","pushed_at":"2018-02-14T08:50:55Z","git_url":"git://github.com/lysycyn/aviasales-demo-frontend.git","ssh_url":"git@github.com:lysycyn/aviasales-demo-frontend.git","clone_url":"https://github.com/lysycyn/aviasales-demo-frontend.git","svn_url":"https://github.com/lysycyn/aviasales-demo-frontend","homepage":null,"size":451,"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,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"lysycyn:master","ref":"master","sha":"0d29580b8b75fe5e05228cad3a1e4cc6503c3656","user":{"login":"lysycyn","id":11897684,"avatar_url":"https://avatars2.githubusercontent.com/u/11897684?v=4","gravatar_id":"","url":"https://api.github.com/users/lysycyn","html_url":"https://github.com/lysycyn","followers_url":"https://api.github.com/users/lysycyn/followers","following_url":"https://api.github.com/users/lysycyn/following{/other_user}","gists_url":"https://api.github.com/users/lysycyn/gists{/gist_id}","starred_url":"https://api.github.com/users/lysycyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lysycyn/subscriptions","organizations_url":"https://api.github.com/users/lysycyn/orgs","repos_url":"https://api.github.com/users/lysycyn/repos","events_url":"https://api.github.com/users/lysycyn/events{/privacy}","received_events_url":"https://api.github.com/users/lysycyn/received_events","type":"User","site_admin":false},"repo":{"id":121226738,"name":"aviasales-demo-frontend","full_name":"lysycyn/aviasales-demo-frontend","owner":{"login":"lysycyn","id":11897684,"avatar_url":"https://avatars2.githubusercontent.com/u/11897684?v=4","gravatar_id":"","url":"https://api.github.com/users/lysycyn","html_url":"https://github.com/lysycyn","followers_url":"https://api.github.com/users/lysycyn/followers","following_url":"https://api.github.com/users/lysycyn/following{/other_user}","gists_url":"https://api.github.com/users/lysycyn/gists{/gist_id}","starred_url":"https://api.github.com/users/lysycyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lysycyn/subscriptions","organizations_url":"https://api.github.com/users/lysycyn/orgs","repos_url":"https://api.github.com/users/lysycyn/repos","events_url":"https://api.github.com/users/lysycyn/events{/privacy}","received_events_url":"https://api.github.com/users/lysycyn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lysycyn/aviasales-demo-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend","forks_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/forks","keys_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/teams","hooks_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/hooks","issue_events_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/events","assignees_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/tags","blobs_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/languages","stargazers_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/stargazers","contributors_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/contributors","subscribers_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/subscribers","subscription_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/subscription","commits_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/merges","archive_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/downloads","issues_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/labels{/name}","releases_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/deployments","created_at":"2018-02-12T09:31:47Z","updated_at":"2018-02-12T09:40:54Z","pushed_at":"2018-02-14T08:50:55Z","git_url":"git://github.com/lysycyn/aviasales-demo-frontend.git","ssh_url":"git@github.com:lysycyn/aviasales-demo-frontend.git","clone_url":"https://github.com/lysycyn/aviasales-demo-frontend.git","svn_url":"https://github.com/lysycyn/aviasales-demo-frontend","homepage":null,"size":451,"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,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/pulls/1"},"html":{"href":"https://github.com/lysycyn/aviasales-demo-frontend/pull/1"},"issue":{"href":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/issues/1"},"comments":{"href":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/lysycyn/aviasales-demo-frontend/statuses/176a5a4afb23cb44c9248f4888a2f55db2e1f8d0"}},"author_association":"OWNER"}}
{"actor":{"display_login":"evgenyrodionov"}}