mod-build 4.0.6 → 4.0.7

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 (112) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/package.json +1 -1
  3. package/public/resources/scripts/abandonment/abandonment-1df90ee155f6c0893d90.min.js +2 -0
  4. package/public/resources/scripts/abandonment/abandonment.min.js +2 -0
  5. package/public/resources/scripts/callrail/callrail-5c7c537f04af468600cf.min.js +2 -0
  6. package/public/resources/scripts/callrail/callrail.min.js +2 -0
  7. package/public/resources/scripts/footer/footer-component-7b5e263f64568573ecc0.min.js +2 -0
  8. package/public/resources/scripts/footer/footer-component.min.js +2 -0
  9. package/public/resources/scripts/helpers/initNumericOnlyFields.min.js +2 -0
  10. package/public/resources/scripts/helpers/initNumericOnlyFields.min.js.map +1 -0
  11. package/public/resources/scripts/helpers/isZipCodeValid.min.js +2 -0
  12. package/public/resources/scripts/helpers/isZipCodeValid.min.js.map +1 -0
  13. package/public/resources/scripts/jornaya.hbs +35 -0
  14. package/public/resources/scripts/jornaya.html +35 -0
  15. package/public/resources/scripts/mod-alytics/modalytics-0ac7d7a5a72ea67a0f47.min.js +2 -0
  16. package/public/resources/scripts/mod-alytics/modalytics.min.js +2 -0
  17. package/public/resources/scripts/mod-form/form/homeowner-62292fdc874b2d2f5c82.min.js +2 -0
  18. package/public/resources/scripts/mod-form/form/homeowner.min.js +2 -0
  19. package/public/resources/scripts/mod-utils/modutils-15069d7b728a555fb3f7.min.js +2 -0
  20. package/public/resources/scripts/mod-utils/modutils.min.js +2 -0
  21. package/public/resources/scripts/trusted-form.hbs +38 -0
  22. package/public/resources/scripts/trusted-form.html +38 -0
  23. package/public/resources/styles/components/abandonment/abandonment-a8571a9e32ed6ef9acb4.min.css +1 -0
  24. package/public/resources/styles/components/abandonment/abandonment.min.css +1 -0
  25. package/public/resources/styles/components/footer/mod-footer-1fb2cec3278f29df57d0.min.css +1 -0
  26. package/public/resources/styles/components/footer/mod-footer.min.css +1 -0
  27. package/public/resources/styles/components/footer/qs-footer-9a3b0ab00428b03e6e9e.min.css +1 -0
  28. package/public/resources/styles/components/footer/qs-footer.min.css +1 -0
  29. package/siteconfig.js +1 -0
  30. package/src/accessible-components/button/_button.scss +319 -0
  31. package/src/accessible-components/button/back-button.html +8 -0
  32. package/src/accessible-components/button/button.html +17 -0
  33. package/src/accessible-components/carousel/_carousel.scss +112 -0
  34. package/src/accessible-components/carousel/carousel.html +25 -0
  35. package/src/accessible-components/carousel/carousel.js +3426 -0
  36. package/src/accessible-components/carousel/carousel.js.map +1 -0
  37. package/src/accessible-components/carousel/carousel.min.js +6 -0
  38. package/src/accessible-components/carousel/carousel.min.js.map +1 -0
  39. package/src/accessible-components/checkbox/_checkbox.scss +153 -0
  40. package/src/accessible-components/checkbox/checkbox-group.html +18 -0
  41. package/src/accessible-components/checkbox/checkbox.html +8 -0
  42. package/src/accessible-components/expand-collapse/_expand-collapse.scss +129 -0
  43. package/src/accessible-components/expand-collapse/expand-collapse.html +14 -0
  44. package/src/accessible-components/expand-collapse/expand-collapse.js +52 -0
  45. package/src/accessible-components/expand-collapse/expand-collapse.min.js +2 -0
  46. package/src/accessible-components/expand-collapse/expand-collapse.min.js.map +1 -0
  47. package/src/accessible-components/featured-block/_featured-block.scss +221 -0
  48. package/src/accessible-components/featured-block/featured-block.html +54 -0
  49. package/src/accessible-components/foot-assets/foot-assets.html +112 -0
  50. package/src/accessible-components/footer/footer.html +2 -0
  51. package/src/accessible-components/gtm-body/gtm-body.html +4 -0
  52. package/src/accessible-components/head/head.html +187 -0
  53. package/src/accessible-components/header/_header.scss +289 -0
  54. package/src/accessible-components/header/header.html +66 -0
  55. package/src/accessible-components/hero/_hero.scss +405 -0
  56. package/src/accessible-components/hero/hero.html +53 -0
  57. package/src/accessible-components/how-it-works/_how-it-works.scss +217 -0
  58. package/src/accessible-components/how-it-works/how-it-works-carousel.html +12 -0
  59. package/src/accessible-components/how-it-works/how-it-works-static.html +12 -0
  60. package/src/accessible-components/how-it-works/how-it-works.html +14 -0
  61. package/src/accessible-components/information/_information.scss +96 -0
  62. package/src/accessible-components/information/information.html +32 -0
  63. package/src/accessible-components/input/_input.scss +204 -0
  64. package/src/accessible-components/input/input.html +22 -0
  65. package/src/accessible-components/input/textarea.html +9 -0
  66. package/src/accessible-components/partners/_partners.scss +234 -0
  67. package/src/accessible-components/partners/partners.html +56 -0
  68. package/src/accessible-components/picture/picture.html +19 -0
  69. package/src/accessible-components/preloader/_preloader.scss +61 -0
  70. package/src/accessible-components/preloader/preloader.html +23 -0
  71. package/src/accessible-components/progress-bar/_progress-bar.scss +140 -0
  72. package/src/accessible-components/progress-bar/progress-bar.html +21 -0
  73. package/src/accessible-components/progress-bar/progress-bar.js +37 -0
  74. package/src/accessible-components/progress-bar/progress-bar.min.js +2 -0
  75. package/src/accessible-components/progress-bar/progress-bar.min.js.map +1 -0
  76. package/src/accessible-components/radio-button/_radio-button.scss +586 -0
  77. package/src/accessible-components/radio-button/radio-button.html +33 -0
  78. package/src/accessible-components/reviews/_reviews.scss +180 -0
  79. package/src/accessible-components/reviews/reviews-carousel.html +12 -0
  80. package/src/accessible-components/reviews/reviews-static.html +12 -0
  81. package/src/accessible-components/reviews/reviews.html +37 -0
  82. package/src/accessible-components/select/_select.scss +87 -0
  83. package/src/accessible-components/select/select.html +10 -0
  84. package/src/accessible-components/steps/_steps.scss +640 -0
  85. package/src/accessible-components/steps/defaultFormFieldConfig.json +109 -0
  86. package/src/accessible-components/steps/step-fields.html +38 -0
  87. package/src/accessible-components/steps/steps.html +168 -0
  88. package/src/accessible-components/tcpa/_tcpa.scss +49 -0
  89. package/src/accessible-components/tcpa/tcpa.html +9 -0
  90. package/src/accessible-components/tile/_tile.scss +117 -0
  91. package/src/accessible-components/tile/tile.html +14 -0
  92. package/src/accessible-components/value-props/_value-props.scss +102 -0
  93. package/src/accessible-components/value-props/value-props.html +17 -0
  94. package/src/accessible-components/zip-control/_zip-control.scss +79 -0
  95. package/src/accessible-components/zip-control/zip-control.html +10 -0
  96. package/src/resources/data/tcpa.json +4 -0
  97. package/src/resources/templates/modals/about/index.hbs +9 -0
  98. package/src/resources/templates/modals/about/index.html +9 -0
  99. package/src/resources/templates/modals/contact-us/index.hbs +348 -0
  100. package/src/resources/templates/modals/contact-us/index.html +348 -0
  101. package/src/resources/templates/modals/faq/index.hbs +9 -0
  102. package/src/resources/templates/modals/faq/index.html +9 -0
  103. package/src/resources/templates/modals/privacy/index.hbs +236 -0
  104. package/src/resources/templates/modals/privacy/index.html +236 -0
  105. package/src/resources/templates/modals/terms/index.hbs +166 -0
  106. package/src/resources/templates/modals/terms/index.html +166 -0
  107. package/src/scripts/retry-axios.js +21 -0
  108. package/tasks/grab-cdn.js +7 -1
  109. package/tasks/grab-form-helpers.js +11 -2
  110. package/tasks/grab-shared-components.js +10 -3
  111. package/tasks/grab-shared-scripts.js +8 -1
  112. package/tasks/templates.js +11 -2
@@ -0,0 +1,112 @@
1
+ {{#unless this.page.footAssetsConfig.disableJquery}}
2
+ <!-- build:js {{#if this.buildRootPath}}{{this.buildRootPath}}{{else}}{{#unless this.useRelativeBuildPath}}/{{/unless}}{{/if}}scripts/vendor/jquery.js -->
3
+ <script src="{{#if this.nodeModulesPath}}{{this.nodeModulesPath}}{{/if}}node_modules/jquery/dist/jquery.js" {{#if this.page.footAssetsConfig.deferJquery}}defer{{/if}} {{#if this.page.footAssetsConfig.asyncJquery}}async{{/if}}></script>
4
+ <!-- endbuild -->
5
+ {{/unless}}
6
+
7
+ {{#unless this.page.footAssetsConfig.disableModUtils}}
8
+ <script src="/resources/scripts/mod-utils/modutils-15069d7b728a555fb3f7.min.js" {{#if this.page.footAssetsConfig.deferModUtils}}defer{{/if}} {{#if this.page.footAssetsConfig.asyncModUtils}}async{{/if}}></script>
9
+ {{/unless}}
10
+
11
+ <!-- load additionalAssets only from node_modules -->
12
+ {{#unless @root.isVite}}
13
+ {{#if page.footAssetsConfig.additionalAssets}}
14
+ {{#each page.footAssetsConfig.additionalAssets}}
15
+ {{#xif "!this.bundleInAllJSChunk && this.isNodeModule"}}
16
+ <!-- build:js {{#if this.buildPath}}{{this.buildPath}}{{else}}{{#unless ../this.useRelativeBuildPath}}/{{/unless}}scripts/vendor{{/if}}/{{this.chunkName}} -->
17
+ <script src="{{#if ../this.nodeModulesPath}}{{../this.nodeModulesPath}}{{/if}}node_modules/{{this.src}}" {{#if this.defer}}defer{{/if}} {{#if this.async}}async{{/if}}></script>
18
+ <!-- endbuild -->
19
+ {{/xif}}
20
+ {{/each}}
21
+ {{/if}}
22
+ {{/unless}}
23
+
24
+ {{#unless this.page.footAssetsConfig.disableModCarousel}}
25
+ {{#xif " this.path !== 'thankyou' && this.path !== 'sorry' "}}
26
+ <script src="{{#if this.nodeModulesPath}}{{this.nodeModulesPath}}{{else}}{{#unless this.useRelativeBuildPath}}/{{/unless}}{{/if}}accessible-components/carousel/carousel.min.js" {{#if this.page.footAssetsConfig.deferModCarousel}}defer{{/if}} {{#if this.page.footAssetsConfig.asyncModCarousel}}async{{/if}}></script>
27
+ {{/xif}}
28
+ {{/unless}}
29
+
30
+ {{#if this.page.footAssetsConfig.includeCallrailJs}}
31
+ <script src="/resources/scripts/callrail/callrail-5c7c537f04af468600cf.min.js" defer></script>
32
+ {{/if}}
33
+
34
+ <!-- load additionalAssets from site-level, CDN or third party CDN -->
35
+ {{#unless @root.isVite}}
36
+ {{#if page.footAssetsConfig.additionalAssets}}
37
+ {{#each page.footAssetsConfig.additionalAssets}}
38
+ {{#xif "!this.bundleInAllJSChunk && !this.isNodeModule"}}
39
+ <script src="
40
+ {{#if ../this.isLocal}}
41
+ {{#if this.localSrc}}
42
+ {{this.localSrc}}
43
+ {{else}}
44
+ {{#if this.useModCdn}}
45
+ https://{{../nodeEnv}}/{{this.src}}
46
+ {{else}}
47
+ {{this.src}}
48
+ {{/if}}
49
+ {{/if}}
50
+ {{else}}
51
+ {{#if this.useModCdn}}
52
+ https://{{../nodeEnv}}/{{this.src}}
53
+ {{else}}
54
+ {{this.src}}
55
+ {{/if}}
56
+ {{/if}}" {{#if this.defer}}defer{{/if}} {{#if this.async}}async{{/if}}></script>
57
+ {{/xif}}
58
+ {{/each}}
59
+ {{/if}}
60
+ {{/unless}}
61
+
62
+ {{#unless this.page.footAssetsConfig.disableProgressBarJs}}
63
+ {{#xif " this.path !== 'thankyou' && this.path !== 'sorry' "}}
64
+ <script src="{{#if this.nodeModulesPath}}{{this.nodeModulesPath}}{{else}}{{#unless this.useRelativeBuildPath}}/{{/unless}}{{/if}}accessible-components/progress-bar/progress-bar.min.js" defer></script>
65
+ {{/xif}}
66
+ {{/unless}}
67
+
68
+ {{#unless this.page.footAssetsConfig.disableExpandCollapseJs}}
69
+ {{#xif " this.path !== 'thankyou' && this.path !== 'sorry' "}}
70
+ <script src="{{#if this.nodeModulesPath}}{{this.nodeModulesPath}}{{else}}{{#unless this.useRelativeBuildPath}}/{{/unless}}{{/if}}accessible-components/expand-collapse/expand-collapse.min.js" defer></script>
71
+ {{/xif}}
72
+ {{/unless}}
73
+
74
+ {{#xif "(this.includeModFormIncludes || (this.path !== 'thankyou' && this.path !== 'sorry'))" }}
75
+ {{#unless this.page.footAssetsConfig.disableNewModForm}}
76
+ <script src="/resources/scripts/mod-form/form/homeowner-62292fdc874b2d2f5c82.min.js" {{#if this.page.footAssetsConfig.deferNewModForm}}defer{{/if}} {{#if this.page.footAssetsConfig.asyncNewModForm}}async{{/if}}></script>
77
+ {{/unless}}
78
+ {{/xif}}
79
+
80
+ <!-- QS white label assets -->
81
+ {{#xif "this.path !== 'thankyou' && this.path !== 'sorry' && this.isQSPage === true" }}
82
+ <!-- build:js(src) {{#if this.buildRootPath}}{{this.buildRootPath}}{{else}}{{#unless this.useRelativeBuildPath}}/{{/unless}}{{/if}}scripts/components/all.js -->
83
+ {{#unless this.page.footAssetsConfig.disableFormJs}}
84
+ <script src="/scripts/components/form.js" defer></script>
85
+ {{/unless}}
86
+ {{#if page.footAssetsConfig.additionalAssets}}
87
+ {{#each page.footAssetsConfig.additionalAssets}}
88
+ {{#xif "this.bundleInAllJSChunk && !this.isNodeModule"}}
89
+ <script src="{{this.src}}" {{#if this.defer}}defer{{/if}} {{#if this.async}}async{{/if}}></script>
90
+ {{/xif}}
91
+ {{/each}}
92
+ {{/if}}
93
+ <!-- endbuild -->
94
+ {{/xif}}
95
+
96
+
97
+ {{#if this.path}}
98
+ {{#if @root.isVite}}
99
+ <script type="module" src="/src{{#if this.src}}{{this.src}}{{else}}scripts{{/if}}/{{this.path}}.js"></script>
100
+ {{else}}
101
+ <script src="{{#if this.src}}{{this.src}}{{else}}scripts{{/if}}/{{this.path}}.js" defer></script>
102
+ {{/if}}
103
+ {{/if}}
104
+
105
+ {{#unless this.page.footAssetsConfig.disableFooter}}
106
+ <script src="/resources/scripts/footer/footer-component-7b5e263f64568573ecc0.min.js" data-type="{{#if isQSPage}}qs{{else}}mod{{/if}}" async defer></script>
107
+ {{/unless}}
108
+
109
+ {{#if this.page.footAssetsConfig.devOpsTrackingId}}
110
+ <!-- {{uppercase this.page.footAssetsConfig.devOpsTrackingId}} -->
111
+ {{/if}}
112
+
@@ -0,0 +1,2 @@
1
+ <div id="footer-component" {{#if this.footer}}{{{addAttributes this.footer}}}{{/if}}></div>
2
+ {{{jsonVarScriptTag this.siteData 'siteData'}}}
@@ -0,0 +1,4 @@
1
+ <!-- Google Tag Manager (noscript) -->
2
+ <noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{gtm_container_ID}}"
3
+ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
4
+ <!-- End Google Tag Manager (noscript) -->
@@ -0,0 +1,187 @@
1
+ <head>
2
+ {{#unless @root.isVite}}
3
+ {{#if page.headConfig.useDynamicGtm}}
4
+ <script>
5
+ {{ fileInclude 'node_modules/mod-build/src/scripts/has-qs-params.js' }}
6
+ var gtm_container_ID = window.isQSPage ? '{{qs_gtm_container_ID}}' : '{{gtm_container_ID}}';
7
+ </script>
8
+ {{/if}}
9
+ {{/unless}}
10
+
11
+ <!-- assets links afterBegin -->
12
+ {{#if page.headConfig.useModAnalytics}}
13
+ <script src="/resources/scripts/mod-alytics/modalytics-0ac7d7a5a72ea67a0f47.min.js" {{#if page.headConfig.deferModAnalytics}}defer{{/if}} {{#if page.headConfig.asyncModAnalytics}}async{{/if}}></script>
14
+ {{/if}}
15
+
16
+ {{#unless @root.isVite}}
17
+ {{#if page.headConfig.additionalAssets.afterBegin}}
18
+ {{#each page.headConfig.additionalAssets.afterBegin}}
19
+ {{#xif "this.type === 'style' "}}
20
+ <link href="{{#if isLocal}}
21
+ {{#if this.localSrc}}
22
+ {{this.localSrc}}
23
+ {{else}}
24
+ {{#if this.useModCdn}}
25
+ https://{{../nodeEnv}}/{{this.src}}
26
+ {{else}}
27
+ {{this.src}}
28
+ {{/if}}
29
+ {{/if}}
30
+ {{else}}
31
+ {{#if this.useModCdn}}
32
+ https://{{../nodeEnv}}/{{this.src}}
33
+ {{else}}
34
+ {{this.src}}
35
+ {{/if}}
36
+ {{/if}}" rel="stylesheet" type="text/css" />
37
+ {{/xif}}
38
+ {{#xif "this.type === 'script' "}}
39
+ <script
40
+ src="{{#if isLocal}}
41
+ {{#if this.localSrc}}
42
+ {{this.localSrc}}
43
+ {{else}}
44
+ {{#if this.useModCdn}}
45
+ https://{{../nodeEnv}}/{{this.src}}
46
+ {{else}}
47
+ {{this.src}}
48
+ {{/if}}
49
+ {{/if}}
50
+ {{else}}
51
+ {{#if this.useModCdn}}
52
+ https://{{../nodeEnv}}/{{this.src}}
53
+ {{else}}
54
+ {{this.src}}
55
+ {{/if}}
56
+ {{/if}}"
57
+ {{#if this.defer}}defer{{/if}}
58
+ {{#if this.async}}async{{/if}}
59
+ ></script>
60
+ {{/xif}}
61
+ {{/each}}
62
+ {{/if}}
63
+ {{/unless}}
64
+
65
+ <!-- Include vwo setup -->
66
+ {{#unless @root.isVite}}
67
+ {{#xif "this.page.headConfig.vwoSetup.vwoPathArray.indexOf(this.path) > -1" }}
68
+ <link rel="preconnect" href="https://dev.visualwebsiteoptimizer.com">
69
+ <!-- Do not double hit our analytical resources (Heap/Google Analytics) if the page is going to be redirected by a VWO a/b test-->
70
+ {{ fileInclude 'node_modules/mod-build/src/templates/_partials/scripts/vwo-redirect-callback.html' }}
71
+ {{else}}
72
+ {{ fileInclude 'node_modules/mod-build/src/templates/_partials/scripts/analytics.html' }}
73
+ {{/xif}}
74
+ {{/unless}}
75
+
76
+
77
+ <!-- meta tags -->
78
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
79
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
80
+ <meta name="viewport" content="initial-scale=1.0, width=device-width" />
81
+
82
+ {{#unless page.headConfig.disableRobots}}
83
+ <meta name="robots" content="{{#if page.headConfig.robotsCsv}}{{page.headConfig.robotsCsv}}{{else}}noindex,nofollow{{/if}}"/>
84
+ {{/unless}}
85
+
86
+ {{#unless page.headConfig.disableOgTags}}
87
+ <meta property="og:title" content="{{page.headConfig.title}}" />
88
+ <meta property="og:description" content="{{page.headConfig.description}}" />
89
+ {{/unless}}
90
+
91
+ <meta name="description" property="description" content="{{page.headConfig.description}}" />
92
+ <meta name="keywords" property="keywords" content="{{page.headConfig.keywords}}" />
93
+
94
+ <!-- preconnect google fonts -->
95
+ <link rel="preconnect" href="https://fonts.googleapis.com">
96
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
97
+ {{#if page.headConfig.preConnect}}
98
+ {{#each page.headConfig.preConnect}}
99
+ <link
100
+ {{#if this.rel}}rel="{{this.rel}}"{{/if}}
101
+ {{#if this.href}}href="{{this.href}}"{{/if}}
102
+ {{#if this.as}}as="{{this.as}}"{{/if}}
103
+ {{#if this.crossorigin}}crossorigin="{{this.crossorigin}}"{{/if}}
104
+ {{#if this.media}}media="{{this.media}}"{{/if}}
105
+ {{#if this.type}}type="{{this.type}}"{{/if}}
106
+ {{#if this.fetchpriority}}fetchpriority="{{this.fetchpriority}}"{{/if}}
107
+ >
108
+ {{/each}}
109
+ {{/if}}
110
+ <!-- site title -->
111
+ <title>
112
+ {{#if page.headConfig.inverseTitle}}
113
+ {{#unless page.headConfig.hideTitleCompanyName}}{{company_name}} | {{/unless}}
114
+ {{#if this.pageTitle}}
115
+ {{this.pageTitle}}
116
+ {{else}}
117
+ {{#if page.headConfig.title}}
118
+ {{page.headConfig.title}}
119
+ {{/if}}
120
+ {{/if}}
121
+ {{else}}
122
+ {{#if this.pageTitle}}
123
+ {{this.pageTitle}}
124
+ {{else}}
125
+ {{#if page.headConfig.title}}
126
+ {{page.headConfig.title}}
127
+ {{/if}}
128
+ {{/if}}
129
+ {{#unless page.headConfig.hideTitleCompanyName}} | {{company_name}}{{/unless}}
130
+ {{/if}}
131
+ </title>
132
+
133
+ {{#if page.headConfig.faviconPath}}
134
+ <!-- favicon link -->
135
+ <link href="{{page.headConfig.faviconPath}}" rel="shortcut icon" type="image/x-icon" />
136
+ {{/if}}
137
+
138
+ {{#unless @root.isVite}}
139
+ {{#if page.headConfig.additionalAssets.beforeEnd}}
140
+ {{#each page.headConfig.additionalAssets.beforeEnd}}
141
+ {{#xif "this.type === 'style' "}}
142
+ <link href="{{#if isLocal}}
143
+ {{#if this.localSrc}}
144
+ {{this.localSrc}}
145
+ {{else}}
146
+ {{#if this.useModCdn}}
147
+ https://{{../nodeEnv}}/{{this.src}}
148
+ {{else}}
149
+ {{this.src}}
150
+ {{/if}}
151
+ {{/if}}
152
+ {{else}}
153
+ {{#if this.useModCdn}}
154
+ https://{{../nodeEnv}}/{{this.src}}
155
+ {{else}}
156
+ {{this.src}}
157
+ {{/if}}
158
+ {{/if}}" rel="stylesheet" type="text/css" />
159
+ {{/xif}}
160
+ {{#xif "this.type === 'script' "}}
161
+ <script src="{{#if isLocal}}
162
+ {{#if this.localSrc}}
163
+ {{this.localSrc}}
164
+ {{else}}
165
+ {{#if this.useModCdn}}
166
+ https://{{../nodeEnv}}/{{this.src}}
167
+ {{else}}
168
+ {{this.src}}
169
+ {{/if}}
170
+ {{/if}}
171
+ {{else}}
172
+ {{#if this.useModCdn}}
173
+ https://{{../nodeEnv}}/{{this.src}}
174
+ {{else}}
175
+ {{this.src}}
176
+ {{/if}}
177
+ {{/if}}" {{#if this.defer}}defer{{/if}} {{#if this.async}}async{{/if}}></script>
178
+ {{/xif}}
179
+ {{/each}}
180
+ {{/if}}
181
+ {{/unless}}
182
+
183
+ <!-- load styles based on path name -->
184
+ {{#unless @root.isVite}}
185
+ <link href="{{#if this.src}}{{this.src}}{{else}}{{#unless this.useRelativePath}}/{{/unless}}{{/if}}styles/{{this.path}}.css" rel="stylesheet" type="text/css" />
186
+ {{/unless}}
187
+ </head>
@@ -0,0 +1,289 @@
1
+ $header-background-color: $color-white !default;
2
+ $header-padding: 10px 0 !default;
3
+ $header-padding-desktop: 15px 0 !default;
4
+ $header-position: relative !default;
5
+ $header-position-top: 0 !default;
6
+ $header-z-index: 2 !default;
7
+
8
+ $header-container-padding: 0 15px !default;
9
+
10
+ $header-content-align-items: center !default;
11
+ $header-content-display: flex !default;
12
+ $header-content-justify-content: center !default;
13
+ $header-content-justify-content-desktop: space-between !default;
14
+
15
+ $header-logo-display: inline-block !default;
16
+ $header-logo-height: auto !default;
17
+ $header-logo-width: 195px !default;
18
+ $header-logo-margin: 0 !default;
19
+ $header-logo-height-desktop: auto !default;
20
+ $header-logo-width-desktop: 245px !default;
21
+ $header-logo-margin-desktop: $header-logo-margin !default;
22
+ $header-logo-vertical-align: middle !default;
23
+
24
+ $header-secondary-logo-display: $header-logo-display !default;
25
+ $header-secondary-logo-height: auto !default;
26
+ $header-secondary-logo-width: 73px !default;
27
+ $header-secondary-logo-height-desktop: auto !default;
28
+ $header-secondary-logo-width-desktop: 113px !default;
29
+ $header-secondary-logo-vertical-align: middle !default;
30
+
31
+ $header-secondary-logo-padding-left: 20px !default;
32
+ $header-secondary-logo-padding-left-desktop: 40px !default;
33
+ $header-secondary-logo-divider-background-color: $color-charcoal3 !default;
34
+ $header-secondary-logo-divider-height: calc(100% + 10px) !default;
35
+ $header-secondary-logo-divider-position: absolute !default;
36
+ $header-secondary-logo-divider-position-left: 10px !default;
37
+ $header-secondary-logo-divider-position-left-desktop: 20px !default;
38
+ $header-secondary-logo-divider-width: 1px !default;
39
+
40
+ $header-back-button-background-color: transparent !default;
41
+ $header-back-button-border-right: 1px solid darken($color-charcoal3, 5%) !default;
42
+ $header-back-button-color: darken($color-charcoal3, 5%) !default;
43
+ $header-back-button-font-size: 1.125rem !default;
44
+ $header-back-button-line-height: 1 !default;
45
+ $header-back-button-padding: 18px 0 !default;
46
+
47
+ $header-show-button-button-flex: 0 15% !default;
48
+ $header-show-button-logo-flex: 0 85% !default;
49
+ $header-show-button-padding: 0 !default;
50
+ $header-show-button-container-padding: 0 !default;
51
+ $header-show-button-content-min-height: 55px !default;
52
+
53
+ $header-bbb-logo-height: 30px !default;
54
+ $header-bbb-logo-width: 82.5px !default;
55
+ $header-bbb-logo-height-desktop: 42px !default;
56
+ $header-bbb-logo-width-desktop: 115px !default;
57
+
58
+ $header-tagline-color: $color-white !default;
59
+ $header-tagline-font-size: 1.125rem !default;
60
+ $header-tagline-font-weight: 700 !default;
61
+
62
+ $callrail-display: none !default;
63
+ $call-color: $color-black !default;
64
+ $call-font-size: 1.125rem !default;
65
+ $call-font-weight: 400 !default;
66
+ $call-number-font-weight: 700 !default;
67
+ $call-link-color: inherit !default;
68
+ $call-link-text-decoration: none !default;
69
+ $call-icon-width: 12px !default;
70
+ $call-icon-width-desktop: 20px !default;
71
+
72
+ $call-button-align-self: center !default;
73
+ $call-button-background-color: $color-white !default;
74
+ $call-button-border: 1px solid $call-color !default;
75
+ $call-button-border-radius: 15px !default;
76
+ $call-button-color: $call-color !default;
77
+ $call-button-hover-color: $call-button-color !default;
78
+ $call-button-font-family: inherit !default;
79
+ $call-button-font-size: .75rem !default;
80
+ $call-button-font-size-desktop: $call-font-size !default;
81
+ $call-button-font-weight: $call-font-weight !default;
82
+ $call-button-margin: 0 0 0 15px !default;
83
+ $call-button-padding: 4px 12px !default;
84
+ $call-button-text-transform: uppercase !default;
85
+ $call-button-transition: $base-transition !default;
86
+
87
+ .header {
88
+ background-color: $header-background-color;
89
+ padding: $header-padding;
90
+ position: $header-position;
91
+ top: $header-position-top;
92
+ z-index: $header-z-index;
93
+
94
+ .container {
95
+ padding: $header-container-padding;
96
+ }
97
+
98
+ &__content {
99
+ align-items: $header-content-align-items;
100
+ display: $header-content-display;
101
+ justify-content: $header-content-justify-content;
102
+ }
103
+
104
+ &__logo {
105
+ img, svg {
106
+ display: $header-logo-display;
107
+ height: $header-logo-height;
108
+ margin: $header-logo-margin;
109
+ vertical-align: $header-logo-vertical-align;
110
+ width: $header-logo-width;
111
+ }
112
+ }
113
+
114
+ &__secondary-logo {
115
+ display: $header-secondary-logo-display;
116
+ padding-left: $header-secondary-logo-padding-left;
117
+ position: relative;
118
+ vertical-align: $header-secondary-logo-vertical-align;
119
+
120
+ img, svg {
121
+ height: $header-secondary-logo-height;
122
+ width: $header-secondary-logo-width;
123
+ }
124
+
125
+ &:before {
126
+ background-color: $header-secondary-logo-divider-background-color;
127
+ content: '';
128
+ height: $header-secondary-logo-divider-height;
129
+ position: $header-secondary-logo-divider-position;
130
+ left: $header-secondary-logo-divider-position-left;
131
+ top: 50%;
132
+ transform: translateY(-50%);
133
+ width: $header-secondary-logo-divider-width;
134
+ }
135
+ }
136
+
137
+ &__bbb-logo {
138
+ height: $header-bbb-logo-height;
139
+ width: $header-bbb-logo-width;
140
+ }
141
+
142
+ &__back-button {
143
+ background-color: $header-back-button-background-color;
144
+ border: 0;
145
+ border-right: $header-back-button-border-right;
146
+ color: $header-back-button-color;
147
+ display: none;
148
+ font-size: $header-back-button-font-size;
149
+ line-height: $header-back-button-line-height;
150
+ padding: $header-back-button-padding;
151
+ }
152
+
153
+ &__tagline {
154
+ color: $header-tagline-color;
155
+ font-size: $header-tagline-font-size;
156
+ font-weight: $header-tagline-font-weight;
157
+ }
158
+
159
+ &__call {
160
+ color: $call-color;
161
+ font-size: $call-font-size;
162
+ font-weight: $call-font-weight;
163
+
164
+ .header__call-icon {
165
+ width: $call-icon-width-desktop;
166
+ }
167
+ }
168
+
169
+ &__call-link {
170
+ color: $call-link-color;
171
+ text-decoration: $call-link-text-decoration;
172
+ }
173
+
174
+ &__call-number {
175
+ font-weight: $call-number-font-weight;
176
+ }
177
+
178
+ &__call-icon {
179
+ width: $call-icon-width;
180
+ }
181
+
182
+ &__call-button {
183
+ align-self: $call-button-align-self;
184
+ background-color: $call-button-background-color;
185
+ border: $call-button-border;
186
+ border-radius: $call-button-border-radius;
187
+ color: $call-button-color;
188
+ font-family: $call-button-font-family;
189
+ font-size: $call-button-font-size;
190
+ font-weight: $call-button-font-weight;
191
+ margin: $call-button-margin;
192
+ padding: $call-button-padding;
193
+ text-transform: $call-button-text-transform;
194
+ transition: $call-button-transition;
195
+
196
+ &:hover,
197
+ &:focus {
198
+ color: $call-button-hover-color;
199
+ }
200
+ }
201
+ }
202
+
203
+ .callNowControls {
204
+ display: $callrail-display;
205
+ }
206
+
207
+ @include breakpoint-phone {
208
+ .header {
209
+ &--transparent {
210
+ background-color: transparent;
211
+ }
212
+
213
+ &--show-back-button {
214
+ padding: $header-show-button-padding;
215
+
216
+ .header__content {
217
+ min-height: $header-show-button-content-min-height;
218
+ }
219
+
220
+ .container {
221
+ padding: $header-show-button-container-padding;
222
+ }
223
+
224
+ .header__back-button {
225
+ flex: $header-show-button-button-flex;
226
+ }
227
+ .header__logo {
228
+ flex: $header-show-button-logo-flex;
229
+ text-align: center;
230
+ }
231
+ }
232
+ }
233
+
234
+ .form-in-progress {
235
+ .header--show-back-button {
236
+ .header__back-button {
237
+ display: block;
238
+ }
239
+ }
240
+ }
241
+ }
242
+
243
+ @include breakpoint-md {
244
+ .header {
245
+ padding: $header-padding-desktop;
246
+
247
+ &__content {
248
+ justify-content: $header-content-justify-content-desktop;
249
+ }
250
+
251
+ &__back-button {
252
+ display: none;
253
+ }
254
+
255
+ &__logo {
256
+ img, svg {
257
+ height: $header-logo-height-desktop;
258
+ margin: $header-logo-margin-desktop;
259
+ width: $header-logo-width-desktop;
260
+ }
261
+ }
262
+
263
+ &__secondary-logo {
264
+ padding-left: $header-secondary-logo-padding-left-desktop;
265
+
266
+ img, svg {
267
+ height: $header-secondary-logo-height-desktop;
268
+ width: $header-secondary-logo-width-desktop;
269
+ }
270
+
271
+ &:before {
272
+ left: $header-secondary-logo-divider-position-left-desktop;
273
+ }
274
+ }
275
+
276
+ &__bbb-logo {
277
+ height: $header-bbb-logo-height-desktop;
278
+ width: $header-bbb-logo-width-desktop;
279
+ }
280
+ }
281
+ }
282
+
283
+ @include breakpoint-lg {
284
+ .header {
285
+ &__call-button {
286
+ font-size: $call-button-font-size-desktop;
287
+ }
288
+ }
289
+ }
@@ -0,0 +1,66 @@
1
+ <header class="header{{#if this.header.attributes.class}} {{this.header.attributes.class}}{{/if}}{{#xif 'this.header.includeBackButton === true'}} header--show-back-button{{/xif}}" {{{addAttributes this.header 'class'}}}>
2
+ <div class="container">
3
+ <div class="header__content">
4
+ {{#xif "this.header.includeBackButton === true"}}
5
+ <button class="header__back-button" data-btn="back">
6
+ <i class="icon-caret-left">
7
+ <span class="visually-hidden">Back</span>
8
+ </i>
9
+ </button>
10
+ {{/xif}}
11
+ {{#if this.header.logo}}
12
+ <div class="header__logo">
13
+ {{ fileInclude 'src/accessible-components/picture/picture.html'
14
+ picture = this.header.logo.picture
15
+ }}
16
+ {{#if this.header.logo.secondaryLogo}}
17
+ <span class="header__secondary-logo">
18
+ {{ fileInclude 'src/accessible-components/picture/picture.html'
19
+ picture = this.header.logo.secondaryLogo.picture
20
+ }}
21
+ </span>
22
+ {{/if}}
23
+ </div>
24
+ {{/if}}
25
+ {{#if this.header.callRail}}
26
+ <div class="callNowControls">
27
+ {{#if this.header.callRail.showButtonSmallDevices}}
28
+ <div class="header__call hidden visible-lg-up">
29
+ {{#if this.header.callRail.picture}}
30
+ {{ fileInclude 'src/accessible-components/picture/picture.html'
31
+ picture = this.header.callRail.picture
32
+ class = 'header__call-icon'
33
+ }}
34
+ {{/if}}
35
+ {{{this.header.callRail.text}}}
36
+ <a class="header__call-link" href="tel:{{this.header.callRail.phoneNumber}}"><span class="header__call-number">{{formatPhoneNo this.header.callRail.phoneNumber}}</span></a>
37
+ </div>
38
+ {{/if}}
39
+ <a class="header__call-button {{#if this.header.callRail.showButtonSmallDevices}} visible-sm-down visible-md{{/if}}" href="tel:{{this.header.callRail.phoneNumber}}">
40
+ {{#if this.header.callRail.picture}}
41
+ {{ fileInclude 'src/accessible-components/picture/picture.html'
42
+ picture = this.header.callRail.picture
43
+ class = 'header__call-icon'
44
+ }}
45
+ {{/if}}
46
+ {{{this.header.callRail.mobileText}}}
47
+ </a>
48
+ </div>
49
+ {{/if}}
50
+ {{#if this.header.additionalLogos}}
51
+ <div class="header__additional-logos">
52
+ {{#each this.header.additionalLogos}}
53
+ {{ fileInclude 'src/accessible-components/picture/picture.html'
54
+ picture = this.picture
55
+ }}
56
+ {{/each}}
57
+ </div>
58
+ {{/if}}
59
+ {{#if this.header.tagline.text}}
60
+ <p class="header__tagline{{#if this.header.tagline.attributes.class}} {{this.header.tagline.attributes.class}}{{/if}}" {{{addAttributes this.header.tagline 'class'}}}>
61
+ {{{this.header.tagline.text}}}
62
+ </p>
63
+ {{/if}}
64
+ </div>
65
+ </div>
66
+ </header>