Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace publication header with inverse header #845

Merged
merged 2 commits into from
Mar 26, 2018

Conversation

vanitabarrett
Copy link
Contributor

@vanitabarrett vanitabarrett commented Mar 22, 2018

Trello: https://trello.com/c/0pbli2e8/152-tech-debt-replace-publication-header-component-with-inverse-header-component

We created a new inverse header component as part of the work for building new topic pages. This component is a shared component in the govuk_publishing_components gem. As it behaves very similarly to the existing publication header component in government-frontend, it makes sense to try and consolidate the two.

This PR replaces the publication header with the inverse header.

Before:
screen shot 2018-03-22 at 15 45 12

After:
screen shot 2018-03-22 at 15 44 40

https://government-frontend-pr-845.herokuapp.com/government/publications/ln5-0at-jackson-homes-scopwick-ltd-environmental-permit-application-advertisement/ln5-0at-jackson-homes-scopwick-ltd-environmental-permit-application


Component guide for this PR:
https://government-frontend-pr-845.herokuapp.com/component-guide

@tijmenb tijmenb temporarily deployed to government-frontend-pr-845 March 22, 2018 15:43 Inactive
Copy link
Contributor

@fmlharrison fmlharrison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

@vanitabarrett vanitabarrett force-pushed the replace-publication-header-with-inverse-header branch from 75a19ac to cbfaad0 Compare March 26, 2018 08:48
@boffbowsh boffbowsh temporarily deployed to government-frontend-pr-845 March 26, 2018 08:48 Inactive
Vanita Barrett added 2 commits March 26, 2018 10:04
We created a new inverse header component as part of the work for building new topic pages. This component is a shared component in the govuk_publishing_components gem. As it behaves very similarly to the existing publication header component in government-frontend, it makes sense to try and consolidate the two.

This commit therefore replaces uses of the publication header with inverse header, and removes the publication header component.
@vanitabarrett vanitabarrett force-pushed the replace-publication-header-with-inverse-header branch from cbfaad0 to 780ce8e Compare March 26, 2018 10:04
@vanitabarrett vanitabarrett merged commit bb0255d into master Mar 26, 2018
@vanitabarrett vanitabarrett deleted the replace-publication-header-with-inverse-header branch March 26, 2018 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants