mod-build 4.0.21 → 4.0.22-beta.2

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 (164) 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/src/accessible-components/button/_button.scss +319 -0
  30. package/src/accessible-components/button/back-button.html +8 -0
  31. package/src/accessible-components/button/button.html +17 -0
  32. package/src/accessible-components/carousel/_carousel.scss +112 -0
  33. package/src/accessible-components/carousel/carousel.html +25 -0
  34. package/src/accessible-components/carousel/carousel.js +3426 -0
  35. package/src/accessible-components/carousel/carousel.js.map +1 -0
  36. package/src/accessible-components/carousel/carousel.min.js +6 -0
  37. package/src/accessible-components/carousel/carousel.min.js.map +1 -0
  38. package/src/accessible-components/checkbox/_checkbox.scss +153 -0
  39. package/src/accessible-components/checkbox/checkbox-group.html +18 -0
  40. package/src/accessible-components/checkbox/checkbox.html +8 -0
  41. package/src/accessible-components/expand-collapse/_expand-collapse.scss +129 -0
  42. package/src/accessible-components/expand-collapse/expand-collapse.html +14 -0
  43. package/src/accessible-components/expand-collapse/expand-collapse.js +52 -0
  44. package/src/accessible-components/expand-collapse/expand-collapse.min.js +2 -0
  45. package/src/accessible-components/expand-collapse/expand-collapse.min.js.map +1 -0
  46. package/src/accessible-components/featured-block/_featured-block.scss +221 -0
  47. package/src/accessible-components/featured-block/featured-block.html +54 -0
  48. package/src/accessible-components/foot-assets/foot-assets.html +112 -0
  49. package/src/accessible-components/footer/footer.html +2 -0
  50. package/src/accessible-components/gtm-body/gtm-body.html +4 -0
  51. package/src/accessible-components/head/head.html +187 -0
  52. package/src/accessible-components/header/_header.scss +289 -0
  53. package/src/accessible-components/header/header.html +66 -0
  54. package/src/accessible-components/hero/_hero.scss +405 -0
  55. package/src/accessible-components/hero/hero.html +53 -0
  56. package/src/accessible-components/how-it-works/_how-it-works.scss +217 -0
  57. package/src/accessible-components/how-it-works/how-it-works-carousel.html +12 -0
  58. package/src/accessible-components/how-it-works/how-it-works-static.html +12 -0
  59. package/src/accessible-components/how-it-works/how-it-works.html +14 -0
  60. package/src/accessible-components/information/_information.scss +96 -0
  61. package/src/accessible-components/information/information.html +32 -0
  62. package/src/accessible-components/input/_input.scss +204 -0
  63. package/src/accessible-components/input/input.html +22 -0
  64. package/src/accessible-components/input/textarea.html +9 -0
  65. package/src/accessible-components/partners/_partners.scss +234 -0
  66. package/src/accessible-components/partners/partners.html +56 -0
  67. package/src/accessible-components/picture/picture.html +19 -0
  68. package/src/accessible-components/preloader/_preloader.scss +61 -0
  69. package/src/accessible-components/preloader/preloader.html +23 -0
  70. package/src/accessible-components/progress-bar/_progress-bar.scss +140 -0
  71. package/src/accessible-components/progress-bar/progress-bar.html +21 -0
  72. package/src/accessible-components/progress-bar/progress-bar.js +37 -0
  73. package/src/accessible-components/progress-bar/progress-bar.min.js +2 -0
  74. package/src/accessible-components/progress-bar/progress-bar.min.js.map +1 -0
  75. package/src/accessible-components/radio-button/_radio-button.scss +586 -0
  76. package/src/accessible-components/radio-button/radio-button.html +33 -0
  77. package/src/accessible-components/reviews/_reviews.scss +180 -0
  78. package/src/accessible-components/reviews/reviews-carousel.html +12 -0
  79. package/src/accessible-components/reviews/reviews-static.html +12 -0
  80. package/src/accessible-components/reviews/reviews.html +37 -0
  81. package/src/accessible-components/select/_select.scss +87 -0
  82. package/src/accessible-components/select/select.html +10 -0
  83. package/src/accessible-components/steps/_steps.scss +640 -0
  84. package/src/accessible-components/steps/defaultFormFieldConfig.json +109 -0
  85. package/src/accessible-components/steps/step-fields.html +38 -0
  86. package/src/accessible-components/steps/steps.html +168 -0
  87. package/src/accessible-components/tcpa/_tcpa.scss +49 -0
  88. package/src/accessible-components/tcpa/tcpa.html +9 -0
  89. package/src/accessible-components/tile/_tile.scss +117 -0
  90. package/src/accessible-components/tile/tile.html +14 -0
  91. package/src/accessible-components/value-props/_value-props.scss +102 -0
  92. package/src/accessible-components/value-props/value-props.html +17 -0
  93. package/src/accessible-components/zip-control/_zip-control.scss +79 -0
  94. package/src/accessible-components/zip-control/zip-control.html +10 -0
  95. package/src/resources/data/tcpa.json +4 -0
  96. package/src/resources/templates/modals/about/index.hbs +9 -0
  97. package/src/resources/templates/modals/about/index.html +9 -0
  98. package/src/resources/templates/modals/contact-us/index.hbs +348 -0
  99. package/src/resources/templates/modals/contact-us/index.html +348 -0
  100. package/src/resources/templates/modals/faq/index.hbs +9 -0
  101. package/src/resources/templates/modals/faq/index.html +9 -0
  102. package/src/resources/templates/modals/privacy/index.hbs +236 -0
  103. package/src/resources/templates/modals/privacy/index.html +236 -0
  104. package/src/resources/templates/modals/terms/index.hbs +166 -0
  105. package/src/resources/templates/modals/terms/index.html +166 -0
  106. package/src/shared-components/card-button/_card-button.scss +49 -0
  107. package/src/shared-components/card-button/card-button.html +9 -0
  108. package/src/shared-components/carousel/_carousel.scss +106 -0
  109. package/src/shared-components/carousel/carousel.html +22 -0
  110. package/src/shared-components/carousel/carousel.js +3574 -0
  111. package/src/shared-components/carousel/carousel.js.map +1 -0
  112. package/src/shared-components/carousel/carousel.min.js +6 -0
  113. package/src/shared-components/carousel/carousel.min.js.map +1 -0
  114. package/src/shared-components/carousel/carousel.min.min.js +6 -0
  115. package/src/shared-components/carousel/carousel.min.min.js.map +1 -0
  116. package/src/shared-components/checkbox/_checkbox.scss +125 -0
  117. package/src/shared-components/checkbox/checkbox.html +10 -0
  118. package/src/shared-components/expand-collapse/_expand-collapse.scss +93 -0
  119. package/src/shared-components/expand-collapse/expand-collapse.html +8 -0
  120. package/src/shared-components/expand-collapse/expand-collapse.js +40 -0
  121. package/src/shared-components/expand-collapse/expand-collapse.min.js +2 -0
  122. package/src/shared-components/expand-collapse/expand-collapse.min.js.map +1 -0
  123. package/src/shared-components/featured-block/_featured-block.scss +191 -0
  124. package/src/shared-components/featured-block/featured-block.html +80 -0
  125. package/src/shared-components/foot-assets/foot-assets.html +107 -0
  126. package/src/shared-components/form-tcpa/form-tcpa.html +12 -0
  127. package/src/shared-components/gtm-body/gtm-body.html +4 -0
  128. package/src/shared-components/head/head.html +192 -0
  129. package/src/shared-components/header/_header.scss +200 -0
  130. package/src/shared-components/header/header.html +73 -0
  131. package/src/shared-components/hero/_hero.scss +253 -0
  132. package/src/shared-components/hero/hero.html +126 -0
  133. package/src/shared-components/how-it-works/_how-it-works.scss +138 -0
  134. package/src/shared-components/how-it-works/how-it-works.html +19 -0
  135. package/src/shared-components/input/_input.scss +242 -0
  136. package/src/shared-components/input/input.html +30 -0
  137. package/src/shared-components/preloader/_preloader.scss +61 -0
  138. package/src/shared-components/preloader/preloader.html +49 -0
  139. package/src/shared-components/progress-bar/_progress-bar.scss +142 -0
  140. package/src/shared-components/progress-bar/progress-bar.html +20 -0
  141. package/src/shared-components/progress-bar/progress-bar.js +25 -0
  142. package/src/shared-components/progress-bar/progress-bar.min.js +2 -0
  143. package/src/shared-components/progress-bar/progress-bar.min.js.map +1 -0
  144. package/src/shared-components/radio-button/_radio-button.scss +554 -0
  145. package/src/shared-components/radio-button/radio-button.html +25 -0
  146. package/src/shared-components/reviews/_reviews.scss +79 -0
  147. package/src/shared-components/reviews/reviews.html +27 -0
  148. package/src/shared-components/select/_select.scss +61 -0
  149. package/src/shared-components/select/select.html +8 -0
  150. package/src/shared-components/steps/_steps.scss +414 -0
  151. package/src/shared-components/steps/defaultFormFieldConfig.json +64 -0
  152. package/src/shared-components/steps/step-fields.html +36 -0
  153. package/src/shared-components/steps/steps.html +131 -0
  154. package/src/shared-components/textarea/_textarea.scss +96 -0
  155. package/src/shared-components/textarea/textarea.html +13 -0
  156. package/src/shared-components/theme-toggle/_theme-toggle.scss +68 -0
  157. package/src/shared-components/theme-toggle/theme-toggle.html +34 -0
  158. package/src/shared-components/tile/_tile.scss +117 -0
  159. package/src/shared-components/tile/tile.html +27 -0
  160. package/src/shared-components/value-props/_value-props.scss +98 -0
  161. package/src/shared-components/value-props/value-props.html +17 -0
  162. package/src/shared-components/zip-control/_zip-control.scss +42 -0
  163. package/src/shared-components/zip-control/zip-control.html +21 -0
  164. package/tasks/grab-shared-scripts.js +11 -1
@@ -0,0 +1,107 @@
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="https://{{nodeEnv}}/quote/resources/mod-utils/modutils.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
+ {{#if page.footAssetsConfig.additionalAssets}}
13
+ {{#each page.footAssetsConfig.additionalAssets}}
14
+ {{#xif "!this.bundleInAllJSChunk && this.isNodeModule"}}
15
+ <!-- build:js {{#if this.buildPath}}{{this.buildPath}}{{else}}{{#unless ../this.useRelativeBuildPath}}/{{/unless}}scripts/vendor{{/if}}/{{this.chunkName}} -->
16
+ <script src="{{#if ../this.nodeModulesPath}}{{../this.nodeModulesPath}}{{/if}}node_modules/{{this.src}}" {{#if this.defer}}defer{{/if}} {{#if this.async}}async{{/if}}></script>
17
+ <!-- endbuild -->
18
+ {{/xif}}
19
+ {{/each}}
20
+ {{/if}}
21
+
22
+ {{#unless this.page.footAssetsConfig.disableModCarousel}}
23
+ <script src="{{#if this.nodeModulesPath}}{{this.nodeModulesPath}}{{else}}{{#unless this.useRelativeBuildPath}}/{{/unless}}{{/if}}shared-components/carousel/carousel.min.js" {{#if this.page.footAssetsConfig.deferModCarousel}}defer{{/if}} {{#if this.page.footAssetsConfig.asyncModCarousel}}async{{/if}}></script>
24
+ {{/unless}}
25
+
26
+ {{#if this.page.footAssetsConfig.includeCallrailJs}}
27
+ <script src="https://{{nodeEnv}}/quote/resources/shared-resources/scripts/callrail/callrail.min.js" defer></script>
28
+ {{/if}}
29
+
30
+ <!-- load additionalAssets from site-level, CDN or third party CDN -->
31
+ {{#if page.footAssetsConfig.additionalAssets}}
32
+ {{#each page.footAssetsConfig.additionalAssets}}
33
+ {{#xif "!this.bundleInAllJSChunk && !this.isNodeModule"}}
34
+ <script src="
35
+ {{#if ../this.isLocal}}
36
+ {{#if this.localSrc}}
37
+ {{this.localSrc}}
38
+ {{else}}
39
+ {{#if this.useModCdn}}
40
+ https://{{../nodeEnv}}/{{this.src}}
41
+ {{else}}
42
+ {{this.src}}
43
+ {{/if}}
44
+ {{/if}}
45
+ {{else}}
46
+ {{#if this.useModCdn}}
47
+ https://{{../nodeEnv}}/{{this.src}}
48
+ {{else}}
49
+ {{this.src}}
50
+ {{/if}}
51
+ {{/if}}" {{#if this.defer}}defer{{/if}} {{#if this.async}}async{{/if}}></script>
52
+ {{/xif}}
53
+ {{/each}}
54
+ {{/if}}
55
+
56
+ {{#xif " !this.page.footAssetsConfig.disableBSTransition && this.path !== 'thankyou' && this.path !== 'sorry' "}}
57
+ <!-- build:js {{#if this.buildRootPath}}{{this.buildRootPath}}{{else}}{{#unless this.useRelativeBuildPath}}/{{/unless}}{{/if}}scripts/vendor/bootstrap.js -->
58
+ <script src="{{#if this.nodeModulesPath}}{{this.nodeModulesPath}}{{/if}}node_modules/bootstrap-sass/assets/javascripts/bootstrap/transition.js" defer></script>
59
+ <!-- endbuild -->
60
+ {{/xif}}
61
+
62
+ {{#xif "(this.includeModFormIncludes || (this.path !== 'thankyou' && this.path !== 'sorry'))" }}
63
+ {{#xif " this.page.footAssetsConfig.useNewModForm === true "}}
64
+ <script src="https://{{nodeEnv}}/quote/resources/mod-form/form/homeowner.min.js" {{#if this.page.footAssetsConfig.deferNewModForm}}defer{{/if}} {{#if this.page.footAssetsConfig.asyncNewModForm}}async{{/if}}></script>
65
+ {{else}}
66
+ {{#unless this.page.footAssetsConfig.disableModForm}}
67
+ <script src="https://{{nodeEnv}}/quote/resources/mod-form/mod-form.min.js"></script>
68
+ {{/unless}}
69
+ {{#unless this.page.footAssetsConfig.disableQsForm}}
70
+ <script src="https://{{nodeEnv}}/quote/resources/mod-form/qs-form.min.js"></script>
71
+ {{/unless}}
72
+ {{/xif}}
73
+ {{/xif}}
74
+
75
+ <!-- QS white label assets -->
76
+ {{#xif "this.path !== 'thankyou' && this.path !== 'sorry' && this.isQSPage === true" }}
77
+ <!-- build:js(src) {{#if this.buildRootPath}}{{this.buildRootPath}}{{else}}{{#unless this.useRelativeBuildPath}}/{{/unless}}{{/if}}scripts/components/all.js -->
78
+ {{#unless this.page.footAssetsConfig.disableFormJs}}
79
+ <script src="/scripts/components/form.js" defer></script>
80
+ {{/unless}}
81
+ {{#unless this.page.footAssetsConfig.disableProgressBarJS}}
82
+ <script src="/scripts/components/progress-bar.js" defer></script>
83
+ {{/unless}}
84
+ {{#unless this.page.footAssetsConfig.disableExpandCollapse}}
85
+ <script src="/scripts/components/expand-collapse.js" defer></script>
86
+ {{/unless}}
87
+ {{#if page.footAssetsConfig.additionalAssets}}
88
+ {{#each page.footAssetsConfig.additionalAssets}}
89
+ {{#xif "this.bundleInAllJSChunk && !this.isNodeModule"}}
90
+ <script src="{{this.src}}" {{#if this.defer}}defer{{/if}} {{#if this.async}}async{{/if}}></script>
91
+ {{/xif}}
92
+ {{/each}}
93
+ {{/if}}
94
+ <!-- endbuild -->
95
+ {{/xif}}
96
+
97
+ {{#if this.path}}
98
+ <script src="{{#if this.src}}{{this.src}}{{else}}scripts{{/if}}/{{this.path}}.js" defer></script>
99
+ {{/if}}
100
+
101
+ {{#unless this.page.footAssetsConfig.disableFooter}}
102
+ <script src="https://{{nodeEnv}}/quote/resources/shared-resources/scripts/footer/footer-component.min.js" data-type="{{#if isQSPage}}qs{{else}}mod{{/if}}" async defer></script>
103
+ {{/unless}}
104
+
105
+ {{#if this.page.footAssetsConfig.devOpsTrackingId}}
106
+ <!-- {{uppercase this.page.footAssetsConfig.devOpsTrackingId}} -->
107
+ {{/if}}
@@ -0,0 +1,12 @@
1
+ <div class="tcpa form-tcpa" {{#if this.hidden}}style="display:none;"{{/if}}>
2
+ {{#unless this.hidehr}}
3
+ <hr>
4
+ {{/unless}}
5
+ <input name="leadToken" id="leadid_token" type="hidden" value=""/>
6
+ <label>
7
+ <input type="hidden" id="leadid_tcpa_disclosure" />
8
+ <span id="tcpa-copy" data-tcpa-loaded>
9
+ {{{this.tcpaText}}}
10
+ </span>
11
+ </label>
12
+ </div>
@@ -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,192 @@
1
+ <head>
2
+ {{#if page.headConfig.useDynamicGtm}}
3
+ <script>
4
+ {{ fileInclude 'node_modules/mod-build/src/scripts/has-qs-params.js' }}
5
+ var gtm_container_ID = window.isQSPage ? '{{qs_gtm_container_ID}}' : '{{gtm_container_ID}}';
6
+ </script>
7
+ {{/if}}
8
+
9
+ <!-- assets links afterBegin -->
10
+ {{#if page.headConfig.useModAnalytics}}
11
+ <script src="https://{{nodeEnv}}/quote/resources/mod-alytics/modalytics.min.js" {{#if page.headConfig.deferModAnalytics}}defer{{/if}} {{#if page.headConfig.asyncModAnalytics}}async{{/if}}></script>
12
+ {{/if}}
13
+
14
+ {{#if page.headConfig.additionalAssets.afterBegin}}
15
+ {{#each page.headConfig.additionalAssets.afterBegin}}
16
+ {{#xif "this.type === 'style' "}}
17
+ <link href="{{#if isLocal}}
18
+ {{#if this.localSrc}}
19
+ {{this.localSrc}}
20
+ {{else}}
21
+ {{#if this.useModCdn}}
22
+ https://{{../nodeEnv}}/{{this.src}}
23
+ {{else}}
24
+ {{this.src}}
25
+ {{/if}}
26
+ {{/if}}
27
+ {{else}}
28
+ {{#if this.useModCdn}}
29
+ https://{{../nodeEnv}}/{{this.src}}
30
+ {{else}}
31
+ {{this.src}}
32
+ {{/if}}
33
+ {{/if}}" rel="stylesheet" type="text/css" />
34
+ {{/xif}}
35
+ {{#xif "this.type === 'script' "}}
36
+ <script
37
+ src="{{#if isLocal}}
38
+ {{#if this.localSrc}}
39
+ {{this.localSrc}}
40
+ {{else}}
41
+ {{#if this.useModCdn}}
42
+ https://{{../nodeEnv}}/{{this.src}}
43
+ {{else}}
44
+ {{this.src}}
45
+ {{/if}}
46
+ {{/if}}
47
+ {{else}}
48
+ {{#if this.useModCdn}}
49
+ https://{{../nodeEnv}}/{{this.src}}
50
+ {{else}}
51
+ {{this.src}}
52
+ {{/if}}
53
+ {{/if}}"
54
+ {{#if this.defer}}defer{{/if}}
55
+ {{#if this.async}}async{{/if}}
56
+ ></script>
57
+ {{/xif}}
58
+ {{/each}}
59
+ {{/if}}
60
+
61
+ <!-- Include vwo setup -->
62
+ {{#xif "this.page.headConfig.vwoSetup.vwoPathArray.indexOf(this.path) > -1" }}
63
+ <link rel="preconnect" href="https://dev.visualwebsiteoptimizer.com">
64
+ <!-- Do not double hit our analytical resources (Heap/Google Analytics) if the page is going to be redirected by a VWO a/b test-->
65
+ {{ fileInclude 'node_modules/mod-build/src/templates/_partials/scripts/vwo-redirect-callback.html'
66
+ nogtm = true
67
+ noheap = true
68
+ }}
69
+ {{else}}
70
+ {{ fileInclude 'node_modules/mod-build/src/templates/_partials/scripts/analytics.html'
71
+ nogtm = true
72
+ noheap = true
73
+ }}
74
+ {{/xif}}
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="{{#if this.customDescription}}{{this.customDescription}}{{else}}{{page.headConfig.description}}{{/if}}" />
92
+ <meta name="keywords" property="keywords" content="{{#if this.customKeywords}}{{this.customKeywords}}{{else}}{{page.headConfig.keywords}}{{/if}}" />
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
+ {{#if this.customTitle}}
112
+ <title>{{{this.customTitle}}}</title>
113
+ {{else}}
114
+ <title>
115
+ {{#if page.headConfig.inverseTitle}}
116
+ {{#unless page.headConfig.hideTitleCompanyName}}{{company_name}} | {{/unless}}
117
+ {{#if this.pageTitle}}
118
+ {{this.pageTitle}}
119
+ {{else}}
120
+ {{#if page.headConfig.title}}
121
+ {{page.headConfig.title}}
122
+ {{/if}}
123
+ {{/if}}
124
+ {{else}}
125
+ {{#if this.pageTitle}}
126
+ {{this.pageTitle}}
127
+ {{else}}
128
+ {{#if page.headConfig.title}}
129
+ {{page.headConfig.title}}
130
+ {{/if}}
131
+ {{/if}}
132
+ {{#unless page.headConfig.hideTitleCompanyName}} | {{company_name}}{{/unless}}
133
+ {{/if}}
134
+ </title>
135
+ {{/if}}
136
+
137
+ {{#if page.headConfig.faviconPath}}
138
+ <!-- favicon link -->
139
+ <link href="{{page.headConfig.faviconPath}}" rel="shortcut icon" type="image/x-icon" />
140
+ {{/if}}
141
+
142
+ <!-- assets links beforeEnd -->
143
+ {{#unless page.headConfig.noBsBaseStyles}}
144
+ <link href="{{#if this.src}}{{this.src}}{{else}}{{#unless this.useRelativePath}}/{{/unless}}{{/if}}styles/vendor/bootstrap-base.css" rel="stylesheet" type="text/css" />
145
+ {{/unless}}
146
+
147
+ {{#if page.headConfig.additionalAssets.beforeEnd}}
148
+ {{#each page.headConfig.additionalAssets.beforeEnd}}
149
+ {{#xif "this.type === 'style' "}}
150
+ <link href="{{#if isLocal}}
151
+ {{#if this.localSrc}}
152
+ {{this.localSrc}}
153
+ {{else}}
154
+ {{#if this.useModCdn}}
155
+ https://{{../nodeEnv}}/{{this.src}}
156
+ {{else}}
157
+ {{this.src}}
158
+ {{/if}}
159
+ {{/if}}
160
+ {{else}}
161
+ {{#if this.useModCdn}}
162
+ https://{{../nodeEnv}}/{{this.src}}
163
+ {{else}}
164
+ {{this.src}}
165
+ {{/if}}
166
+ {{/if}}" rel="stylesheet" type="text/css" />
167
+ {{/xif}}
168
+ {{#xif "this.type === 'script' "}}
169
+ <script src="{{#if isLocal}}
170
+ {{#if this.localSrc}}
171
+ {{this.localSrc}}
172
+ {{else}}
173
+ {{#if this.useModCdn}}
174
+ https://{{../nodeEnv}}/{{this.src}}
175
+ {{else}}
176
+ {{this.src}}
177
+ {{/if}}
178
+ {{/if}}
179
+ {{else}}
180
+ {{#if this.useModCdn}}
181
+ https://{{../nodeEnv}}/{{this.src}}
182
+ {{else}}
183
+ {{this.src}}
184
+ {{/if}}
185
+ {{/if}}" {{#if this.defer}}defer{{/if}} {{#if this.async}}async{{/if}}></script>
186
+ {{/xif}}
187
+ {{/each}}
188
+ {{/if}}
189
+
190
+ <!-- load styles based on path name -->
191
+ <link href="{{#if this.src}}{{this.src}}{{else}}{{#unless this.useRelativePath}}/{{/unless}}{{/if}}styles/{{this.path}}.css" rel="stylesheet" type="text/css" />
192
+ </head>
@@ -0,0 +1,200 @@
1
+ $header-background-color: $color-white !default;
2
+ $header-padding-desktop: 15px 0 !default;
3
+ $header-padding-mobile: 8px 0 !default;
4
+
5
+ $header-container-padding: 0 15px !default;
6
+
7
+ $header-content-align-items: center !default;
8
+ $header-content-display: flex !default;
9
+ $header-content-justify-content-mobile: center !default;
10
+ $header-content-justify-content-desktop: space-between !default;
11
+
12
+ $header-logo-display: inline-block !default;
13
+ $header-logo-height-desktop: 35px !default;
14
+ $header-logo-width-desktop: 152px !default;
15
+ $header-logo-margin-desktop: 0 !default;
16
+ $header-logo-height-mobile: 25px !default;
17
+ $header-logo-width-mobile: 112px !default;
18
+ $header-logo-margin-mobile: $header-logo-margin-desktop !default;
19
+
20
+ $header-back-button-background-color: transparent !default;
21
+ $header-back-button-border-right: 1px solid $color-charcoal2 !default;
22
+ $header-back-button-color: $color-charcoal2 !default;
23
+ $header-back-button-font-size: 21px !default;
24
+ $header-back-button-line-height: 1 !default;
25
+ $header-back-button-padding: 0 20px !default;
26
+ $header-show-button-button-flex: 0 15% !default;
27
+ $header-show-button-logo-flex: 0 85% !default;
28
+ $header-show-button-logo-margin: 20px 0 !default;
29
+ $header-show-button-padding: 0 !default;
30
+
31
+ $header-bbb-logo-height-desktop: 42px !default;
32
+ $header-bbb-logo-width-desktop: 115px !default;
33
+ $header-bbb-logo-height-mobile: 32px !default;
34
+ $header-bbb-logo-width-mobile: 82.5px !default;
35
+ $header-bbb-logo-display: inherit !default;
36
+
37
+ $header-tagline-color: $color-white !default;
38
+ $header-tagline-font-size: 18px !default;
39
+ $header-tagline-font-weight: 700 !default;
40
+
41
+ $callrail-display: none !default;
42
+ $call-color: $color-black !default;
43
+ $call-font-size: 18px !default;
44
+ $call-font-weight: 500 !default;
45
+ $call-number-font-weight: 600 !default;
46
+ $call-link-color: inherit !default;
47
+ $call-link-text-decoration: none !default;
48
+ $call-icon-width: 12px !default;
49
+ $call-icon-width-large: 20px !default;
50
+
51
+ $call-button-align-self: center !default;
52
+ $call-button-background-color: $color-white !default;
53
+ $call-button-border: 1px solid $call-color !default;
54
+ $call-button-border-radius: 15px !default;
55
+ $call-button-color: $call-color !default;
56
+ $call-button-font-size: 12px !default;
57
+ $call-button-font-weight: $call-font-weight !default;
58
+ $call-button-margin: 0 !default;
59
+ $call-button-padding: 4px 14px !default;
60
+ $call-button-text-transform: uppercase !default;
61
+
62
+ .header {
63
+ background-color: $header-background-color;
64
+ padding: $header-padding-mobile;
65
+
66
+ .container {
67
+ padding: $header-container-padding;
68
+ }
69
+
70
+ &__content {
71
+ align-items: $header-content-align-items;
72
+ display: $header-content-display;
73
+ justify-content: $header-content-justify-content-mobile;
74
+ }
75
+
76
+ &__logo{
77
+ img, svg {
78
+ display: $header-logo-display;
79
+ height: $header-logo-height-mobile;
80
+ margin: $header-logo-margin-mobile;
81
+ width: $header-logo-width-mobile;
82
+ }
83
+ }
84
+
85
+ &__bbb-logo {
86
+ display: $header-bbb-logo-display;
87
+ height: $header-bbb-logo-height-mobile;
88
+ width: $header-bbb-logo-width-mobile;
89
+ }
90
+
91
+ &__back-button {
92
+ background-color: $header-back-button-background-color;
93
+ border: 0;
94
+ border-right: $header-back-button-border-right;
95
+ color: $header-back-button-color;
96
+ display: none;
97
+ font-size: $header-back-button-font-size;
98
+ line-height: $header-back-button-line-height;
99
+ padding: $header-back-button-padding;
100
+ }
101
+
102
+ &__tagline {
103
+ color: $header-tagline-color;
104
+ font-size: $header-tagline-font-size;
105
+ font-weight: $header-tagline-font-weight;
106
+ }
107
+
108
+ &__call {
109
+ color: $call-color;
110
+ font-size: $call-font-size;
111
+ font-weight: $call-font-weight;
112
+
113
+ .header__call-icon {
114
+ width: $call-icon-width-large;
115
+ }
116
+ }
117
+
118
+ &__call-link {
119
+ color: $call-link-color;
120
+ text-decoration: $call-link-text-decoration;
121
+ }
122
+
123
+ &__call-number {
124
+ font-weight: $call-number-font-weight;
125
+ }
126
+
127
+ &__call-icon {
128
+ width: $call-icon-width;
129
+ }
130
+
131
+ &__call-button {
132
+ align-self: $call-button-align-self;
133
+ background-color: $call-button-background-color;
134
+ border: $call-button-border;
135
+ border-radius: $call-button-border-radius;
136
+ color: $call-button-color;
137
+ font-size: $call-button-font-size;
138
+ font-weight: $call-button-font-weight;
139
+ margin: $call-button-margin;
140
+ padding: $call-button-padding;
141
+ text-transform: $call-button-text-transform;
142
+ }
143
+ }
144
+
145
+ .callNowControls {
146
+ display: $callrail-display;
147
+ }
148
+
149
+ @include breakpoint-phone {
150
+ .header {
151
+ &--transparent {
152
+ background-color: transparent;
153
+ }
154
+
155
+ &--show-back-button {
156
+ padding: $header-show-button-padding;
157
+
158
+ .header__content {
159
+ align-items: stretch;
160
+ }
161
+
162
+ .header__back-button {
163
+ display: block;
164
+ flex: $header-show-button-button-flex;
165
+ }
166
+ .header__logo {
167
+ flex: $header-show-button-logo-flex;
168
+ margin: $header-show-button-logo-margin;
169
+ text-align: center;
170
+ }
171
+ }
172
+ }
173
+ }
174
+
175
+ @include breakpoint-sm {
176
+ .header {
177
+ padding: $header-padding-desktop;
178
+
179
+ &__content {
180
+ justify-content: $header-content-justify-content-desktop;
181
+ }
182
+
183
+ &__back-button {
184
+ display: none;
185
+ }
186
+
187
+ &__logo {
188
+ img, svg {
189
+ height: $header-logo-height-desktop;
190
+ margin: $header-logo-margin-desktop;
191
+ width: $header-logo-width-desktop;
192
+ }
193
+ }
194
+
195
+ &__bbb-logo {
196
+ height: $header-bbb-logo-height-desktop;
197
+ width: $header-bbb-logo-width-desktop;
198
+ }
199
+ }
200
+ }
@@ -0,0 +1,73 @@
1
+ <div class="header{{#if this.header.class}} {{this.header.class}}{{/if}}" {{#if this.header.id}}id="{{this.header.id}}"{{/if}}>
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{{#if this.header.logo.class}} {{this.header.logo.class}}{{/if}}">
13
+ {{#xif "this.header.logo.tag === 'img'"}}
14
+ <img src="{{#if this.header.logo.localSrc}}{{this.header.logo.localSrc}}{{else}}https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets/{{this.header.logo.src}}{{/if}}" alt="{{this.header.logo.altText}}">
15
+ {{/xif}}
16
+ {{#xif "this.header.logo.tag === 'picture'"}}
17
+ <picture>
18
+ <source media="{{#if this.header.logo.media}}{{this.header.logo.media}}{{/if}}" srcset="{{#if this.header.logo.localSrcset}}{{this.header.logo.localSrcset}}{{else}}https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets/{{this.header.logo.srcset}}{{/if}}" {{{this.header.logo.pictureSourceAttributes}}}>
19
+ <img src="{{#if this.header.logo.localSrc}}{{this.header.logo.localSrc}}{{else}}https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets/{{this.header.logo.src}}{{/if}}" alt="{{this.header.logo.altText}}">
20
+ </picture>
21
+ {{/xif}}
22
+ {{#xif "this.header.logo.tag === 'svg'"}}
23
+ <svg>
24
+ <use href="{{#if this.header.logo.localSrc}}{{this.header.logo.localSrc}}{{else}}https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets/{{this.header.logo.src}}{{/if}}"></use>
25
+ </svg>
26
+ {{/xif}}
27
+ </div>
28
+ {{/if}}
29
+ {{#if this.header.callRail}}
30
+ <div class="header__call callNowControls{{#if this.header.callRail.showButtonOn}}{{#each this.header.callRail.showButtonOn}} hidden-{{this}} {{/each}}{{else}} hidden-xs hidden-sm{{/if}}">
31
+ {{#if this.header.callRail.icon}}
32
+ <img src="{{#if this.header.callRail.icon.localSrc}}{{this.header.callRail.icon.localSrc}}{{else}}https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets/{{this.header.callRail.icon.src}}{{/if}}" class="header__call-icon" alt="{{this.header.callRail.icon.altText}}">
33
+ {{/if}}
34
+ {{#xif "this.header.callRail.setAllTextAsLink === true"}}
35
+ <a class="header__call-link" href="tel:{{this.header.callRail.phoneNumber}}">{{{this.header.callRail.text}}} <span class="header__call-number">{{formatPhoneNo this.header.callRail.phoneNumber}}</span></a>
36
+ {{else}}
37
+ {{{this.header.callRail.text}}}
38
+ {{#xif "this.header.callRail.setNumberAsLink === true"}}
39
+ <a class="header__call-link" href="tel:{{this.header.callRail.phoneNumber}}"><span class="header__call-number">{{formatPhoneNo this.header.callRail.phoneNumber}}</span></a>
40
+ {{else}}
41
+ <span class="header__call-number">{{formatPhoneNo this.header.callRail.phoneNumber}}</span>
42
+ {{/xif}}
43
+ {{/xif}}
44
+
45
+ </div>
46
+ <{{#if this.header.callRail.useAnchorButton}}a{{else}}button{{/if}} class="header__call-button callNowControls{{#if this.header.callRail.hideButtonOn}}{{#each this.header.callRail.hideButtonOn}} hidden-{{this}} {{/each}}{{else}} hidden-md hidden-lg{{/if}}" href="tel:{{this.header.callRail.phoneNumber}}">
47
+ {{#if this.header.callRail.icon}}
48
+ <img src="{{#if this.header.callRail.icon.localSrc}}{{this.header.callRail.icon.localSrc}}{{else}}https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets/{{this.header.callRail.icon.src}}{{/if}}" class="header__call-icon" alt="{{this.header.callRail.icon.altText}}">
49
+ {{/if}}
50
+ {{{this.header.callRail.mobileText}}}
51
+ </{{#if this.header.callRail.useAnchorButton}}a{{else}}button{{/if}}>
52
+ {{/if}}
53
+ {{#if this.header.additionalLogos}}
54
+ <div class="header__additional-logos">
55
+ {{#each this.header.additionalLogos}}
56
+ {{#xif "this.tag === 'svg'"}}
57
+ <svg {{#if this.class}}class="{{this.class}}"{{/if}}>
58
+ <use href="{{#if this.localSrc}}{{this.localSrc}}{{else}}https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets/{{this.src}}{{/if}}"></use>
59
+ </svg>
60
+ {{else}}
61
+ <img {{#if this.class}}class="{{this.class}}"{{/if}} src="{{#if this.localSrc}}{{this.localSrc}}{{else}}https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets/{{this.src}}{{/if}}" alt="{{this.altText}}"{{#if this.width}} width="{{this.width}}"{{/if}}{{#if this.height}} height="{{this.height}}"{{/if}}>
62
+ {{/xif}}
63
+ {{/each}}
64
+ </div>
65
+ {{/if}}
66
+ {{#if this.header.tagline.text}}
67
+ <div class="header__tagline{{#if this.header.tagline.class}} {{this.header.tagline.class}}{{/if}}">
68
+ {{{this.header.tagline.text}}}
69
+ </div>
70
+ {{/if}}
71
+ </div>
72
+ </div>
73
+ </div>