qld-gov-au / qgds-bootstrap5

MVP development space for Queensland Government Design System (QGDS) Bootstrap 5 implementation, Dist folder located in https://github.com/qld-gov-au/qgds-qol-mvp-release
https://qld-gov-au.github.io/qgds-bootstrap5/
2 stars 3 forks source link

Discussion/Spike: Use default to use masterbrand when json is blank #345

Open duttonw opened 1 week ago

duttonw commented 1 week ago

For discussion: To simplify our need for json. Should have have defaults set and if you wish the ability to over some/all of it.

This is a spike on what could be done in allowing the masterbrand to load if json is blank for header . {{#unless siteHeader.config.masterbrand_disabled}}

It should go further and use a switch case on a single variable for what the other brands are instead of discrete Boolean switches for the other types.

As there is a request to split the header into pre-header/header. we should also be able to move the config from siteHeader.config.masterbrand_disabled to masterbrand_disabled etc.