[Bug]: Grey hero variant: needs option to include a census logo #3488
Labels
Bug
Something isn't working
Community backlog
An issue raised on the community backlog
High priority
Describe the bug
We need the option to pass in a census logo to the grey hero variant.
Figma link: https://www.figma.com/design/Yf4Cpxc8vYdoVrWcJojk2R/New-Website-Platform?m=auto&node-id=19-79&t=GY8DgHbUQ7u7hW0w-1
Expected behaviour / outcome
Have a new option to display the census logo or not
List the steps necessary to reproduce the bug
Review the options for the onsHero component - there is no option for the census logo.
Additional context
Current implementation in beta:
https://github.com/ONSdigital/dis-wagtail/blob/main/cms/jinja2/templates/pages/statistical_article_page.html#L29-L33, which includes https://github.com/ONSdigital/dis-wagtail/blob/main/cms/jinja2/templates/components/census/census-logo.html
What version of the ONS Design System are you using?
72.2.0
What device(s) are you using?
Desktop
What operating system(s) are you using?
macOS
What browser(s) are you using?
Chrome
The text was updated successfully, but these errors were encountered: