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

Support notification banner content via blocks #90

Merged

Conversation

peteryates
Copy link
Member

This gives the user the option between using structured arguments and just passing in text and link information vs providing the heading with a chunk of HTML that will be rendered within the p.govuk-notification-banner__heading.

Screenshot from 2021-01-08 09-24-35

This gives the user the option between using structured arguments and
just passing in text and link information vs providing the heading with
a chunk of HTML that will be rendered within the
`p.govuk-notification-banner__heading`.
peteryates referenced this pull request Jan 8, 2021
This is a bug and shouldn't have been included.

Fixes #88
@peteryates
Copy link
Member Author

This could possibly be enhanced further with a specific link helper that adds the appropriate classes for notification banner header links.

@peteryates peteryates merged commit 8d0f993 into master Jan 8, 2021
@peteryates peteryates deleted the allow-notification-banner-headings-to-take-blocks branch January 8, 2021 13:09
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.

1 participant