@qld-gov-au/qgds-bootstrap5 1.1.41 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/.eslintrc.cjs +27 -27
  2. package/.vscode/settings.json +5 -5
  3. package/dist/assets/components/bs5/banner/banner.hbs +0 -7
  4. package/dist/assets/components/bs5/card/card.hbs +3 -17
  5. package/dist/assets/components/bs5/footer/customLinks.hbs +7 -0
  6. package/dist/assets/components/bs5/footer/feedbackForm.hbs +25 -0
  7. package/dist/assets/components/bs5/footer/followLinks.hbs +14 -0
  8. package/dist/assets/components/bs5/footer/footer.hbs +229 -346
  9. package/dist/assets/components/bs5/head/head.hbs +4 -4
  10. package/dist/assets/components/bs5/header/header.hbs +124 -878
  11. package/dist/assets/components/bs5/header/headerBrand.hbs +35 -0
  12. package/dist/{components/bs5/iconLink/iconLink.hbs → assets/components/bs5/link/link.hbs} +3 -3
  13. package/dist/assets/components/bs5/logo/logoCOALandscape.hbs +110 -55
  14. package/dist/assets/components/bs5/logo/logoCOALandscape2Lines.hbs +2 -1
  15. package/dist/assets/components/bs5/navbar/navbar.hbs +3 -3
  16. package/dist/assets/components/bs5/pageLayout/templates/contentPageWithForm.hbs +53 -22
  17. package/dist/assets/components/bs5/pageLayout/templates/contentPageWithSideNavigation.hbs +79 -59
  18. package/dist/assets/components/bs5/pageLayout/templates/homePage.hbs +111 -0
  19. package/dist/assets/components/bs5/searchInput/searchInput.hbs +1 -1
  20. package/dist/assets/css/qld.bootstrap.css +1 -1
  21. package/dist/assets/css/qld.bootstrap.css.map +3 -3
  22. package/dist/assets/js/handlebars.helpers.bundle.js.map +2 -2
  23. package/dist/assets/js/handlebars.helpers.js +34 -34
  24. package/dist/assets/js/handlebars.init.min.js +830 -1798
  25. package/dist/assets/js/handlebars.init.min.js.map +4 -4
  26. package/dist/assets/js/handlebars.partials.js +12 -8
  27. package/dist/assets/js/qld.bootstrap.min.js +5 -5
  28. package/dist/assets/js/qld.bootstrap.min.js.map +4 -4
  29. package/dist/assets/node/handlebars.init.min.js +399 -121
  30. package/dist/assets/node/handlebars.init.min.js.map +3 -3
  31. package/dist/components/bs5/banner/banner.hbs +0 -7
  32. package/dist/components/bs5/card/card.hbs +3 -17
  33. package/dist/components/bs5/footer/customLinks.hbs +7 -0
  34. package/dist/components/bs5/footer/feedbackForm.hbs +25 -0
  35. package/dist/components/bs5/footer/followLinks.hbs +14 -0
  36. package/dist/components/bs5/footer/footer.hbs +229 -346
  37. package/dist/components/bs5/head/head.hbs +4 -4
  38. package/dist/components/bs5/header/header.hbs +124 -878
  39. package/dist/components/bs5/header/headerBrand.hbs +35 -0
  40. package/dist/{assets/components/bs5/iconLink/iconLink.hbs → components/bs5/link/link.hbs} +3 -3
  41. package/dist/components/bs5/logo/logoCOALandscape.hbs +110 -55
  42. package/dist/components/bs5/logo/logoCOALandscape2Lines.hbs +2 -1
  43. package/dist/components/bs5/navbar/navbar.hbs +3 -3
  44. package/dist/components/bs5/pageLayout/templates/contentPageWithForm.hbs +53 -22
  45. package/dist/components/bs5/pageLayout/templates/contentPageWithSideNavigation.hbs +79 -59
  46. package/dist/components/bs5/pageLayout/templates/homePage.hbs +111 -0
  47. package/dist/components/bs5/searchInput/searchInput.hbs +1 -1
  48. package/dist/components/handlebars.helpers.js +34 -34
  49. package/dist/components/handlebars.partials.js +12 -8
  50. package/dist/package.json +1 -1
  51. package/dist/sample-data/footer/footer.data.json +128 -84
  52. package/dist/sample-data/header/header.variant.coBrand.data.json +28 -40
  53. package/dist/sample-data/header/header.variant.endorsed.data.json +116 -150
  54. package/dist/sample-data/header/header.variant.masterBrand.data.json +116 -152
  55. package/dist/sample-data/header/header.variant.standAlone.data.json +118 -150
  56. package/dist/sample-data/header/header.variant.subBrand.data.json +32 -159
  57. package/dist/sample-data/inpageAlert/inpageAlert.data.json +6 -6
  58. package/dist/sample-data/logo/logo.data.json +1 -0
  59. package/dist/sample-data/navbar/navbar.data.json +5 -5
  60. package/package.json +1 -1
  61. package/src/components/bs5/accordion/Accordion.mdx +8 -2
  62. package/src/components/bs5/banner/Banner.mdx +6 -1
  63. package/src/components/bs5/banner/banner.hbs +0 -7
  64. package/src/components/bs5/banner/banner.scss +16 -9
  65. package/src/components/bs5/banner/banner.stories.js +17 -17
  66. package/src/components/bs5/breadcrumbs/Breadcrumbs.mdx +8 -2
  67. package/src/components/bs5/button/button.stories.js +8 -8
  68. package/src/components/bs5/callToAction/callToAction.mdx +8 -3
  69. package/src/components/bs5/card/Card.mdx +8 -2
  70. package/src/components/bs5/card/card.hbs +3 -17
  71. package/src/components/bs5/card/card.scss +103 -103
  72. package/src/components/bs5/containerLayout/containerLayout.stories.js +1 -1
  73. package/src/components/bs5/footer/Footer.js +3 -3
  74. package/src/components/bs5/footer/Footer.mdx +8 -2
  75. package/src/components/bs5/footer/customLinks.hbs +7 -0
  76. package/src/components/bs5/footer/feedbackForm.hbs +25 -0
  77. package/src/components/bs5/footer/followLinks.hbs +14 -0
  78. package/src/components/bs5/footer/footer.data.json +128 -84
  79. package/src/components/bs5/footer/footer.functions.js +2 -1
  80. package/src/components/bs5/footer/footer.hbs +229 -346
  81. package/src/components/bs5/footer/footer.scss +262 -272
  82. package/src/components/bs5/footer/footer.stories.js +4 -92
  83. package/src/components/bs5/footer/footer_formio.scss +219 -0
  84. package/src/components/bs5/globalAlert/GlobalAlert.mdx +8 -2
  85. package/src/components/bs5/globalAlert/globalAlert.test.js +3 -11
  86. package/src/components/bs5/header/_header-variables.scss +272 -0
  87. package/src/components/bs5/header/header.functions.js +9 -9
  88. package/src/components/bs5/header/header.hbs +124 -878
  89. package/src/components/bs5/header/header.scss +279 -411
  90. package/src/components/bs5/header/header.stories.js +8 -28
  91. package/src/components/bs5/header/header.variant.coBrand.data.json +28 -40
  92. package/src/components/bs5/header/header.variant.endorsed.data.json +116 -150
  93. package/src/components/bs5/header/header.variant.masterBrand.data.json +116 -152
  94. package/src/components/bs5/header/header.variant.standAlone.data.json +118 -150
  95. package/src/components/bs5/header/header.variant.subBrand.data.json +32 -159
  96. package/src/components/bs5/header/headerBrand.hbs +35 -0
  97. package/src/components/bs5/inpageAlert/InpageAlert.mdx +8 -2
  98. package/src/components/bs5/inpageAlert/inpageAlert.data.json +6 -6
  99. package/src/components/bs5/{iconLink/iconLink.hbs → link/link.hbs} +3 -3
  100. package/src/components/bs5/{iconLink/iconLink.js → link/link.js} +2 -2
  101. package/src/components/bs5/{iconLink/iconLink.mdx → link/link.mdx} +3 -3
  102. package/src/components/bs5/{iconLink/iconLink.scss → link/link.scss} +27 -3
  103. package/src/components/bs5/{iconLink/iconLink.stories.js → link/link.stories.js} +4 -5
  104. package/src/components/bs5/linkColumns/linkColumns.mdx +8 -3
  105. package/src/components/bs5/logo/logo.data.json +1 -0
  106. package/src/components/bs5/logo/logoCOALandscape.hbs +110 -55
  107. package/src/components/bs5/logo/logoCOALandscape2Lines.hbs +2 -1
  108. package/src/components/bs5/navbar/navbar.data.json +5 -5
  109. package/src/components/bs5/navbar/navbar.hbs +3 -3
  110. package/src/components/bs5/navbar/navbar.scss +669 -614
  111. package/src/components/bs5/navbar/navbar.stories.js +1 -0
  112. package/src/components/bs5/pageLayout/{FullWidthLandingPage.js → HomePage.js} +2 -2
  113. package/src/components/bs5/pageLayout/pageLayout.stories.js +242 -98
  114. package/src/components/bs5/pageLayout/templates/contentPageWithForm.hbs +53 -22
  115. package/src/components/bs5/pageLayout/templates/contentPageWithSideNavigation.hbs +79 -59
  116. package/src/components/bs5/pageLayout/templates/homePage.hbs +111 -0
  117. package/src/components/bs5/promotionalPanel/PromotionalPanel.mdx +8 -3
  118. package/src/components/bs5/searchInput/__snapshots__/searchInput.test.js.snap +1 -1
  119. package/src/components/bs5/searchInput/searchInput.hbs +1 -1
  120. package/src/components/bs5/searchInput/searchInput.scss +2 -1
  121. package/src/components/bs5/searchInput/searchInput.test.js +1 -2
  122. package/src/css/main.scss +4 -1
  123. package/src/css/mixins/_index.scss +2 -1
  124. package/src/css/mixins/register-vars.scss +23 -0
  125. package/src/css/qld-variables.scss +4 -2
  126. package/src/css/utilities/_index.scss +1 -0
  127. package/src/css/utilities/responsive-visually-hidden.scss +10 -0
  128. package/src/js/handlebars.helpers.js +34 -34
  129. package/src/js/handlebars.partials.js +12 -8
  130. package/src/js/qld.bootstrap.js +10 -11
  131. package/dist/assets/components/bs5/footer/footerForgov.hbs +0 -279
  132. package/dist/assets/components/bs5/pageLayout/pageLayout.hbs +0 -34
  133. package/dist/assets/components/bs5/pageLayout/templates/fullWidthLandingPage.hbs +0 -61
  134. package/dist/components/bs5/footer/footerForgov.hbs +0 -279
  135. package/dist/components/bs5/pageLayout/pageLayout.hbs +0 -34
  136. package/dist/components/bs5/pageLayout/templates/fullWidthLandingPage.hbs +0 -61
  137. package/src/components/bs5/footer/_colours.scss +0 -149
  138. package/src/components/bs5/footer/_measurements.scss +0 -32
  139. package/src/components/bs5/footer/footerForgov.hbs +0 -279
  140. package/src/components/bs5/header/_colours.scss +0 -271
  141. package/src/components/bs5/header/_icons.scss +0 -10
  142. package/src/components/bs5/pageLayout/pageLayout.hbs +0 -34
  143. package/src/components/bs5/pageLayout/pageLayout.js +0 -21
  144. package/src/components/bs5/pageLayout/templates/fullWidthLandingPage.hbs +0 -61
  145. /package/dist/sample-data/{iconLink/iconLink.data.json → link/link.data.json} +0 -0
  146. /package/src/components/bs5/{iconLink/iconLink.data.json → link/link.data.json} +0 -0
@@ -1,116 +1,160 @@
1
1
  {
2
2
  "sitename": "Site name, Namestyle or Name Identifier",
3
3
  "variantClass": "",
4
- "contactHasContactListDisabled": false,
5
- "footerHasCrestDisabled": false,
6
- "footerHasStateOfQld": true,
7
- "feedbackFormDisabled": false,
8
- "followlinksDisabled": false,
9
- "copyrightHasYearFrom": false,
10
- "copyrightOrganisationName": "Organisation",
11
4
  "contact": {
12
5
  "hasBorderColumn": false,
13
6
  "title": "Contact us",
14
7
  "content": "<p>Get in touch for enquiries, feedback, complaints and compliments.</p>",
8
+ "showList": true,
15
9
  "list": {
16
10
  "phone": {
17
- "icon": "icon-phone",
18
- "label": "<b>Phone:</b> 13 QGOV (13 74 68)"
11
+ "icon": "qld-icon-phone",
12
+ "label": "<b>Phone:</b> <a href='tel:137468' rel='noopener'>13 QGOV (13 74 68)</a>"
19
13
  },
20
14
  "email": {
21
- "icon": "icon-email",
22
- "label": "<b>Email:</b> <span class='user-select-all'>email@qld.gov.au</span>"
15
+ "icon": "qld-icon-email",
16
+ "label": "<b>Email:</b> <span class='user-select-all'><a href='mailto:email@qld.gov.au' rel='noopener'>email@qld.gov.au</a></span>"
23
17
  }
24
18
  },
25
19
  "buttonLabel": "Contact us",
26
20
  "buttonLink": "https://www.qld.gov.au/contact-us"
27
21
  },
28
- "lookup": {
29
- "link": {
30
- "URL": "https://www.qld.gov.au",
31
- "text": "Queensland Government"
32
- }
33
- },
34
- "acknowledgements": [
35
- {
36
- "title": "Acknowledgement of Country",
37
- "content": "<p>We pay our respects to the Aboriginal and Torres Strait Islander ancestors of this land, their spirits and their legacy. The foundations laid by these ancestors—our First Nations peoples—give strength, inspiration and courage to current and future generations towards creating a better Queensland.</p>"
38
- }
39
- ],
40
- "copyright": {
41
- "hasBorderColumnDisabled": false,
42
- "content": "&copy; The State of Queensland",
43
- "yearFrom": "1995"
44
- },
45
- "footerlinks": {
46
- "hasBorderColumn": false,
22
+ "footerLinks": {
23
+ "hasBorderColumn": true,
47
24
  "title": "",
48
- "list": {
49
- "Help": { "link": "https://www.qld.gov.au/help" },
50
- "Copyright": { "link": "https://www.qld.gov.au/legal/copyright" },
51
- "Disclaimer": { "link": "https://www.qld.gov.au/legal/disclaimer" },
52
- "Privacy": { "link": "https://www.qld.gov.au/legal/privacy" },
53
- "Right to information": {
54
- "link": "https://www.qld.gov.au/about/rights-accountability/right-to-information"
25
+ "list": [
26
+ {
27
+ "label": "Help",
28
+ "link": "https://www.qld.gov.au/help"
55
29
  },
56
- "Accessibility": { "link": "https://www.qld.gov.au/help/accessibility" },
57
- "Jobs in Queensland Government": {
58
- "link": "https://smartjobs.qld.gov.au",
59
- "new_window": true
30
+ {
31
+ "label": "Copyright",
32
+ "link": "https://www.qld.gov.au/legal/copyright"
33
+ },
34
+ {
35
+ "label": "Disclaimer",
36
+ "link": "https://www.qld.gov.au/legal/disclaimer"
60
37
  },
61
- "Other languages": { "link": "https://www.qld.gov.au/help/languages" }
62
- }
63
- },
64
- "feedbackForm": {
65
- "hasBorderColumnDisabled": false,
66
- "title": "Website feedback",
67
- "content": "Help us improve the content on our website or tell us what is working well.",
68
- "btnTitle": "Leave your feedback",
69
- "formAttr": {
70
- "data-formio": "",
71
- "data-formio-project-name": "oldkihhcwbdtwye",
72
- "data-formio-form-name": "footerfeedbackcontactus",
73
- "data-formio-env-url": "api.forms.platforms.qld.gov.au",
74
- "data-formio-createForm-options": "formioCreateFormOptions",
75
- "data-formio-createForm-controller": "formioCreateFormController"
76
- },
77
- "formioResource": "https://static.qgov.net.au/formio-qld/v2/v2.x.x-latest/formio-script.min.js"
78
- },
79
- "followlinks": {
80
- "hasBorderColumn": true,
81
- "title": "Follow us",
82
- "list": [
83
38
  {
84
- "name": "Facebook",
85
- "enabled": true,
86
- "link": "#",
87
- "target": "_blank",
88
- "icon": "<svg aria-hidden='true' focusable='false' viewBox='0 0 12 21' fill='none' xmlns='http://www.w3.org/2000/svg' role='img'><path d='M3.85156 20.5H7.52344V11.5547H10.375L10.8438 8H7.52344V5.53906C7.52344 4.99219 7.60156 4.5625 7.83594 4.28906C8.07031 3.97656 8.57812 3.82031 9.28125 3.82031H11.1562V0.65625C10.4531 0.578125 9.51562 0.5 8.42188 0.5C7.01562 0.5 5.92188 0.929688 5.10156 1.75C4.24219 2.57031 3.85156 3.70312 3.85156 5.1875V8H0.84375V11.5547H3.85156V20.5Z'></path></svg>"
39
+ "label": "Privacy",
40
+ "link": "https://www.qld.gov.au/legal/privacy"
89
41
  },
90
42
  {
91
- "name": "LinkedIn",
92
- "enabled": true,
93
- "link": "#",
94
- "icon": "<svg aria-hidden='true' focusable='false' viewBox='0 0 18 19' fill='none' xmlns='http://www.w3.org/2000/svg' role='img'><path d='M4.15625 18.25V6.57031H0.523438V18.25H4.15625ZM2.35938 4.96875C2.90625 4.96875 3.41406 4.77344 3.84375 4.34375C4.23438 3.95312 4.46875 3.44531 4.46875 2.85938C4.46875 2.3125 4.23438 1.80469 3.84375 1.375C3.41406 0.984375 2.90625 0.75 2.35938 0.75C1.77344 0.75 1.26562 0.984375 0.875 1.375C0.445312 1.80469 0.25 2.3125 0.25 2.85938C0.25 3.44531 0.445312 3.95312 0.875 4.34375C1.26562 4.77344 1.77344 4.96875 2.35938 4.96875ZM17.75 18.25V11.8438C17.75 10.0469 17.4766 8.71875 16.9688 7.85938C16.2656 6.80469 15.0938 6.25781 13.4141 6.25781C12.5547 6.25781 11.8516 6.49219 11.2266 6.88281C10.6406 7.23438 10.2109 7.66406 9.97656 8.17188H9.9375V6.57031H6.46094V18.25H10.0547V12.4688C10.0547 11.5703 10.1719 10.8672 10.4453 10.3984C10.7578 9.77344 11.3438 9.46094 12.2031 9.46094C13.0234 9.46094 13.5703 9.8125 13.8828 10.5156C14.0391 10.9453 14.1172 11.6094 14.1172 12.5469V18.25H17.75Z'></path></svg>"
43
+ "label": "Right to information",
44
+ "link": "https://www.qld.gov.au/about/rights-accountability/right-to-information"
95
45
  },
96
46
  {
97
- "name": "X (Twitter)",
98
- "enabled": true,
99
- "link": "#",
100
- "icon": "<svg aria-hidden='true' focusable='false' viewBox='0 0 16 14' fill='none' xmlns='http://www.w3.org/2000/svg' role='img'><path d='M12.1562 0.5H14.3438L9.53125 6.03125L15.2188 13.5H10.7812L7.28125 8.96875L3.3125 13.5H1.09375L6.25 7.625L0.8125 0.5H5.375L8.5 4.65625L12.1562 0.5ZM11.375 12.1875H12.5938L4.71875 1.75H3.40625L11.375 12.1875Z'></path></svg>"
47
+ "label": "Accessibility",
48
+ "link": "https://www.qld.gov.au/help/accessibility"
101
49
  },
102
50
  {
103
- "name": "Youtube",
104
- "enabled": true,
105
- "link": "#",
106
- "icon": "<svg aria-hidden='true' focusable='false' viewBox='0 0 22 15' fill='none' xmlns='http://www.w3.org/2000/svg' role='img'><path d='M21.2344 2.34375C21.3906 3.04688 21.5469 4.14062 21.625 5.54688L21.6641 7.5L21.625 9.45312C21.5469 10.9375 21.3906 11.9922 21.2344 12.6953C21.0781 13.1641 20.8438 13.5547 20.5312 13.8672C20.1797 14.2188 19.7891 14.4531 19.3203 14.5703C18.6172 14.7656 17.0547 14.8828 14.5547 14.9609L11 15L7.44531 14.9609C4.94531 14.8828 3.34375 14.7656 2.67969 14.5703C2.21094 14.4531 1.78125 14.2188 1.46875 13.8672C1.11719 13.5547 0.882812 13.1641 0.765625 12.6953C0.570312 11.9922 0.453125 10.9375 0.375 9.45312L0.335938 7.5C0.335938 6.95312 0.335938 6.28906 0.375 5.54688C0.453125 4.14062 0.570312 3.04688 0.765625 2.34375C0.882812 1.875 1.11719 1.48438 1.46875 1.13281C1.78125 0.820312 2.21094 0.585938 2.67969 0.429688C3.34375 0.273438 4.94531 0.117188 7.44531 0.0390625L11 0L14.5547 0.0390625C17.0547 0.117188 18.6172 0.273438 19.3203 0.429688C19.7891 0.585938 20.1797 0.820312 20.5312 1.13281C20.8438 1.48438 21.0781 1.875 21.2344 2.34375ZM8.8125 10.7031L14.3984 7.5L8.8125 4.33594V10.7031Z'></path></svg>"
51
+ "label": "Jobs in Queensland Government",
52
+ "link": "https://smartjobs.qld.gov.au",
53
+ "target": "_blank"
107
54
  },
108
55
  {
109
- "name": "Instagram",
110
- "enabled": true,
111
- "link": "#",
112
- "icon": "<svg aria-hidden='true' focusable='false' viewBox='0 0 18 19' fill='none' xmlns='http://www.w3.org/2000/svg' role='img'><path d='M9 5.00781C9.78125 5.00781 10.5234 5.24219 11.2266 5.63281C11.9297 6.02344 12.4766 6.57031 12.8672 7.27344C13.2578 7.97656 13.4922 8.71875 13.4922 9.5C13.4922 10.3203 13.2578 11.0625 12.8672 11.7656C12.4766 12.4688 11.9297 13.0156 11.2266 13.4062C10.5234 13.7969 9.78125 13.9922 9 13.9922C8.17969 13.9922 7.4375 13.7969 6.73438 13.4062C6.03125 13.0156 5.48438 12.4688 5.09375 11.7656C4.70312 11.0625 4.50781 10.3203 4.50781 9.5C4.50781 8.71875 4.70312 7.97656 5.09375 7.27344C5.48438 6.57031 6.03125 6.02344 6.73438 5.63281C7.4375 5.24219 8.17969 5.00781 9 5.00781ZM9 12.4297C9.78125 12.4297 10.4844 12.1562 11.0703 11.5703C11.6172 11.0234 11.9297 10.3203 11.9297 9.5C11.9297 8.71875 11.6172 8.01562 11.0703 7.42969C10.4844 6.88281 9.78125 6.57031 9 6.57031C8.17969 6.57031 7.47656 6.88281 6.92969 7.42969C6.34375 8.01562 6.07031 8.71875 6.07031 9.5C6.07031 10.3203 6.34375 11.0234 6.92969 11.5703C7.47656 12.1562 8.17969 12.4297 9 12.4297ZM14.7422 4.8125C14.7422 4.53906 14.625 4.30469 14.4297 4.07031C14.1953 3.875 13.9609 3.75781 13.6875 3.75781C13.375 3.75781 13.1406 3.875 12.9453 4.07031C12.7109 4.30469 12.6328 4.53906 12.6328 4.8125C12.6328 5.125 12.7109 5.35938 12.9453 5.55469C13.1406 5.78906 13.375 5.86719 13.6875 5.86719C13.9609 5.86719 14.1953 5.78906 14.3906 5.55469C14.5859 5.35938 14.7031 5.125 14.7422 4.8125ZM17.7109 5.86719C17.7109 6.60938 17.75 7.82031 17.75 9.5C17.75 11.2188 17.7109 12.4297 17.6719 13.1719C17.6328 13.9141 17.5156 14.5391 17.3594 15.0859C17.125 15.75 16.7344 16.3359 16.2656 16.8047C15.7969 17.2734 15.2109 17.625 14.5859 17.8594C14.0391 18.0547 13.375 18.1719 12.6328 18.2109C11.8906 18.25 10.6797 18.25 9 18.25C7.28125 18.25 6.07031 18.25 5.32812 18.2109C4.58594 18.1719 3.96094 18.0547 3.41406 17.8203C2.75 17.625 2.16406 17.2734 1.69531 16.8047C1.22656 16.3359 0.875 15.75 0.640625 15.0859C0.445312 14.5391 0.328125 13.9141 0.289062 13.1719C0.25 12.4297 0.25 11.2188 0.25 9.5C0.25 7.82031 0.25 6.60938 0.289062 5.86719C0.328125 5.125 0.445312 4.46094 0.640625 3.91406C0.875 3.28906 1.22656 2.70312 1.69531 2.23438C2.16406 1.76562 2.75 1.375 3.41406 1.14062C3.96094 0.984375 4.58594 0.867188 5.32812 0.828125C6.07031 0.789062 7.28125 0.75 9 0.75C10.6797 0.75 11.8906 0.789062 12.6328 0.828125C13.375 0.867188 14.0391 0.984375 14.5859 1.14062C15.2109 1.375 15.7969 1.76562 16.2656 2.23438C16.7344 2.70312 17.125 3.28906 17.3594 3.91406C17.5156 4.46094 17.6328 5.125 17.7109 5.86719ZM15.8359 14.6562C15.9922 14.2266 16.0703 13.5234 16.1484 12.5469C16.1484 12 16.1875 11.1797 16.1875 10.125V8.875C16.1875 7.82031 16.1484 7 16.1484 6.45312C16.0703 5.47656 15.9922 4.77344 15.8359 4.34375C15.5234 3.5625 14.9375 2.97656 14.1562 2.66406C13.7266 2.50781 13.0234 2.42969 12.0469 2.35156C11.4609 2.35156 10.6406 2.3125 9.625 2.3125H8.375C7.32031 2.3125 6.5 2.35156 5.95312 2.35156C4.97656 2.42969 4.27344 2.50781 3.84375 2.66406C3.02344 2.97656 2.47656 3.5625 2.16406 4.34375C2.00781 4.77344 1.89062 5.47656 1.85156 6.45312C1.8125 7.03906 1.8125 7.85938 1.8125 8.875V10.125C1.8125 11.1797 1.8125 12 1.85156 12.5469C1.89062 13.5234 2.00781 14.2266 2.16406 14.6562C2.47656 15.4766 3.0625 16.0234 3.84375 16.3359C4.27344 16.4922 4.97656 16.6094 5.95312 16.6484C6.5 16.6875 7.32031 16.6875 8.375 16.6875H9.625C10.6797 16.6875 11.5 16.6875 12.0469 16.6484C13.0234 16.6094 13.7266 16.4922 14.1562 16.3359C14.9375 16.0234 15.5234 15.4375 15.8359 14.6562Z'></path></svg>"
56
+ "label": "Other languages",
57
+ "link": "https://www.qld.gov.au/help/languages"
113
58
  }
114
59
  ]
60
+ },
61
+ "followLinks": [
62
+ {
63
+ "label": "Facebook",
64
+ "link": "#",
65
+ "icon": "facebook",
66
+ "target": "_blank"
67
+ },
68
+ {
69
+ "label": "LinkedIn",
70
+ "link": "#",
71
+ "icon": "linkedin",
72
+ "target": "_blank"
73
+ },
74
+ {
75
+ "label": "X (Twitter)",
76
+ "link": "#",
77
+ "icon": "x",
78
+ "target": "_blank"
79
+ },
80
+ {
81
+ "label": "Youtube",
82
+ "link": "#",
83
+ "icon": "youtube",
84
+ "target": "_blank"
85
+ },
86
+ {
87
+ "label": "Instagram",
88
+ "link": "#",
89
+ "icon": "instagram",
90
+ "target": "_blank"
91
+ }
92
+ ],
93
+ "customLinks": [
94
+ {
95
+ "label": "Link 1",
96
+ "link": "https://www.example.com",
97
+ "target": "_blank"
98
+ },
99
+ {
100
+ "label": "Link 2",
101
+ "link": "https://www.example.com"
102
+ },
103
+ {
104
+ "label": "Link 3",
105
+ "link": "https://www.example.com"
106
+ },
107
+ {
108
+ "label": "Link 4",
109
+ "link": "https://www.example.com"
110
+ },
111
+ {
112
+ "label": "Link 5",
113
+ "link": "https://www.example.com",
114
+ "target": "_blank"
115
+ },
116
+ {
117
+ "label": "Link 6",
118
+ "link": "https://www.example.com"
119
+ },
120
+ {
121
+ "label": "Link 7",
122
+ "link": "https://www.example.com"
123
+ }
124
+ ],
125
+ "acknowledgements": [
126
+ {
127
+ "title": "Acknowledgement of Country",
128
+ "content": "<p>We pay our respects to the Aboriginal and Torres Strait Islander ancestors of this land, their spirits and their legacy. The foundations laid by these ancestors—our First Nations peoples—give strength, inspiration and courage to current and future generations towards creating a better Queensland.</p>"
129
+ }
130
+ ],
131
+ "footerLogo": {
132
+ "show": true,
133
+ "src": "",
134
+ "alt": "Queensland Government"
135
+ },
136
+ "copyright": {
137
+ "content": "&copy; The State of Queensland (Organisation)",
138
+ "showYearFrom": false,
139
+ "yearFrom": "1995"
140
+ },
141
+ "organisationLink": {
142
+ "show": true,
143
+ "URL": "https://www.qld.gov.au",
144
+ "text": "Queensland Government"
145
+ },
146
+ "optionalColumn1": {
147
+ "hasBorderColumn": true,
148
+ "title": "Optional Column 1",
149
+ "content": "",
150
+ "showFollowLinks": false,
151
+ "showCustomLinks": false
152
+ },
153
+ "optionalColumn2": {
154
+ "hasBorderColumn": true,
155
+ "title": "Follow us",
156
+ "content": "",
157
+ "showFollowLinks": true,
158
+ "showCustomLinks": false
115
159
  }
116
160
  }
@@ -1,51 +1,39 @@
1
1
  {
2
- "icon-root": "./assets/img/svg-icons.svg",
3
- "icons": {
4
- "menu-icon": "qld__icon__mobile-menu",
5
- "search-icon": "qld__icon__search",
6
- "close-icon": "qld__icon__close",
7
- "chevron_down": "qld__icon__chevron-down"
8
- },
9
- "sitePreHeader": {
10
- "url": {
11
- "value": "https://qld.gov.au"
12
- },
13
- "text": {
14
- "value": "www.qld.gov.au"
2
+ "isCoBrand": true,
3
+ "preHeader": {
4
+ "globalLink": {
5
+ "text": "www.qld.gov.au",
6
+ "url": "https://qld.gov.au"
15
7
  },
16
- "CTA": [
8
+ "actions": [
17
9
  {
18
10
  "id": "CTAone",
19
- "url": {
20
- "value": "#"
21
- },
22
- "text": {
23
- "value": "Get support to quit"
24
- }
11
+ "url": "#",
12
+ "text": "Get support to quit",
13
+ "icon": "profile"
25
14
  }
26
15
  ]
27
16
  },
28
- "siteHeader": {
29
- "config": {
30
- "masterbrand_enabled": false,
31
- "subbrand_enabled": true,
32
- "cobrand_enabled": false,
33
- "endorsed_enabled": false,
34
- "standalone_enabled": false
35
- },
36
- "url": {
37
- "value": "https://qld.gov.au"
38
- },
39
- "logo": {},
40
- "secondaryType": {
41
- "logo": {
42
- "value": ""
43
- },
44
- "siteTitle": {
45
- "value": "Vaping Exposed"
17
+ "mainContent": {
18
+ "url": "https://qld.gov.au",
19
+ "logo": null,
20
+ "secondaryLogo": null,
21
+ "siteTitle": "Department of Seniors, Disability Services and Aboriginal and Torres Strait Islander Partnerships",
22
+ "subline": ""
23
+ },
24
+ "assets": {
25
+ "SVGSpritePath": "./assets/img/icons-sprite.svg",
26
+ "siteSearch": {
27
+ "value": "#",
28
+ "placeholder": "",
29
+ "label": "",
30
+ "formAction": {
31
+ "url": "https://www.forgov.qld.gov.au/search"
46
32
  },
47
- "subline": {
48
- "value": ""
33
+ "options": {
34
+ "borderStyle": {
35
+ "full": true
36
+ }
49
37
  }
50
38
  }
51
39
  }
@@ -1,172 +1,138 @@
1
1
  {
2
- "icon-root": "./assets/img/svg-icons.svg",
3
- "icons": {
4
- "menu-icon": "qld__icon__mobile-menu",
5
- "search-icon": "qld__icon__search",
6
- "close-icon": "qld__icon__close",
7
- "chevron_down": "qld__icon__chevron-down"
8
- },
9
- "sitePreHeader": {
10
- "url": {
11
- "value": "https://qld.gov.au"
12
- },
13
- "text": {
14
- "value": "www.qld.gov.au"
2
+ "isEndorsedBrand": true,
3
+ "preHeader": {
4
+ "globalLink": {
5
+ "text": "www.qld.gov.au",
6
+ "url": "https://qld.gov.au"
15
7
  },
16
- "CTA": [
8
+ "actions": [
17
9
  {
18
10
  "id": "CTAone",
19
- "url": {
20
- "value": "#"
21
- },
22
- "text": {
23
- "value": "For Queenslanders"
24
- },
25
- "dropdown_enabled": true,
26
- "dropdown_options": {
27
- "dropdown_type": "list",
28
- "view_more": true,
29
- "label": "View all",
30
- "url": "https://www.qld.gov.au/queenslanders",
31
- "target": "_blank",
32
- "dropdown_config": {
33
- "groups": [
34
- {
35
- "action": "_blank",
36
- "url": "#",
37
- "label": "Transport and motoring"
38
- },
39
- {
40
- "action": "_blank",
41
- "url": "#",
42
- "label": "Employment and jobs"
43
- },
44
- {
45
- "action": "_blank",
46
- "url": "#",
47
- "label": "Education and training"
48
- },
49
- {
50
- "action": "_blank",
51
- "url": "#",
52
- "label": "Queensland and its government"
53
- },
54
- {
55
- "action": "_blank",
56
- "url": "#",
57
- "label": "Health and wellbeing"
58
- },
59
- {
60
- "action": "_blank",
61
- "url": "#",
62
- "label": "Community support"
63
- }
64
- ]
65
- }
11
+ "url": "#",
12
+ "text": "For Queenslanders",
13
+ "dropdown": {
14
+ "type": "list",
15
+ "viewMore": {
16
+ "text": "View all",
17
+ "url": "https://www.qld.gov.au/queenslanders",
18
+ "target": "_blank"
19
+ },
20
+ "items": [
21
+ {
22
+ "target": "_blank",
23
+ "url": "#",
24
+ "text": "Transport and motoring"
25
+ },
26
+ {
27
+ "target": "_blank",
28
+ "url": "#",
29
+ "text": "Employment and jobs"
30
+ },
31
+ {
32
+ "target": "_blank",
33
+ "url": "#",
34
+ "text": "Education and training"
35
+ },
36
+ {
37
+ "target": "_blank",
38
+ "url": "#",
39
+ "text": "Queensland and its government"
40
+ },
41
+ {
42
+ "target": "_blank",
43
+ "url": "#",
44
+ "text": "Health and wellbeing"
45
+ },
46
+ {
47
+ "target": "_blank",
48
+ "url": "#",
49
+ "text": "Community support"
50
+ }
51
+ ]
66
52
  }
67
53
  },
68
54
  {
69
55
  "id": "CTAtwo",
70
- "url": {
71
- "value": "#"
72
- },
73
- "text": {
74
- "value": "Business and Industry"
75
- },
76
- "dropdown_enabled": true,
77
- "dropdown_options": {
78
- "dropdown_type": "list",
79
- "view_more": true,
80
- "label": "View all",
81
- "url": "https://www.qld.gov.au/queenslanders",
82
- "target": "_blank",
83
- "dropdown_config": {
84
- "groups": [
85
- {
86
- "action": "_blank",
87
- "url": "#",
88
- "label": "Transport and motoring"
89
- },
90
- {
91
- "action": "_blank",
92
- "url": "#",
93
- "label": "Employment and jobs"
94
- },
95
- {
96
- "action": "_blank",
97
- "url": "#",
98
- "label": "Education and training"
99
- },
100
- {
101
- "action": "_blank",
102
- "url": "#",
103
- "label": "Queensland and its government"
104
- },
105
- {
106
- "action": "_blank",
107
- "url": "#",
108
- "label": "Health and wellbeing"
109
- },
110
- {
111
- "action": "_blank",
112
- "url": "#",
113
- "label": "Community support"
114
- }
115
- ]
116
- }
56
+ "url": "#",
57
+ "text": "Business and Industry",
58
+ "dropdown": {
59
+ "type": "list",
60
+ "viewMore": {
61
+ "text": "View all",
62
+ "url": "https://www.qld.gov.au/queenslanders",
63
+ "target": "_blank"
64
+ },
65
+ "items": [
66
+ {
67
+ "target": "_blank",
68
+ "url": "#",
69
+ "text": "Transport and motoring"
70
+ },
71
+ {
72
+ "target": "_blank",
73
+ "url": "#",
74
+ "text": "Employment and jobs"
75
+ },
76
+ {
77
+ "target": "_blank",
78
+ "url": "#",
79
+ "text": "Education and training"
80
+ },
81
+ {
82
+ "target": "_blank",
83
+ "url": "#",
84
+ "text": "Queensland and its government"
85
+ },
86
+ {
87
+ "target": "_blank",
88
+ "url": "#",
89
+ "text": "Health and wellbeing"
90
+ },
91
+ {
92
+ "target": "_blank",
93
+ "url": "#",
94
+ "text": "Community support"
95
+ }
96
+ ]
117
97
  }
118
98
  },
119
99
  {
120
100
  "id": "CTAthree",
121
- "url": {
122
- "value": "#"
123
- },
124
- "text": {
125
- "value": "Login"
126
- },
127
- "dropdown_enabled": true,
128
- "dropdown_options": {
129
- "dropdown_type": "form",
130
- "dropdown_config": {
131
- "content": "<div></div>"
132
- }
101
+ "url": "#",
102
+ "text": "Login",
103
+ "dropdown": {
104
+ "type": "html",
105
+ "HTMLContent": "<div></div>"
133
106
  }
134
107
  }
135
108
  ]
136
109
  },
137
- "siteHeader": {
138
- "config": {
139
- "masterbrand_enabled": false,
140
- "subbrand_enabled": false,
141
- "cobrand_enabled": false,
142
- "endorsed_enabled": true,
143
- "standalone_enabled": false
110
+ "mainContent": {
111
+ "url": "https://qld.gov.au",
112
+ "logo": {
113
+ "src": "assets/img/endorsed.svg",
114
+ "altText": "Primary logo Endorsed brand alt text"
144
115
  },
145
- "url": {
146
- "value": "https://qld.gov.au"
116
+ "secondaryLogo": {
117
+ "src": "assets/img/endorsed.svg",
118
+ "altText": "Secondary logo Endorsed brand alt text"
147
119
  },
148
- "secondaryType": {
149
- "logo": {
150
- "value": "assets/img/endorsed.svg"
151
- },
152
- "siteTitle": {
153
- "value": "Endorsed brand example"
154
- },
155
- "subline": {
156
- "value": ""
157
- }
158
- }
120
+ "siteTitle": "Endorsed brand example",
121
+ "subline": ""
159
122
  },
160
- "siteSearchAsset": {
161
- "value": "#",
162
- "placeholder": "",
163
- "label": "",
164
- "formAction": {
165
- "url": "https://www.forgov.qld.gov.au/search"
166
- },
167
- "options": {
168
- "borderStyle": {
169
- "full": true
123
+ "assets": {
124
+ "SVGSpritePath": "./assets/img/icons-sprite.svg",
125
+ "siteSearch": {
126
+ "value": "#",
127
+ "placeholder": "",
128
+ "label": "",
129
+ "formAction": {
130
+ "url": "https://www.forgov.qld.gov.au/search"
131
+ },
132
+ "options": {
133
+ "borderStyle": {
134
+ "full": true
135
+ }
170
136
  }
171
137
  }
172
138
  }