{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/static/issues/554","labels_url":"https://api.github.com/repos/alphagov/static/issues/554/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/static/issues/554/comments","events_url":"https://api.github.com/repos/alphagov/static/issues/554/events","html_url":"https://github.com/alphagov/static/pull/554","id":59808299,"number":554,"title":"Add page navigation component","user":{"login":"jackscotti","id":5038475,"avatar_url":"https://avatars.githubusercontent.com/u/5038475?v=3","gravatar_id":"","url":"https://api.github.com/users/jackscotti","html_url":"https://github.com/jackscotti","followers_url":"https://api.github.com/users/jackscotti/followers","following_url":"https://api.github.com/users/jackscotti/following{/other_user}","gists_url":"https://api.github.com/users/jackscotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jackscotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackscotti/subscriptions","organizations_url":"https://api.github.com/users/jackscotti/orgs","repos_url":"https://api.github.com/users/jackscotti/repos","events_url":"https://api.github.com/users/jackscotti/events{/privacy}","received_events_url":"https://api.github.com/users/jackscotti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-04T14:54:30Z","updated_at":"2015-03-05T11:42:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/static/pulls/554","html_url":"https://github.com/alphagov/static/pull/554","diff_url":"https://github.com/alphagov/static/pull/554.diff","patch_url":"https://github.com/alphagov/static/pull/554.patch"},"body":"Create a new navigation component.\r\n\r\nWe wanted to reuse the code used to display navigational links like Simple Smart Answers do (ie https://www.gov.uk/new-state-pension/eligibility).\r\nAll this component will do is display the labels, linked to their relative URLs and accompanied by the relative icons.\r\n\r\nThe Sass for this has been lifted straight out of static with some minor alterations (ie removed bottom margin).\r\n\r\nThe links will look like this:\r\n![screen shot 2015-03-04 at 14 17 09](https://cloud.githubusercontent.com/assets/5038475/6485791/127ecd98-c27e-11e4-86b4-963deec56393.png)\r\n\r\nIf one of the 2 links is not provided, it simply won't appear:\r\n![screen shot 2015-03-04 at 14 52 55](https://cloud.githubusercontent.com/assets/5038475/6485802/2a09523a-c27e-11e4-8a81-8a0b9b969b56.png)\r\n\r\nIf we provide labels, the links will look like this:\r\n![screen shot 2015-03-05 at 10 39 00](https://cloud.githubusercontent.com/assets/5038475/6503366/1f1c4796-c324-11e4-94aa-b28f8ca149a5.png)\r\n\r\nLabels can be anything:\r\n![screen shot 2015-03-05 at 11 38 39](https://cloud.githubusercontent.com/assets/5038475/6504186/6838799c-c32c-11e4-83c9-2c8ce97b58a3.png)\r\n\r\n\r\n\r\nI worked on this with @alicebartlett .\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/alphagov/static/issues/comments/77350227","html_url":"https://github.com/alphagov/static/pull/554#issuecomment-77350227","issue_url":"https://api.github.com/repos/alphagov/static/issues/554","id":77350227,"user":{"login":"jackscotti","id":5038475,"avatar_url":"https://avatars.githubusercontent.com/u/5038475?v=3","gravatar_id":"","url":"https://api.github.com/users/jackscotti","html_url":"https://github.com/jackscotti","followers_url":"https://api.github.com/users/jackscotti/followers","following_url":"https://api.github.com/users/jackscotti/following{/other_user}","gists_url":"https://api.github.com/users/jackscotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jackscotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackscotti/subscriptions","organizations_url":"https://api.github.com/users/jackscotti/orgs","repos_url":"https://api.github.com/users/jackscotti/repos","events_url":"https://api.github.com/users/jackscotti/events{/privacy}","received_events_url":"https://api.github.com/users/jackscotti/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T11:42:08Z","updated_at":"2015-03-05T11:42:08Z","body":"I've just updated a typo in the docs.yml file and added a fixture that has a label made only of text (screenshot in the body of this PR)."}}