Use govuk-components for help page related links #1111
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In static we removed the CSS for the old sidebar, but the help page index was stilling using it:
https://www.gov.uk/help
It should have looked like this:
http://webarchive.nationalarchives.gov.uk/20151109153250/https://www.gov.uk/help
Using the govuk-component fixes this.
Before:
![screen shot 2017-01-30 at 13 55 16](https://cloud.githubusercontent.com/assets/87579/22425594/cd85adaa-e6f3-11e6-9015-a7944d4b790e.png)
After:
![screen shot 2017-01-30 at 13 52 06](https://cloud.githubusercontent.com/assets/87579/22425602/d286622c-e6f3-11e6-8f63-864c15831ba9.png)
Trello: https://trello.com/c/QFUjiqHs/449-fix-related-links-for-help-pages
Paired with @klssmith @Davidslv
We've left out the "return to top" link as it wasn't there beforehand, and it doesn't seem to serve any purpose.