@qld-gov-au/qgds-bootstrap5 2.0.2 → 2.0.3
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.
- package/.storybook/preview.js +4 -1
- package/dist/assets/components/bs5/accordion/accordion.hbs +0 -3
- package/dist/assets/components/bs5/directionLinks/directionLinks.hbs +2 -1
- package/dist/assets/components/bs5/head/head.hbs +1 -1
- package/dist/assets/components/bs5/header/header.hbs +6 -9
- package/dist/assets/components/bs5/navbar/navbar.hbs +21 -14
- package/dist/assets/components/bs5/pageLayout/templates/contentPageWithForm.hbs +1 -1
- package/dist/assets/components/bs5/pageLayout/templates/contentPageWithSideNavigation.hbs +140 -108
- package/dist/assets/components/bs5/pageLayout/templates/homePage.hbs +1 -1
- package/dist/assets/components/bs5/sidenav/sidenav.hbs +56 -37
- package/dist/assets/css/qld.bootstrap.css +1 -6
- package/dist/assets/css/qld.bootstrap.css.map +3 -3
- package/dist/assets/js/handlebars.init.min.js +228 -175
- package/dist/assets/js/handlebars.init.min.js.map +2 -2
- package/dist/assets/js/qld.bootstrap.min.js +5 -5
- package/dist/assets/js/qld.bootstrap.min.js.map +4 -4
- package/dist/assets/node/handlebars.init.min.js +28 -24
- package/dist/assets/node/handlebars.init.min.js.map +2 -2
- package/dist/components/bs5/accordion/accordion.hbs +0 -3
- package/dist/components/bs5/directionLinks/directionLinks.hbs +2 -1
- package/dist/components/bs5/head/head.hbs +1 -1
- package/dist/components/bs5/header/header.hbs +6 -9
- package/dist/components/bs5/navbar/navbar.hbs +21 -14
- package/dist/components/bs5/pageLayout/templates/contentPageWithForm.hbs +1 -1
- package/dist/components/bs5/pageLayout/templates/contentPageWithSideNavigation.hbs +140 -108
- package/dist/components/bs5/pageLayout/templates/homePage.hbs +1 -1
- package/dist/components/bs5/sidenav/sidenav.hbs +56 -37
- package/dist/package.json +2 -4
- package/dist/sample-data/navbar/navbar.data.json +91 -25
- package/dist/sample-data/pagination/pagination.data.json +19 -19
- package/dist/sample-data/sidenav/sidenav.data.json +81 -80
- package/package.json +2 -4
- package/src/components/bs5/accordion/Accordion.mdx +34 -10
- package/src/components/bs5/accordion/__snapshots__/accordion.test.js.snap +0 -3
- package/src/components/bs5/accordion/accordion.hbs +0 -3
- package/src/components/bs5/accordion/mdx/_designResources.mdx +6 -0
- package/src/components/bs5/accordion/mdx/_usageInstructions.mdx +10 -0
- package/src/components/bs5/blockquote/blockquote.scss +47 -7
- package/src/components/bs5/button/button.scss +4 -0
- package/src/components/bs5/directionLinks/directionLinks.hbs +2 -1
- package/src/components/bs5/directionLinks/directionLinks.scss +27 -80
- package/src/components/bs5/directionLinks/directionLinks.stories.js +7 -14
- package/src/components/bs5/header/header.hbs +6 -9
- package/src/components/bs5/inpagenav/inpagenav.scss +7 -3
- package/src/components/bs5/navbar/navbar.data.json +91 -25
- package/src/components/bs5/navbar/navbar.functions.js +4 -0
- package/src/components/bs5/navbar/navbar.hbs +21 -14
- package/src/components/bs5/navbar/navbar.scss +219 -166
- package/src/components/bs5/navbar/navbar.stories.js +31 -2
- package/src/components/bs5/pageLayout/pageLayout.stories.js +3 -1
- package/src/components/bs5/pageLayout/templates/contentPageWithForm.hbs +1 -1
- package/src/components/bs5/pageLayout/templates/contentPageWithSideNavigation.hbs +140 -108
- package/src/components/bs5/pageLayout/templates/homePage.hbs +1 -1
- package/src/components/bs5/pagination/pagination.data.json +19 -19
- package/src/components/bs5/pagination/pagination.scss +37 -63
- package/src/components/bs5/promotionalPanel/promotionalPanel.scss +23 -22
- package/src/components/bs5/quickexit/quickexit.functions.js +24 -37
- package/src/components/bs5/quickexit/quickexit.scss +4 -0
- package/src/components/bs5/sidenav/sidenav.data.json +81 -80
- package/src/components/bs5/sidenav/sidenav.hbs +56 -37
- package/src/components/bs5/sidenav/sidenav.scss +236 -151
- package/src/components/bs5/skiplinks/skipLinks.functions.js +0 -9
- package/src/components/bs5/skiplinks/skipLinks.test.js +0 -1
- package/src/components/common/layout/container.scss +5 -0
- package/src/components/common/layout/content.scss +16 -8
- package/src/css/main.scss +0 -7
- package/src/css/qld-theme.scss +1 -0
- package/src/css/utilities/_index.scss +1 -0
- package/src/css/utilities/sr-only.scss +5 -0
- package/src/js/qld.bootstrap.js +1 -9
- package/src/stories/documentation/_storybookDocsTabs.jsx +63 -0
- package/src/stories/documentation/storybook-documentation.scss +51 -0
- package/src/components/bs5/pagination/health-icon-sprite.svg +0 -156
package/.storybook/preview.js
CHANGED
|
@@ -85,7 +85,10 @@ const preview = {
|
|
|
85
85
|
config: {},
|
|
86
86
|
options: {
|
|
87
87
|
runOnly: ["wcag2a", "wcag2aa", "wcag21a", "wcag21aa", "best-practice"],
|
|
88
|
-
checks: {
|
|
88
|
+
checks: {
|
|
89
|
+
"color-contrast": { options: { noScroll: true } },
|
|
90
|
+
region: { enabled: false },
|
|
91
|
+
},
|
|
89
92
|
restoreScroll: true,
|
|
90
93
|
},
|
|
91
94
|
},
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
<!-- QGDS Component: Accordion -->
|
|
2
2
|
<div class="accordion-group">
|
|
3
|
-
|
|
4
3
|
{{#if toggleAll}}
|
|
5
4
|
<div class="accordion-toggle">
|
|
6
5
|
<button class="accordion-toggle-btn accordion-toggle-btn--closed" type="button">Open all</button>
|
|
@@ -22,7 +21,5 @@
|
|
|
22
21
|
</div>
|
|
23
22
|
</div>
|
|
24
23
|
{{/each }}
|
|
25
|
-
|
|
26
24
|
</div>
|
|
27
|
-
|
|
28
25
|
</div>
|
|
@@ -5,5 +5,6 @@
|
|
|
5
5
|
{{~#if target}} target="{{target}}"{{/if~}}
|
|
6
6
|
{{~#if arialabel}} aria-label="{{arialabel}}" {{/if~}}>
|
|
7
7
|
{{{label}}}
|
|
8
|
-
<span class="icon" aria-hidden="true"></span>
|
|
8
|
+
{{!-- <span class="icon" aria-hidden="true"></span> --}}
|
|
9
|
+
<span class="qld-icon qld-icon-md qld-icon-arrow-{{class}}" aria-hidden="true"></span>
|
|
9
10
|
</a>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
<!-- VERSION_DETAILS={"project_id":"@qld-gov-au/qgds-bootstrap5","version":"2.0.
|
|
2
|
+
<!-- VERSION_DETAILS={"project_id":"@qld-gov-au/qgds-bootstrap5","version":"2.0.3","branch":"HEAD","tag":"v2.0.3","commit":"fa72cd132ffaf157e0fe59ce291db6db0d2f2554","majorVersion":"v2"} -->
|
|
3
3
|
|
|
4
4
|
{{! Select environment, used verbatium if not using predefind key
|
|
5
5
|
cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
<svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg"
|
|
24
24
|
class="qld-header-dropdown-icon ">
|
|
25
|
-
<use href="{{
|
|
25
|
+
<use href="{{../assets.SVGSpritePath}}#qgds-icon-chevron-down"
|
|
26
26
|
aria-hidden="true"></use>
|
|
27
27
|
</svg>
|
|
28
28
|
</a>
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<a class="qld-header-link dropdown-item " href="{{url}}" {{#if target}}target="{{target}}"{{/if}}>
|
|
36
36
|
{{text}}
|
|
37
37
|
<svg width="24" height="24" class="qld-header-icon qld-header-dropdown-item-icon">
|
|
38
|
-
<use href="{{
|
|
38
|
+
<use href="{{ ../../assets.SVGSpritePath }}#qgds-icon-arrow-right"
|
|
39
39
|
aria-hidden="true"></use>
|
|
40
40
|
</svg>
|
|
41
41
|
</a>
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
<a class="qld-header-link" href="{{url}}">
|
|
67
67
|
{{#if icon}}
|
|
68
68
|
<svg class="qld-header-link-icon">
|
|
69
|
-
<use href="{{
|
|
69
|
+
<use href="{{ ../assets.SVGSpritePath }}#qgds-icon-{{icon}}" aria-hidden="true"></use>
|
|
70
70
|
</svg>{{/if}}{{{text}}}
|
|
71
71
|
</a>
|
|
72
72
|
{{/if}}
|
|
@@ -80,11 +80,8 @@
|
|
|
80
80
|
<button id="qld-header-toggle-search-button" aria-controls="qld-header-search"
|
|
81
81
|
class="qld-header-toggle-main-nav" aria-expanded="false">
|
|
82
82
|
<svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg">
|
|
83
|
-
<use class="icon-search"
|
|
84
|
-
|
|
85
|
-
style="display: block;"></use>
|
|
86
|
-
<use class="icon-close" href="{{@root.assets.SVGSpritePath}}#qgds-icon-close"
|
|
87
|
-
style="display: none;"></use>
|
|
83
|
+
<use class="icon-search" href="{{ assets.SVGSpritePath }}#qgds-icon-search" aria-hidden="true" style="display: block;"></use>
|
|
84
|
+
<use class="icon-close" href="{{ assets.SVGSpritePath}}#qgds-icon-close" style="display: none;"></use>
|
|
88
85
|
</svg>
|
|
89
86
|
<span class="qld-header-toggle-main-nav-text">Search</span>
|
|
90
87
|
</button>
|
|
@@ -94,7 +91,7 @@
|
|
|
94
91
|
data-bs-toggle="collapse" data-bs-target="#main-nav" aria-controls="main-nav" aria-expanded="false"
|
|
95
92
|
aria-label="Open menu">
|
|
96
93
|
<svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg">
|
|
97
|
-
<use href="{{
|
|
94
|
+
<use href="{{assets.SVGSpritePath}}#qgds-icon-menu" aria-hidden="true">
|
|
98
95
|
</use>
|
|
99
96
|
</svg>
|
|
100
97
|
<span class="qld-header-toggle-main-nav-text">Menu</span>
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
<ul class="navbar-nav">
|
|
13
13
|
{{#each navigation}}
|
|
14
14
|
{{#if navigationItems}}
|
|
15
|
-
<li class="nav-item dropdown{{#if
|
|
16
|
-
<a class="nav-link{{#unless ../metadata.verticalOrientation}} dropdown-toggle{{/unless}}" aria-current="page" href="{{url}}"{{#if target}} target="{{target}}"{{/if}}{{#ifCond target '==' '_blank'}} rel="noopener noreferrer"{{/ifCond}} role="button" data-bs-toggle="dropdown"
|
|
15
|
+
<li class="nav-item dropdown{{#if alternativeColor}} alt{{/if}}{{#if mobileOnly}} mobile-only{{/if}}">
|
|
16
|
+
<a class="nav-link{{#unless ../metadata.verticalOrientation}} dropdown-toggle{{/unless}}{{#if currentPage}} active{{/if}}{{#if dropdownOptions.hasNoLink}} hasNoLink{{/if}}" {{#if currentPage}}aria-current="page"{{/if}}{{#if dropdownOptions.hasNoLink}} href="#"{{else}} href="{{url}}"{{/if}}{{#if target}} target="{{target}}"{{/if}}{{#ifCond target '==' '_blank'}} rel="noopener noreferrer"{{/ifCond}} role="button" data-bs-toggle="dropdown"
|
|
17
17
|
aria-expanded="false">
|
|
18
18
|
{{#if iconName}}
|
|
19
19
|
<span class="qld-icon qld-icon-md {{iconName}}" aria-hidden="true"></span>
|
|
@@ -26,22 +26,29 @@
|
|
|
26
26
|
{{text}}
|
|
27
27
|
{{/if}}
|
|
28
28
|
</a>
|
|
29
|
-
<button class="nav-link dropdown-toggle" aria-current="page"
|
|
29
|
+
<button class="nav-link dropdown-toggle"{{#if currentPage}} aria-current="page"{{/if}} data-bs-toggle="dropdown" aria-expanded="false" aria-selected="false" aria-label="Toggle navigation">
|
|
30
30
|
<span class="visually-hidden">Expand</span>
|
|
31
31
|
</button>
|
|
32
32
|
<ul class="dropdown-menu">
|
|
33
|
-
|
|
34
|
-
<
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
{{#unless dropdownOptions.hasNoLink}}
|
|
34
|
+
<li>
|
|
35
|
+
<a class="dropdown-item parent-link" role="button"{{#if currentPage}} aria-current="page"{{/if}}{{#if target}} target="{{target}}"{{/if}}{{#ifCond target '==' '_blank'}} rel="noopener noreferrer"{{/ifCond}}>{{#if dropdownOptions.alternativeText}}{{dropdownOptions.alternativeText}}{{else}}{{text}}{{/if}}</a>
|
|
36
|
+
{{#if dropdownOptions.description}}
|
|
37
|
+
<p>{{dropdownOptions.description}}</p>
|
|
38
|
+
{{/if}}
|
|
39
|
+
</li>
|
|
40
|
+
{{/unless}}
|
|
39
41
|
{{#each navigationItems}}
|
|
40
42
|
<li{{#if mobileOnly}} class="mobile-only"{{/if}}>
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
<p>{{description}}</p>
|
|
43
|
+
{{#if isHTML}}
|
|
44
|
+
{{{htmlContent}}}
|
|
44
45
|
{{/if}}
|
|
46
|
+
{{#unless isHTML}}
|
|
47
|
+
<a class="dropdown-item" href="{{url}}"{{#if target}} target="{{target}}"{{/if}}{{#ifCond target '==' '_blank'}} rel="noopener noreferrer"{{/ifCond}}>{{text}}</a>
|
|
48
|
+
{{#if description}}
|
|
49
|
+
<p>{{description}}</p>
|
|
50
|
+
{{/if}}
|
|
51
|
+
{{/unless}}
|
|
45
52
|
</li>
|
|
46
53
|
{{/each}}
|
|
47
54
|
{{#if dropdownOptions.viewAllHref}}
|
|
@@ -52,8 +59,8 @@
|
|
|
52
59
|
</ul>
|
|
53
60
|
</li>
|
|
54
61
|
{{else}}
|
|
55
|
-
<li class="nav-item{{#if
|
|
56
|
-
<a class="nav-link" aria-current="page" href="{{url}}"{{#if target}} target="{{target}}"{{/if}}{{#ifCond target '==' '_blank'}} rel="noopener noreferrer"{{/ifCond}}>
|
|
62
|
+
<li class="nav-item{{#if alternativeColor}} alt{{/if}}{{#if mobileOnly}} mobile-only{{/if}}">
|
|
63
|
+
<a class="nav-link{{#if currentPage}} active{{/if}}"{{#if currentPage}} aria-current="page"{{/if}} href="{{url}}"{{#if target}} target="{{target}}"{{/if}}{{#ifCond target '==' '_blank'}} rel="noopener noreferrer"{{/ifCond}}>
|
|
57
64
|
{{#if iconName}}
|
|
58
65
|
<span class="qld-icon qld-icon-md {{iconName}}" aria-hidden="true"></span>
|
|
59
66
|
{{#if hideLabel}}
|
|
@@ -2,122 +2,154 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
|
|
4
4
|
<head>
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>{{title}}</title>
|
|
8
8
|
</head>
|
|
9
9
|
|
|
10
10
|
<body>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
11
|
+
<!-- Global ALert -->
|
|
12
|
+
{{> globalAlert globalAlert}}
|
|
13
|
+
|
|
14
|
+
<!-- Header -->
|
|
15
|
+
{{> header header }}
|
|
16
|
+
|
|
17
|
+
<!-- Navbar -->
|
|
18
|
+
{{> navbar navbar}}
|
|
19
|
+
|
|
20
|
+
{{#if banner}}
|
|
21
|
+
{{> banner banner}}
|
|
22
|
+
{{/if}}
|
|
23
|
+
|
|
24
|
+
<main>
|
|
25
|
+
|
|
26
|
+
<div class="container mt-40 mt-lg-64">
|
|
27
|
+
{{#if breadcrumbs}}
|
|
28
|
+
<div class="row">
|
|
29
|
+
<div class="col-12">
|
|
30
|
+
<!-- breadcrumbs -->
|
|
31
|
+
{{> breadcrumbs breadcrumbs}}
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
{{/if}}
|
|
35
|
+
|
|
36
|
+
<!-- Main Grid Layout: Side navigation and content -->
|
|
37
|
+
<div class="row">
|
|
38
|
+
|
|
39
|
+
<!-- Side navigation column -->
|
|
40
|
+
<div class="col-12 col-lg-3 mt-0 pe-lg-0">
|
|
41
|
+
{{> sidenav sidenav}}
|
|
42
|
+
</div>
|
|
43
|
+
<!-- End Side navigation column -->
|
|
44
|
+
|
|
45
|
+
<!-- Content Column -->
|
|
46
|
+
<div class="col-lg-8 mt-40 mt-lg-0 ms-lg-32 ps-lg-32">
|
|
47
|
+
|
|
48
|
+
{{#if inpagenav}}
|
|
49
|
+
<!-- Inpagenav Component (.mb-64 provides vertical spacing) -->
|
|
50
|
+
{{> inpagenav inpagenav}}
|
|
51
|
+
{{/if}}
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
<!-- Content Section with top vertical spacer (2rem mobile, 4rem LG and above) -->
|
|
56
|
+
<div class="mt-32 mt-lg-64">
|
|
57
|
+
<h2 id="section-heading">Section heading (H2)</h2>
|
|
58
|
+
<p>
|
|
59
|
+
Lorem ipsum dolor sit amet consectetur. Sed facilisis purus eu convallis ut. Morbi condimentum volutpat
|
|
60
|
+
feugiat pellentesque. Auctor amet auctor dolor metus eget diam. Facilisis vitae venenatis vestibulum
|
|
61
|
+
libero ut. Luctus diam pellentesque ipsum accumsan amet commodo.
|
|
62
|
+
</p>
|
|
63
|
+
<p>
|
|
64
|
+
Convallis et ullamcorper ac nisi ornare sed facilisis sem. Scelerisque malesuada vivamus tellus mi vitae
|
|
65
|
+
amet ornare donec malesuada. Nascetur senectus aenean fames id turpis.
|
|
66
|
+
</p>
|
|
67
|
+
</div>
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
<!-- Content Section with top vertical spacer (2rem mobile, 4rem LG and above) -->
|
|
72
|
+
<div class="mt-32 mt-lg-64">
|
|
73
|
+
|
|
74
|
+
<h2 id="content-heading">Content heading (H2)</h2>
|
|
75
|
+
|
|
76
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
|
|
77
|
+
|
|
78
|
+
{{#if calloutdata}}
|
|
79
|
+
<!-- Callout Component -->
|
|
80
|
+
{{> callout calloutdata}}
|
|
81
|
+
{{/if}}
|
|
82
|
+
</div>
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
<!-- Content Section with top vertical spacer (2rem mobile, 2.5rem LG and above) -->
|
|
87
|
+
<div class="mt-32 mt-lg-40">
|
|
88
|
+
<h3 id="inspection">Pre-registration inspection (H3)</h3>
|
|
89
|
+
<p>Information about pre-registration inspection requirements.</p>
|
|
90
|
+
|
|
91
|
+
<h4 id="fees-and-charges">Fees and charges (H4)</h4>
|
|
92
|
+
<p>Details about fees and charges for vehicle registration.</p>
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
{{#if accordionItems}}
|
|
96
|
+
<!-- QGDS Accordion Component with 1.5rem vertical spacer -->
|
|
97
|
+
<div class="mt-24">
|
|
98
|
+
{{> accordion accordionItems}}
|
|
30
99
|
</div>
|
|
31
100
|
{{/if}}
|
|
101
|
+
</div>
|
|
32
102
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
incididunt ut labore et dolore magna aliqua.</p>
|
|
65
|
-
|
|
66
|
-
{{#if calloutdata}}
|
|
67
|
-
<!-- callout Section -->
|
|
68
|
-
{{> callout calloutdata}}
|
|
69
|
-
{{/if}}
|
|
70
|
-
|
|
71
|
-
<h3 id="inspection">Pre-registration inspection (H3)</h3>
|
|
72
|
-
<p>Information about pre-registration inspection requirements.</p>
|
|
73
|
-
|
|
74
|
-
<h4 id="fees-and-charges">Fees and charges (H4)</h4>
|
|
75
|
-
<p>Details about fees and charges for vehicle registration.</p>
|
|
76
|
-
|
|
77
|
-
</div>
|
|
78
|
-
|
|
79
|
-
{{#if accordionItems}}
|
|
80
|
-
<!-- accordion Section -->
|
|
81
|
-
<div class="my-5 px-1 px-md-32">
|
|
82
|
-
{{> accordion accordionItems}}
|
|
83
|
-
</div>
|
|
84
|
-
{{/if}}
|
|
85
|
-
|
|
86
|
-
{{#if video}}
|
|
87
|
-
<!-- video Section -->
|
|
88
|
-
<div class="my-5 px-1 px-md-32">
|
|
89
|
-
{{> video video}}
|
|
90
|
-
</div>
|
|
91
|
-
{{/if}}
|
|
92
|
-
|
|
93
|
-
<div class="my-5 p-1 p-md-32 bg-light">
|
|
94
|
-
<h2 id="inspection">Section heading (H2)</h2>
|
|
95
|
-
<p>Lorem ipsum dolor sit amet consectetur. Viverra eu pulvinar a eu mauris ac at ultricies
|
|
96
|
-
est.
|
|
97
|
-
Tincidunt ultrices commodo vestibulum non netus. </p>
|
|
98
|
-
<p>Mauris maecenas lacus hendrerit urna ultricies auctor. Sed tristique nascetur sapien
|
|
99
|
-
condimentum adipiscing augue quisque eu.</p>
|
|
100
|
-
|
|
101
|
-
{{> callToAction callToAction}}
|
|
102
|
-
</div>
|
|
103
|
-
|
|
104
|
-
{{#if table}}
|
|
105
|
-
<!-- table Section -->
|
|
106
|
-
<div class="my-5 px-1 px-md-32">
|
|
107
|
-
{{> table table}}
|
|
108
|
-
</div>
|
|
109
|
-
{{/if}}
|
|
110
|
-
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
|
|
114
|
-
<!-- Content Footer -->
|
|
115
|
-
{{> contentFooter contentFooter}}
|
|
103
|
+
<!-- Top vertical spacer: 2rem default (mobile), 4rem LG and above -->
|
|
104
|
+
<div class="mt-32 mt-lg-64">
|
|
105
|
+
{{#if video}}
|
|
106
|
+
<!-- QGDS Video Component -->
|
|
107
|
+
{{> video video}}
|
|
108
|
+
{{/if}}
|
|
109
|
+
</div>
|
|
110
|
+
|
|
111
|
+
<!-- Emphasis Container, with top vertical spacer: 2rem default (mobile), 4rem LG and above -->
|
|
112
|
+
<div class="mt-40 mt-lg-64 bg-light content-emphasis">
|
|
113
|
+
|
|
114
|
+
<h2 id="inspection">Section heading (H2) with emphasis</h2>
|
|
115
|
+
|
|
116
|
+
<p>Lorem ipsum dolor sit amet consectetur. Viverra eu pulvinar a eu mauris ac at ultricies est. Tincidunt ultrices commodo vestibulum non netus. </p>
|
|
117
|
+
|
|
118
|
+
<!-- QGDS Call To Action button -->
|
|
119
|
+
{{> callToAction callToAction}}
|
|
120
|
+
|
|
121
|
+
</div>
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
<!-- Top vertical spacer: 2rem default (mobile), 4rem LG and above -->
|
|
126
|
+
<div class="mt-32 mt-lg-64">
|
|
127
|
+
<h2 id="inspection">Section heading (H2)</h2>
|
|
128
|
+
<p>Lorem ipsum dolor sit amet consectetur. Viverra eu pulvinar a eu mauris ac at ultricies est. Tincidunt ultrices commodo vestibulum non netus. </p>
|
|
129
|
+
|
|
130
|
+
{{#if table}}
|
|
131
|
+
<!-- Table Component (.my-40 wrapper provides vertical spacing) -->
|
|
132
|
+
<div class="mt-24">
|
|
133
|
+
{{> table table}}
|
|
116
134
|
</div>
|
|
135
|
+
{{/if}}
|
|
136
|
+
</div>
|
|
137
|
+
|
|
117
138
|
</div>
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
139
|
+
<!-- End Main Content Section -->
|
|
140
|
+
|
|
141
|
+
</div>
|
|
142
|
+
<!-- End Content Column -->
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
<!-- QGDS Content Footer Component -->
|
|
146
|
+
<div class="mt-64">
|
|
147
|
+
{{> contentFooter contentFooter}}
|
|
148
|
+
</div>
|
|
149
|
+
|
|
150
|
+
</main>
|
|
151
|
+
<!-- Footer -->
|
|
152
|
+
{{> footer footer}}
|
|
121
153
|
</body>
|
|
122
154
|
|
|
123
155
|
</html>
|
|
@@ -1,66 +1,85 @@
|
|
|
1
|
-
<
|
|
2
|
-
|
|
1
|
+
<nav class="qld-side-navigation" aria-label="Side Navigation">
|
|
2
|
+
<button
|
|
3
|
+
class="accordion-button collapsed d-lg-none"
|
|
4
|
+
type="button"
|
|
5
|
+
data-bs-toggle="collapse"
|
|
6
|
+
data-bs-target="#sideNavCollapse"
|
|
7
|
+
aria-expanded="false"
|
|
8
|
+
aria-controls="sideNavCollapse"
|
|
9
|
+
>
|
|
10
|
+
{{isdefined collapseTitle "In this section"}}
|
|
11
|
+
</button>
|
|
12
|
+
<div class="nav-wrapper collapse d-lg-block" id="sideNavCollapse">
|
|
3
13
|
<h2 class="nav-title">
|
|
4
|
-
|
|
14
|
+
{{#if navtitlelink}}
|
|
5
15
|
<a class="nav-link" href="{{navtitlelink}}">{{navtitle}}</a>
|
|
6
|
-
|
|
16
|
+
{{else}}
|
|
7
17
|
{{navtitle}}
|
|
8
|
-
|
|
18
|
+
{{/if}}
|
|
9
19
|
</h2>
|
|
10
20
|
|
|
11
21
|
<!-- Level One -->
|
|
12
22
|
<ul class="nav" aria-label="section navigation">
|
|
13
23
|
|
|
14
|
-
|
|
24
|
+
{{#each navlist}}
|
|
15
25
|
<li class="nav-item {{class}}">
|
|
16
|
-
|
|
17
|
-
|
|
26
|
+
|
|
27
|
+
{{#contains "active" class}}
|
|
18
28
|
<span class="nav-link">{{label}}</span>
|
|
19
|
-
|
|
29
|
+
{{else}}
|
|
20
30
|
<a class="nav-link" href="{{link}}" target="{{target}}">
|
|
21
|
-
|
|
31
|
+
{{label}}
|
|
32
|
+
{{class}}
|
|
22
33
|
</a>
|
|
23
|
-
|
|
34
|
+
{{/contains}}
|
|
24
35
|
|
|
25
|
-
|
|
36
|
+
{{#if children}}
|
|
26
37
|
<!-- Level Two -->
|
|
27
38
|
<ul>
|
|
28
|
-
|
|
39
|
+
{{#each children}}
|
|
29
40
|
<li class="nav-item {{class}}">
|
|
30
|
-
|
|
31
|
-
{{#contains "active" class }}
|
|
32
|
-
<span class="nav-link">{{label}}</span>
|
|
33
|
-
{{else}}
|
|
34
|
-
<a class="nav-link" href="{{link}}" target="{{target}}">
|
|
35
|
-
{{label}} {{class}}
|
|
36
|
-
</a>
|
|
37
|
-
{{/contains}}
|
|
38
41
|
|
|
39
|
-
|
|
42
|
+
{{#contains "active" class}}
|
|
43
|
+
<span class="nav-link">{{label}}</span>
|
|
44
|
+
{{else}}
|
|
45
|
+
<a class="nav-link" href="{{link}}" target="{{target}}">
|
|
46
|
+
{{label}}
|
|
47
|
+
{{class}}
|
|
48
|
+
</a>
|
|
49
|
+
{{/contains}}
|
|
50
|
+
|
|
51
|
+
{{#if children}}
|
|
40
52
|
<!-- Level Three -->
|
|
41
53
|
<ul class="with-stalks">
|
|
42
|
-
|
|
54
|
+
{{#each children}}
|
|
43
55
|
<li class="nav-item {{class}}">
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
56
|
+
|
|
57
|
+
{{#contains "active" class}}
|
|
58
|
+
<span class="nav-link">{{label}}</span>
|
|
59
|
+
{{else}}
|
|
60
|
+
<a
|
|
61
|
+
class="nav-link"
|
|
62
|
+
href="{{link}}"
|
|
63
|
+
target="{{target}}"
|
|
64
|
+
>
|
|
65
|
+
{{label}}
|
|
66
|
+
{{class}}
|
|
67
|
+
</a>
|
|
68
|
+
{{/contains}}
|
|
52
69
|
|
|
53
70
|
</li>
|
|
54
|
-
|
|
71
|
+
{{/each}}
|
|
55
72
|
</ul>
|
|
56
|
-
|
|
73
|
+
{{/if}}
|
|
57
74
|
|
|
58
75
|
</li>
|
|
59
|
-
|
|
76
|
+
{{/each}}
|
|
60
77
|
</ul>
|
|
61
|
-
|
|
78
|
+
{{/if}}
|
|
62
79
|
|
|
63
80
|
</li>
|
|
64
|
-
|
|
81
|
+
{{/each}}
|
|
65
82
|
</ul>
|
|
66
|
-
</div>
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
</nav>
|