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

Rewrite the cookie banner with slots #223

Merged
merged 1 commit into from
Aug 1, 2021

Conversation

peteryates
Copy link
Member

This now works in a very similar fashion to the Nunjucks macros. Instead of passing in actions with arguments it supports the passing in of any arbitrary HTML, the intention is for developers to pass in an array of buttons or links generated by govuk_link_to or similar. These will then automatically be wrapped in a govuk-button-group.

This now works in a very similar fashion to the Nunjucks macros. Instead
of passing in actions with arguments it supports the passing in of any
arbitrary HTML, the intention is for developers to pass in an array of
buttons or links generated by `govuk_link_to` or similar. These will
then automatically be wrapped in a `govuk-button-group`.
@peteryates peteryates force-pushed the version-2.0.0-pp-cookie-banner branch from 682eaae to 67eca54 Compare July 31, 2021 10:05
@peteryates peteryates merged commit afec02a into version-2.0.0 Aug 1, 2021
@peteryates peteryates deleted the version-2.0.0-pp-cookie-banner branch August 1, 2021 13:27
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.

None yet

1 participant