{"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/pulls/11","id":47111402,"html_url":"https://github.com/pythonbrasil/pythonbrasil11-site/pull/11","diff_url":"https://github.com/pythonbrasil/pythonbrasil11-site/pull/11.diff","patch_url":"https://github.com/pythonbrasil/pythonbrasil11-site/pull/11.patch","issue_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/issues/11","number":11,"state":"open","locked":false,"title":"Algumas otimizações de Performance e Correções","user":{"login":"willianjusten","id":3991845,"avatar_url":"https://avatars.githubusercontent.com/u/3991845?v=3","gravatar_id":"","url":"https://api.github.com/users/willianjusten","html_url":"https://github.com/willianjusten","followers_url":"https://api.github.com/users/willianjusten/followers","following_url":"https://api.github.com/users/willianjusten/following{/other_user}","gists_url":"https://api.github.com/users/willianjusten/gists{/gist_id}","starred_url":"https://api.github.com/users/willianjusten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willianjusten/subscriptions","organizations_url":"https://api.github.com/users/willianjusten/orgs","repos_url":"https://api.github.com/users/willianjusten/repos","events_url":"https://api.github.com/users/willianjusten/events{/privacy}","received_events_url":"https://api.github.com/users/willianjusten/received_events","type":"User","site_admin":false},"body":"Opa,\r\n\r\neu resolvi fazer algumas modificações para o site, espero que achem boas. Vou colocar aqui os passos e diferenças de cada modicação:\r\n\r\n---\r\n\r\n**Estado inicial do site:**\r\n\r\n![screen shot 2015-10-07 at 23 57 08](https://cloud.githubusercontent.com/assets/3991845/10357809/eadb2fc2-6d5c-11e5-9292-af393d8e6055.png)\r\n\r\n### Otimização Performance\r\n\r\n1) Otimização das imagens SVG e uso dele inline para casos de ícones.\r\n2) Otimização das imagens JPG e PNG. \r\n3) Comprimindo o HTML.\r\n4) Reorganização do Javascript e criação de uma task para concatenação e minificação do mesmo.\r\n\r\n**Resultado Final:**\r\n\r\n![screen shot 2015-10-08 at 01 28 58](https://cloud.githubusercontent.com/assets/3991845/10357851/87fdb054-6d5d-11e5-868f-d6ff96ba2348.png)\r\n\r\nDiminuição de 7 requests e 471.63Kb da página (cerca 32.24% do tamanho total anterior).\r\n\r\n---\r\n\r\n### Alinhamento Visual\r\n\r\n![alignment](https://cloud.githubusercontent.com/assets/3991845/10357892/13fa015c-6d5e-11e5-815a-03f2de82a85c.jpg)\r\n\r\nVisando manter um alinhamento do menu com os outros itens da página, para ter uma melhor harmonia, fiz um ajuste para o Menu Scroll se encaixar dentro do container criado pelo site de 1200px.\r\n\r\n---\r\n\r\nE também corrigi o link *about*, que estava sem a âncora do scroll adicionada.\r\n\r\n----\r\n\r\nQualquer dúvida, só falar =)\r\n\r\n\r\n","created_at":"2015-10-08T04:47:37Z","updated_at":"2015-10-08T04:47:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/pulls/11/commits","review_comments_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/pulls/11/comments","review_comment_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/issues/11/comments","statuses_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/statuses/9d9fe2e03826c3205bab030fa383b808ecf69a1f","head":{"label":"willianjusten:gh-pages","ref":"gh-pages","sha":"9d9fe2e03826c3205bab030fa383b808ecf69a1f","user":{"login":"willianjusten","id":3991845,"avatar_url":"https://avatars.githubusercontent.com/u/3991845?v=3","gravatar_id":"","url":"https://api.github.com/users/willianjusten","html_url":"https://github.com/willianjusten","followers_url":"https://api.github.com/users/willianjusten/followers","following_url":"https://api.github.com/users/willianjusten/following{/other_user}","gists_url":"https://api.github.com/users/willianjusten/gists{/gist_id}","starred_url":"https://api.github.com/users/willianjusten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willianjusten/subscriptions","organizations_url":"https://api.github.com/users/willianjusten/orgs","repos_url":"https://api.github.com/users/willianjusten/repos","events_url":"https://api.github.com/users/willianjusten/events{/privacy}","received_events_url":"https://api.github.com/users/willianjusten/received_events","type":"User","site_admin":false},"repo":{"id":43856592,"name":"pythonbrasil11-site","full_name":"willianjusten/pythonbrasil11-site","owner":{"login":"willianjusten","id":3991845,"avatar_url":"https://avatars.githubusercontent.com/u/3991845?v=3","gravatar_id":"","url":"https://api.github.com/users/willianjusten","html_url":"https://github.com/willianjusten","followers_url":"https://api.github.com/users/willianjusten/followers","following_url":"https://api.github.com/users/willianjusten/following{/other_user}","gists_url":"https://api.github.com/users/willianjusten/gists{/gist_id}","starred_url":"https://api.github.com/users/willianjusten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willianjusten/subscriptions","organizations_url":"https://api.github.com/users/willianjusten/orgs","repos_url":"https://api.github.com/users/willianjusten/repos","events_url":"https://api.github.com/users/willianjusten/events{/privacy}","received_events_url":"https://api.github.com/users/willianjusten/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/willianjusten/pythonbrasil11-site","description":"site da Python Brasil 11","fork":true,"url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site","forks_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/forks","keys_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/teams","hooks_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/hooks","issue_events_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/issues/events{/number}","events_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/events","assignees_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/assignees{/user}","branches_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/branches{/branch}","tags_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/tags","blobs_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/statuses/{sha}","languages_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/languages","stargazers_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/stargazers","contributors_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/contributors","subscribers_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/subscribers","subscription_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/subscription","commits_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/contents/{+path}","compare_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/merges","archive_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/downloads","issues_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/issues{/number}","pulls_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/pulls{/number}","milestones_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/milestones{/number}","notifications_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/labels{/name}","releases_url":"https://api.github.com/repos/willianjusten/pythonbrasil11-site/releases{/id}","created_at":"2015-10-08T02:09:08Z","updated_at":"2015-10-08T04:03:38Z","pushed_at":"2015-10-08T04:32:03Z","git_url":"git://github.com/willianjusten/pythonbrasil11-site.git","ssh_url":"git@github.com:willianjusten/pythonbrasil11-site.git","clone_url":"https://github.com/willianjusten/pythonbrasil11-site.git","svn_url":"https://github.com/willianjusten/pythonbrasil11-site","homepage":null,"size":3520,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"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":"gh-pages"}},"base":{"label":"pythonbrasil:gh-pages","ref":"gh-pages","sha":"988cebf0a571de30d95eeae25924c1c1a097019b","user":{"login":"pythonbrasil","id":916137,"avatar_url":"https://avatars.githubusercontent.com/u/916137?v=3","gravatar_id":"","url":"https://api.github.com/users/pythonbrasil","html_url":"https://github.com/pythonbrasil","followers_url":"https://api.github.com/users/pythonbrasil/followers","following_url":"https://api.github.com/users/pythonbrasil/following{/other_user}","gists_url":"https://api.github.com/users/pythonbrasil/gists{/gist_id}","starred_url":"https://api.github.com/users/pythonbrasil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pythonbrasil/subscriptions","organizations_url":"https://api.github.com/users/pythonbrasil/orgs","repos_url":"https://api.github.com/users/pythonbrasil/repos","events_url":"https://api.github.com/users/pythonbrasil/events{/privacy}","received_events_url":"https://api.github.com/users/pythonbrasil/received_events","type":"Organization","site_admin":false},"repo":{"id":36441365,"name":"pythonbrasil11-site","full_name":"pythonbrasil/pythonbrasil11-site","owner":{"login":"pythonbrasil","id":916137,"avatar_url":"https://avatars.githubusercontent.com/u/916137?v=3","gravatar_id":"","url":"https://api.github.com/users/pythonbrasil","html_url":"https://github.com/pythonbrasil","followers_url":"https://api.github.com/users/pythonbrasil/followers","following_url":"https://api.github.com/users/pythonbrasil/following{/other_user}","gists_url":"https://api.github.com/users/pythonbrasil/gists{/gist_id}","starred_url":"https://api.github.com/users/pythonbrasil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pythonbrasil/subscriptions","organizations_url":"https://api.github.com/users/pythonbrasil/orgs","repos_url":"https://api.github.com/users/pythonbrasil/repos","events_url":"https://api.github.com/users/pythonbrasil/events{/privacy}","received_events_url":"https://api.github.com/users/pythonbrasil/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pythonbrasil/pythonbrasil11-site","description":"site da Python Brasil 11","fork":false,"url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site","forks_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/forks","keys_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/teams","hooks_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/hooks","issue_events_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/issues/events{/number}","events_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/events","assignees_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/assignees{/user}","branches_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/branches{/branch}","tags_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/tags","blobs_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/statuses/{sha}","languages_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/languages","stargazers_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/stargazers","contributors_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/contributors","subscribers_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/subscribers","subscription_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/subscription","commits_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/contents/{+path}","compare_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/merges","archive_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/downloads","issues_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/issues{/number}","pulls_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/pulls{/number}","milestones_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/milestones{/number}","notifications_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/labels{/name}","releases_url":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/releases{/id}","created_at":"2015-05-28T13:48:34Z","updated_at":"2015-10-04T03:13:25Z","pushed_at":"2015-10-08T04:47:37Z","git_url":"git://github.com/pythonbrasil/pythonbrasil11-site.git","ssh_url":"git@github.com:pythonbrasil/pythonbrasil11-site.git","clone_url":"https://github.com/pythonbrasil/pythonbrasil11-site.git","svn_url":"https://github.com/pythonbrasil/pythonbrasil11-site","homepage":null,"size":3716,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":2,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/pulls/11"},"html":{"href":"https://github.com/pythonbrasil/pythonbrasil11-site/pull/11"},"issue":{"href":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/issues/11"},"comments":{"href":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/pythonbrasil/pythonbrasil11-site/statuses/9d9fe2e03826c3205bab030fa383b808ecf69a1f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":9,"additions":117,"deletions":609,"changed_files":44}}