-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add large dark icon for action link #3596
Conversation
b2a7534
to
7e24770
Compare
We're now linking from the mainstream browse benefits page to the the financial support calculator. This feels a bit hacky as we're adding bespoke logic for one page, however the alternative would be to add functionality to Collections Publisher and then Collections which doesn't seem worthwhile. If we find multiple browse pages want this feature then we probably should look into adding the functionality to the publishing tool. Related PR: alphagov/govuk_publishing_components#3596 Trello: https://trello.com/c/mwQET0e0/2153-add-link-to-the-benefits-smart-answer-to-the-browse-benefits-page
7e24770
to
bd8de2f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks fine to me. I've added one comment below with regards to a style that might not be needed but have asked for a second opinion.
app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss
Outdated
Show resolved
Hide resolved
909cb48
to
3487943
Compare
Uses the existing dark icon but makes it slightly larger as per the design recommendation for the new benefits calculator link being added to the browse benefit page. Related PR: alphagov/collections#3373
3487943
to
aed489a
Compare
Addressed the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
We're now linking from the mainstream browse benefits page to the the financial support calculator. This feels a bit hacky as we're adding bespoke logic for one page, however the alternative would be to add functionality to Collections Publisher and then Collections which doesn't seem worthwhile. If we find multiple browse pages want this feature then we probably should look into adding the functionality to the publishing tool. Related PR: alphagov/govuk_publishing_components#3596 Trello: https://trello.com/c/mwQET0e0/2153-add-link-to-the-benefits-smart-answer-to-the-browse-benefits-page
We're now linking from the mainstream browse benefits page to the the financial support calculator. This feels a bit hacky as we're adding bespoke logic for one page, however the alternative would be to add functionality to Collections Publisher and then Collections which doesn't seem worthwhile. If we find multiple browse pages want this feature then we probably should look into adding the functionality to the publishing tool. Related PR: alphagov/govuk_publishing_components#3596 Trello: https://trello.com/c/mwQET0e0/2153-add-link-to-the-benefits-smart-answer-to-the-browse-benefits-page
We're now linking from the mainstream browse benefits page to the the financial support calculator. This feels a bit hacky as we're adding bespoke logic for one page, however the alternative would be to add functionality to Collections Publisher and then Collections which doesn't seem worthwhile. If we find multiple browse pages want this feature then we probably should look into adding the functionality to the publishing tool. Related PR: alphagov/govuk_publishing_components#3596 Trello: https://trello.com/c/mwQET0e0/2153-add-link-to-the-benefits-smart-answer-to-the-browse-benefits-page
What
Uses the existing dark icon but makes it slightly larger as per the
design recommendation for the new benefits calculator link being added
to the browse benefit page.
Related PR: alphagov/collections#3373
Why
Current dark icon is too small and doesn't fit the recommended design.
Visual Changes
Large dark icon used for the new action link:
Trello:
https://trello.com/c/mwQET0e0/2153-add-link-to-the-benefits-smart-answer-to-the-browse-benefits-page