mod-build 3.6.71 → 4.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/.eslintignore +3 -0
  2. package/.eslintrc +18 -0
  3. package/CHANGELOG.md +2 -240
  4. package/README.md +16 -263
  5. package/gulp-tasks/build.js +1 -1
  6. package/package.json +21 -69
  7. package/siteconfig.js +38 -0
  8. package/src/accessible-components/button/_button.scss +195 -0
  9. package/src/accessible-components/button/back-button.html +4 -0
  10. package/src/accessible-components/button/button.html +17 -0
  11. package/src/accessible-components/carousel/_carousel.scss +112 -0
  12. package/src/accessible-components/carousel/carousel.html +25 -0
  13. package/src/accessible-components/checkbox/_checkbox.scss +96 -0
  14. package/src/accessible-components/checkbox/checkbox.html +8 -0
  15. package/src/accessible-components/expand-collapse/_expand-collapse.scss +122 -0
  16. package/src/accessible-components/expand-collapse/expand-collapse.html +8 -0
  17. package/src/accessible-components/expand-collapse/expand-collapse.js +52 -0
  18. package/src/accessible-components/expand-collapse/expand-collapse.min.js +2 -0
  19. package/src/accessible-components/expand-collapse/expand-collapse.min.js.map +1 -0
  20. package/src/accessible-components/featured-block/_featured-block.scss +219 -0
  21. package/src/accessible-components/featured-block/featured-block.html +54 -0
  22. package/src/accessible-components/foot-assets/foot-assets.html +92 -0
  23. package/src/accessible-components/footer/footer.html +2 -0
  24. package/src/{templates/_partials/scripts/gtm-editorials/body/google-tag-manager-body.html → accessible-components/gtm-body/gtm-body.html} +1 -2
  25. package/src/accessible-components/head/head.html +188 -0
  26. package/src/accessible-components/header/_header.scss +289 -0
  27. package/src/accessible-components/header/header.html +66 -0
  28. package/src/accessible-components/hero/_hero.scss +371 -0
  29. package/src/accessible-components/hero/hero.html +53 -0
  30. package/src/accessible-components/how-it-works/_how-it-works.scss +217 -0
  31. package/src/accessible-components/how-it-works/how-it-works-carousel.html +12 -0
  32. package/src/accessible-components/how-it-works/how-it-works-static.html +12 -0
  33. package/src/accessible-components/how-it-works/how-it-works.html +14 -0
  34. package/src/accessible-components/information/_information.scss +92 -0
  35. package/src/accessible-components/information/information.html +26 -0
  36. package/src/accessible-components/input/_input.scss +202 -0
  37. package/src/accessible-components/input/input.html +22 -0
  38. package/src/accessible-components/input/textarea.html +9 -0
  39. package/src/accessible-components/partners/_partners.scss +232 -0
  40. package/src/accessible-components/partners/partners.html +56 -0
  41. package/src/accessible-components/picture/picture.html +19 -0
  42. package/src/accessible-components/preloader/_preloader.scss +61 -0
  43. package/src/accessible-components/preloader/preloader.html +23 -0
  44. package/src/accessible-components/progress-bar/_progress-bar.scss +119 -0
  45. package/src/accessible-components/progress-bar/progress-bar.html +21 -0
  46. package/src/accessible-components/progress-bar/progress-bar.js +37 -0
  47. package/src/accessible-components/progress-bar/progress-bar.min.js +2 -0
  48. package/src/accessible-components/progress-bar/progress-bar.min.js.map +1 -0
  49. package/src/accessible-components/radio-button/_radio-button.scss +537 -0
  50. package/src/accessible-components/radio-button/radio-button.html +34 -0
  51. package/src/accessible-components/reviews/_reviews.scss +175 -0
  52. package/src/accessible-components/reviews/reviews-carousel.html +12 -0
  53. package/src/accessible-components/reviews/reviews-static.html +12 -0
  54. package/src/accessible-components/reviews/reviews.html +37 -0
  55. package/src/accessible-components/select/_select.scss +69 -0
  56. package/src/accessible-components/select/select.html +10 -0
  57. package/src/accessible-components/steps/_steps.scss +524 -0
  58. package/src/accessible-components/steps/defaultFormFieldConfig.json +109 -0
  59. package/src/accessible-components/steps/step-fields.html +33 -0
  60. package/src/accessible-components/steps/steps.html +150 -0
  61. package/src/accessible-components/tcpa/_tcpa.scss +49 -0
  62. package/src/accessible-components/tcpa/tcpa.html +9 -0
  63. package/src/accessible-components/tile/_tile.scss +117 -0
  64. package/src/accessible-components/tile/tile.html +14 -0
  65. package/src/accessible-components/value-props/_value-props.scss +100 -0
  66. package/src/accessible-components/value-props/value-props.html +17 -0
  67. package/src/accessible-components/zip-control/_zip-control.scss +78 -0
  68. package/src/accessible-components/zip-control/zip-control.html +10 -0
  69. package/src/data/footer.js +117 -0
  70. package/src/data/seasons.js +5 -7
  71. package/src/data/theme.json +164 -0
  72. package/src/index.html +18 -0
  73. package/src/main.js +45 -0
  74. package/src/resources/scripts/abandonment/abandonment-1df90ee155f6c0893d90.min.js +2 -0
  75. package/src/resources/scripts/abandonment/abandonment.min.js +2 -0
  76. package/src/resources/scripts/footer/footer-component-7b5e263f64568573ecc0.min.js +2 -0
  77. package/src/resources/scripts/footer/footer-component.min.js +2 -0
  78. package/src/resources/scripts/helpers/initNumericOnlyFields.min.js +2 -0
  79. package/src/resources/scripts/helpers/initNumericOnlyFields.min.js.map +1 -0
  80. package/src/resources/scripts/helpers/isZipCodeValid.min.js +2 -0
  81. package/src/resources/scripts/helpers/isZipCodeValid.min.js.map +1 -0
  82. package/src/resources/scripts/mod-alytics/modalytics-0ac7d7a5a72ea67a0f47.min.js +2 -0
  83. package/src/resources/scripts/mod-alytics/modalytics.min.js +2 -0
  84. package/src/resources/scripts/mod-form/form/homeowner-77a4dd439b8db412678b.min.js +2 -0
  85. package/src/resources/scripts/mod-form/form/homeowner.min.js +2 -0
  86. package/src/resources/scripts/mod-utils/modutils-8ba40d21f559171ddd36.min.js +2 -0
  87. package/src/resources/scripts/mod-utils/modutils.min.js +2 -0
  88. package/src/resources/styles/components/abandonment/abandonment-ae63aca828944411eff7.min.css +1 -0
  89. package/src/resources/styles/components/abandonment/abandonment.min.css +1 -0
  90. package/src/resources/styles/components/footer/mod-footer-3717faf57147c62c1777.min.css +1 -0
  91. package/src/resources/styles/components/footer/mod-footer.min.css +1 -0
  92. package/src/resources/styles/components/footer/qs-footer-12bf078dc614ff221c3c.min.css +1 -0
  93. package/src/resources/styles/components/footer/qs-footer.min.css +1 -0
  94. package/src/resources/templates/modals/about/index.html +9 -0
  95. package/src/resources/templates/modals/contact-us/index.html +348 -0
  96. package/src/resources/templates/modals/faq/index.html +9 -0
  97. package/src/resources/templates/modals/privacy/index.html +236 -0
  98. package/src/resources/templates/modals/terms/index.html +166 -0
  99. package/src/scripts/has-qs-params.js +6 -5
  100. package/src/scripts/url-cleaner.js +3 -3
  101. package/src/scripts/utils.js +178 -0
  102. package/src/styles/home.scss +1 -0
  103. package/src/temp/scripts/maxmind-geoip2.js +104 -0
  104. package/src/templates/_partials/scripts/deferred-styles.html +16 -16
  105. package/src/templates/_partials/scripts/vwo-redirect-callback.html +43 -45
  106. package/src/templates/components/head.html +70 -0
  107. package/tasks/clean.js +13 -0
  108. package/tasks/grab-cdn.js +107 -0
  109. package/tasks/grab-form-helpers.js +94 -0
  110. package/tasks/grab-shared-components.js +81 -0
  111. package/tasks/grab-shared-scripts.js +267 -0
  112. package/tasks/serve.js +15 -0
  113. package/tasks/templates.js +168 -0
  114. package/template.js +801 -0
  115. package/vite.config.js +56 -0
  116. package/.eslintrc.yml +0 -59
  117. package/src/data/common.js +0 -704
  118. package/src/data/components/qs-footer.js +0 -55
  119. package/src/data/components/quote-footer.js +0 -73
  120. package/src/scripts/apt-block.js +0 -919
  121. package/src/scripts/components/custom-selects.js +0 -48
  122. package/src/scripts/components/radio-panels.js +0 -45
  123. package/src/scripts/es6-1.js +0 -6
  124. package/src/scripts/es6-2.js +0 -2
  125. package/src/scripts/qs-form.js +0 -839
  126. package/src/scripts/vendor/maxmind-geoip2.js +0 -2
  127. package/src/scripts/vendor/swiper.min.js +0 -13
  128. package/src/styles/apt-block.scss +0 -888
  129. package/src/templates/_partials/apt-block.html +0 -30
  130. package/src/templates/_partials/scripts/analytics.html +0 -4
  131. package/src/templates/_partials/scripts/go-page-hiding-snippet.html +0 -8
  132. package/src/templates/_partials/scripts/google-maps.html +0 -1
  133. package/src/templates/_partials/scripts/google-optimize.html +0 -12
  134. package/src/templates/_partials/scripts/gtm-editorials/head/google-tag-manager-head.html +0 -10
  135. package/src/templates/_partials/scripts/gtm-hil/body/google-tag-manager-body.html +0 -5
  136. package/src/templates/_partials/scripts/gtm-hil/head/google-tag-manager-head.html +0 -10
  137. package/src/templates/_partials/scripts/gtm-pro/body/google-tag-manager-body.html +0 -5
  138. package/src/templates/_partials/scripts/gtm-pro/head/google-tag-manager-head.html +0 -10
  139. package/src/templates/_partials/scripts/gtm-quote/body/google-tag-manager-body.html +0 -5
  140. package/src/templates/_partials/scripts/gtm-quote/head/google-tag-manager-head.html +0 -9
  141. package/src/templates/_partials/scripts/gtm-whitelabel/body/mod-google-tag-manager-body.html +0 -5
  142. package/src/templates/_partials/scripts/gtm-whitelabel/body/non-mod-google-tag-manager-body.html +0 -5
  143. package/src/templates/_partials/scripts/gtm-whitelabel/head/mod-google-tag-manager-head.html +0 -10
  144. package/src/templates/_partials/scripts/gtm-whitelabel/head/non-mod-google-tag-manager-head.html +0 -9
  145. package/src/templates/_partials/scripts/gtm-wordpress/body/google-tag-manager-body.html +0 -5
  146. package/src/templates/_partials/scripts/gtm-wordpress/head/google-tag-manager-head.html +0 -9
  147. package/src/templates/_partials/scripts/visual-website-optimizer.html +0 -5
  148. package/src/templates/index.html +0 -46
  149. /package/{src → public}/favicon.ico +0 -0
@@ -0,0 +1,371 @@
1
+ $hero-min-height: 0 !default;
2
+ $hero-padding: 30px 0 !default;
3
+ $hero-padding-tablet: 50px 0 70px !default;
4
+ $hero-padding-desktop: 70px 0 !default;
5
+ $hero-position: relative !default;
6
+ $hero-transition: padding 300ms ease-in-out, min-height 300ms ease-in-out !default;
7
+
8
+ $hero-background-background-color: transparent !default;
9
+ $hero-background-height: 100% !default;
10
+ $hero-background-height-desktop: $hero-background-height !default;
11
+ $hero-background-max-height: 100% !default;
12
+ $hero-background-left: 0 !default;
13
+ $hero-background-overflow: hidden !default;
14
+ $hero-background-position: absolute !default;
15
+ $hero-background-top: unset !default;
16
+ $hero-background-bottom: 0 !default;
17
+ $hero-background-width: 100% !default;
18
+ $hero-background-z-index: -1 !default;
19
+
20
+ $hero-background-image-height: 100% !default;
21
+ $hero-background-image-max-width: 100% !default;
22
+ $hero-background-image-object-fit: cover !default;
23
+ $hero-background-image-object-position: top !default;
24
+ $hero-background-image-width: 100% !default;
25
+
26
+ $hero-overlay-background: linear-gradient(180deg, rgba($color-charcoal9,.6) 20%, rgba($color-white,1) 35%) !default;
27
+ $hero-overlay-background-desktop: rgba($color-charcoal9,.6) !default;
28
+ $hero-overlay-display: block !default;
29
+ $hero-overlay-display-desktop: $hero-overlay-display !default;
30
+ $hero-overlay-height: 100% !default;
31
+ $hero-overlay-height-desktop: $hero-overlay-height !default;
32
+ $hero-overlay-left: 0 !default;
33
+ $hero-overlay-overflow: hidden !default;
34
+ $hero-overlay-position: absolute !default;
35
+ $hero-overlay-top: unset !default;
36
+ $hero-overlay-bottom: 0 !default;
37
+ $hero-overlay-width: 100% !default;
38
+ $hero-overlay-z-index: 0 !default;
39
+
40
+ $hero-wrapper-align-items: center !default;
41
+ $hero-wrapper-align-items-desktop: center !default;
42
+ $hero-wrapper-display: flex !default;
43
+ $hero-wrapper-flex-direction: column !default;
44
+ $hero-wrapper-flex-direction-desktop: row !default;
45
+ $hero-wrapper-justify-content-desktop: initial !default;
46
+ $hero-wrapper-padding: 0 !default;
47
+ $hero-wrapper-padding-desktop: $hero-wrapper-padding !default;
48
+ $hero-wrapper-padding-xl: $hero-wrapper-padding !default;
49
+ $hero-wrapper-position: relative !default;
50
+ $hero-wrapper-width: 100% !default;
51
+ $hero-wrapper-z-index: 1 !default;
52
+
53
+ $hero-content-background-color: $color-white !default;
54
+ $hero-content-background-color-desktop: $hero-content-background-color !default;
55
+ $hero-content-border-radius: 0 !default;
56
+ $hero-content-box-shadow: 0 10px 20px 0 rgba($color-black, .08) !default;
57
+ $hero-content-max-width: 100% !default;
58
+ $hero-content-max-width-tablet: 445px !default;
59
+ $hero-content-max-width-desktop: $hero-content-max-width-tablet !default;
60
+ $hero-content-padding: 0 !default;
61
+ $hero-content-width: 100% !default;
62
+
63
+ $hero-header-color: $color-white !default;
64
+ $hero-header-text-align: center !default;
65
+ $hero-header-text-align-desktop: center !default;
66
+ $hero-header-container-padding: 0 15px !default;
67
+ $hero-header-container-padding-xl: 0 30px !default;
68
+
69
+ $hero-title-font-size: 1.5rem !default;
70
+ $hero-title-font-size-desktop: 2.125rem !default;
71
+ $hero-title-font-size-xl: 2.625rem !default;
72
+ $hero-title-font-weight: 400 !default;
73
+ $hero-title-line-height: 1.25 !default;
74
+ $hero-title-line-height-desktop: $hero-title-line-height !default;
75
+ $hero-title-margin: 0 0 35px !default;
76
+ $hero-title-margin-desktop: 0 0 25px !default;
77
+ $hero-title-max-width-desktop: 100% !default;
78
+ $hero-title-text-transform: none !default;
79
+
80
+ $hero-subtitle-font-size: 1rem !default;
81
+ $hero-subtitle-font-size-desktop: 1.125rem !default;
82
+ $hero-subtitle-font-weight: 400 !default;
83
+ $hero-subtitle-line-height: 1.35 !default;
84
+ $hero-subtitle-margin: 0 auto 25px !default;
85
+ $hero-subtitle-text-transform: none !default;
86
+
87
+ $hero-bbb-margin: 0 auto 15px !default;
88
+ $hero-bbb-width: 90px !default;
89
+
90
+ // Form In Progress Styles
91
+ $hero-inprogress-padding: 0 !default;
92
+ $hero-inprogress-container-padding: 0 !default;
93
+ // (Mobile)
94
+ $hero-inprogress-border-top: 1px solid $color-charcoal1 !default;
95
+ $hero-inprogress-background-color: $color-white !default;
96
+ $hero-inprogress-mobile-display: none !default;
97
+ $hero-inprogress-content-background-color: transparent !default;
98
+ $hero-inprogress-content-box-shadow: none !default;
99
+ $hero-inprogress-min-height: calc(100vh - 210px) !default;
100
+ // (Desktop)
101
+ $hero-inprogress-border-bottom-desktop: 1px solid $color-charcoal1 !default;
102
+ $hero-inprogress-border-top-desktop: 3px solid $color-charcoal1 !default;
103
+ $hero-inprogress-container-width: 100% !default;
104
+ $hero-inprogress-header-max-width: 660px !default;
105
+ $hero-inprogress-header-margin-left: auto !default;
106
+ $hero-inprogress-header-padding: 70px 0 70px 25px !default;
107
+ $hero-inprogress-header-width: 70% !default;
108
+ $hero-inprogress-wrapper-min-height: 615px !default;
109
+ $hero-inprogress-content-background-color-desktop: $color-white !default;
110
+ $hero-inprogress-content-max-width: 100% !default;
111
+ $hero-inprogress-content-min-height: inherit !default;
112
+ $hero-inprogress-content-min-width: 400px !default;
113
+ $hero-inprogress-content-padding: 0 0 30px !default;
114
+ $hero-inprogress-content-width: 30% !default;
115
+ $hero-inprogress-form-max-width: 445px !default;
116
+ // (XL Desktop)
117
+ $hero-inprogress-content-padding-xl: $hero-inprogress-content-padding !default;
118
+ $hero-inprogress-header-max-width-xl: 710px !default;
119
+ $hero-inprogress-header-width-xl: 60% !default;
120
+ $hero-inprogress-content-width-xl: 40% !default;
121
+
122
+ .hero {
123
+ min-height: $hero-min-height;
124
+ padding: $hero-padding;
125
+ position: $hero-position;
126
+ transition: $hero-transition;
127
+
128
+ &__background {
129
+ background: $hero-background-background-color;
130
+ bottom: $hero-background-bottom;
131
+ height: $hero-background-height;
132
+ left: $hero-background-left;
133
+ overflow: $hero-background-overflow;
134
+ position: $hero-background-position;
135
+ top: $hero-background-top;
136
+ width: $hero-background-width;
137
+ z-index: $hero-background-z-index;
138
+ }
139
+
140
+ &__background-image {
141
+ height: $hero-background-image-height;
142
+ max-width: $hero-background-image-max-width;
143
+ object-fit: $hero-background-image-object-fit;
144
+ object-position: $hero-background-image-object-position;
145
+ width: $hero-background-image-width;
146
+ }
147
+
148
+ &__background-overlay {
149
+ background: $hero-overlay-background;
150
+ bottom: $hero-overlay-bottom;
151
+ display: $hero-overlay-display;
152
+ height: $hero-overlay-height;
153
+ left: $hero-overlay-left;
154
+ overflow: $hero-overlay-overflow;
155
+ position: $hero-overlay-position;
156
+ top: $hero-overlay-top;
157
+ width: $hero-overlay-width;
158
+ z-index: $hero-overlay-z-index;
159
+ }
160
+
161
+ &__wrapper {
162
+ align-items: $hero-wrapper-align-items;
163
+ display: $hero-wrapper-display;
164
+ flex-direction: $hero-wrapper-flex-direction;
165
+ padding: $hero-wrapper-padding;
166
+ position: $hero-wrapper-position;
167
+ width: $hero-wrapper-width;
168
+ z-index: $hero-wrapper-z-index;
169
+ }
170
+
171
+ &__content {
172
+ background-color: $hero-content-background-color;
173
+ border-radius: $hero-content-border-radius;
174
+ box-shadow: $hero-content-box-shadow;
175
+ max-width: $hero-content-max-width;
176
+ padding: $hero-content-padding;
177
+ width: $hero-content-width;
178
+ }
179
+
180
+ &__header {
181
+ color: $hero-header-color;
182
+ text-align: $hero-header-text-align;
183
+ }
184
+
185
+ &__header-container {
186
+ padding: $hero-header-container-padding;
187
+ }
188
+
189
+ &__title {
190
+ font-size: $hero-title-font-size;
191
+ font-weight: $hero-title-font-weight;
192
+ line-height: $hero-title-line-height;
193
+ margin: $hero-title-margin;
194
+ text-transform: $hero-title-text-transform;
195
+ }
196
+
197
+ &__subtitle {
198
+ font-size: $hero-subtitle-font-size;
199
+ font-weight: $hero-subtitle-font-weight;
200
+ line-height: $hero-subtitle-line-height;
201
+ margin: $hero-subtitle-margin;
202
+ text-transform: $hero-subtitle-text-transform;
203
+ }
204
+
205
+ &__bbb {
206
+ margin: $hero-bbb-margin;
207
+ width: $hero-bbb-width;
208
+ }
209
+ }
210
+
211
+ @include breakpoint-md {
212
+ .hero {
213
+ padding: $hero-padding-tablet;
214
+
215
+ &__background {
216
+ height: $hero-background-height-desktop;
217
+ max-height: $hero-background-max-height;
218
+ }
219
+
220
+ &__background-overlay {
221
+ background: $hero-overlay-background-desktop;
222
+ display: $hero-overlay-display-desktop;
223
+ height: $hero-overlay-height-desktop;
224
+ }
225
+
226
+ &__content {
227
+ background-color: $hero-content-background-color-desktop;
228
+ max-width: $hero-content-max-width-tablet;
229
+ }
230
+
231
+ &__header {
232
+ text-align: $hero-header-text-align;
233
+ }
234
+
235
+ &__title {
236
+ font-size: $hero-title-font-size-desktop;
237
+ line-height: $hero-title-line-height;
238
+ margin: $hero-title-margin-desktop;
239
+ max-width: $hero-title-max-width-desktop;
240
+ }
241
+
242
+ &__subtitle {
243
+ font-size: $hero-subtitle-font-size-desktop;
244
+ }
245
+ }
246
+
247
+ .form-in-progress {
248
+ .hero {
249
+ border-bottom: $hero-inprogress-border-bottom-desktop;
250
+ border-top: $hero-inprogress-border-top-desktop;
251
+ }
252
+ }
253
+ }
254
+
255
+ @include breakpoint-lg {
256
+ .hero {
257
+ padding: $hero-padding-desktop;
258
+
259
+ &__wrapper {
260
+ align-items: $hero-wrapper-align-items-desktop;
261
+ flex-direction: $hero-wrapper-flex-direction-desktop;
262
+ justify-content: $hero-wrapper-justify-content-desktop;
263
+ padding: $hero-wrapper-padding-desktop;
264
+ }
265
+
266
+ &__content {
267
+ max-width: $hero-content-max-width-desktop;
268
+ }
269
+ }
270
+
271
+ .form-in-progress {
272
+ .hero {
273
+ padding: $hero-inprogress-padding;
274
+
275
+ &__container {
276
+ padding: $hero-inprogress-container-padding;
277
+ width: $hero-inprogress-container-width;
278
+ }
279
+
280
+ &__header {
281
+ padding: $hero-inprogress-header-padding;
282
+ width: $hero-inprogress-header-width;
283
+ }
284
+
285
+ &__header-container,
286
+ .value-props {
287
+ margin-left: $hero-inprogress-header-margin-left;
288
+ max-width: $hero-inprogress-header-max-width;
289
+ }
290
+
291
+ &__content {
292
+ background-color: $hero-inprogress-content-background-color-desktop;
293
+ max-width: $hero-inprogress-content-max-width;
294
+ min-height: $hero-inprogress-content-min-height;
295
+ min-width: $hero-inprogress-content-min-width;
296
+ padding: $hero-inprogress-content-padding;
297
+ width: $hero-inprogress-content-width;
298
+
299
+ form {
300
+ max-width: $hero-inprogress-form-max-width;
301
+ }
302
+ }
303
+
304
+ &__wrapper {
305
+ min-height: $hero-inprogress-wrapper-min-height;
306
+ }
307
+ }
308
+ }
309
+ }
310
+
311
+ @include breakpoint-xl {
312
+ .hero {
313
+ &__title {
314
+ font-size: $hero-title-font-size-xl;
315
+ }
316
+
317
+ &__header-container {
318
+ padding: $hero-header-container-padding-xl;
319
+ }
320
+
321
+ &__wrapper {
322
+ padding: $hero-wrapper-padding-xl;
323
+ }
324
+ }
325
+
326
+ .form-in-progress {
327
+ .hero {
328
+ &__header {
329
+ width: $hero-inprogress-header-width-xl;
330
+ }
331
+
332
+ &__header-container,
333
+ .value-props {
334
+ max-width: $hero-inprogress-header-max-width-xl;
335
+ }
336
+
337
+ &__content {
338
+ padding: $hero-inprogress-content-padding-xl;
339
+ width: $hero-inprogress-content-width-xl;
340
+ }
341
+ }
342
+ }
343
+ }
344
+
345
+ @include breakpoint-phone {
346
+ .form-in-progress {
347
+ .hero {
348
+ background-color: $hero-inprogress-background-color;
349
+ border-top: $hero-inprogress-border-top;
350
+ min-height: $hero-inprogress-min-height;
351
+ padding: $hero-inprogress-padding;
352
+
353
+ &__container {
354
+ padding: $hero-inprogress-container-padding;
355
+ }
356
+
357
+ &__content,
358
+ .form {
359
+ background: $hero-inprogress-content-background-color;
360
+ box-shadow: $hero-inprogress-content-box-shadow;
361
+ }
362
+
363
+ &__background,
364
+ &__background-overlay,
365
+ &__header {
366
+ display: $hero-inprogress-mobile-display;
367
+ }
368
+ }
369
+ }
370
+
371
+ }
@@ -0,0 +1,53 @@
1
+ <section class="hero{{#if this.hero.attributes.class}} {{this.hero.attributes.class}}{{/if}}" {{{addAttributes this.hero 'class'}}}>
2
+ {{#if this.hero.background}}
3
+ {{#if this.hero.background.picture}}
4
+ {{ fileInclude 'src/accessible-components/picture/picture.html'
5
+ picture = this.hero.background.picture
6
+ class = 'hero__background'
7
+ }}
8
+ {{else}}
9
+ <div class="hero__background"></div>
10
+ {{/if}}
11
+ {{#if this.hero.background.additionalbackground.picture}}
12
+ {{ fileInclude 'src/accessible-components/picture/picture.html'
13
+ picture = this.hero.background.additionalbackground.picture
14
+ }}
15
+ {{/if}}
16
+ {{#xif "this.hero.background.includeOverlay === true"}}
17
+ <div class="hero__background-overlay"></div>
18
+ {{/xif}}
19
+ {{/if}}
20
+ <div class="hero__container container">
21
+ <div class="hero__wrapper">
22
+ <div class="hero__header">
23
+ <div class="hero__header-container">
24
+ {{#if this.hero.title}}
25
+ <h1 class="hero__title{{#if this.hero.title.attributes.class}} {{this.hero.title.attributes.class}}{{/if}}" {{{addAttributes this.hero.title 'class'}}} data-theme-template="title">
26
+ {{#if this.hero.title.mobileText}}
27
+ <span class="visible-sm-down">{{{this.hero.title.mobileText}}}</span>
28
+ {{/if}}
29
+ <span {{#if this.hero.title.mobileText}}class="hidden visible-md-up"{{/if}}>{{{this.hero.title.text}}}</span>
30
+ </h1>
31
+ {{/if}}
32
+ {{#if this.hero.subtitle.text}}
33
+ <p class="hero__subtitle{{#if this.hero.subtitle.attributes.class}} {{this.hero.subtitle.attributes.class}}{{/if}}" {{{addAttributes this.hero.subtitle 'class'}}} data-theme-template="subtitle">
34
+ {{{this.hero.subtitle.text}}}
35
+ </p>
36
+ {{/if}}
37
+ </div>
38
+ {{#this.hero.valueProps}}
39
+ {{ fileInclude 'src/accessible-components/value-props/value-props.html'
40
+ props = this
41
+ }}
42
+ {{/this.hero.valueProps}}
43
+ </div>
44
+ {{#if this.hero.formTemplateInclude}}
45
+ <div class="hero__content">
46
+ {{fileInclude this.hero.formTemplateInclude
47
+ form = this
48
+ }}
49
+ </div>
50
+ {{/if}}
51
+ </div>
52
+ </div>
53
+ </section>
@@ -0,0 +1,217 @@
1
+ $hiw-background: $color-white !default;
2
+ $hiw-border-bottom: 0 !default;
3
+ $hiw-padding: 40px 0 !default;
4
+ $hiw-padding-tablet: 60px 0 !default;
5
+ $hiw-padding-desktop: 80px 0 !default;
6
+ $hiw-text-align: center !default;
7
+
8
+ $hiw-title-color: $color-charcoal8 !default;
9
+ $hiw-title-font-size: 1.375rem !default;
10
+ $hiw-title-font-size-desktop: 1.5rem !default;
11
+ $hiw-title-font-weight: 700 !default;
12
+ $hiw-title-line-height: 1.25 !default;
13
+ $hiw-title-margin: 0 0 35px !default;
14
+
15
+ $hiw-content-max-width: 320px !default;
16
+ $hiw-content-width: 90% !default;
17
+ $hiw-content-max-width-desktop: 100% !default;
18
+ $hiw-content-width-desktop: 80% !default;
19
+ $hiw-content-text-align: center !default;
20
+
21
+ $hiw-wrapper-align-items: center !default;
22
+ $hiw-wrapper-align-items-desktop: center !default;
23
+ $hiw-wrapper-flex-direction: row !default;
24
+ $hiw-wrapper-flex-direction-desktop: column !default;
25
+
26
+ $hiw-card-divider: 2px dashed $color-charcoal1 !default;
27
+ $hiw-card-divider-height: 22px !default;
28
+ $hiw-card-divider-position-left: 29px !default;
29
+ $hiw-card-divider-position-top: -30px !default;
30
+ $hiw-card-divider-height-desktop: 100% !default;
31
+ $hiw-card-divider-position-left-desktop: 0 !default;
32
+ $hiw-card-divider-position-top-desktop: -20% !default;
33
+ $hiw-card-divider-transform: rotate(90deg) !default;
34
+
35
+ $hiw-card-wrapper-margin: auto !default;
36
+ $hiw-card-wrapper-max-width: 260px !default;
37
+
38
+ $hiw-card-margin-bottom: 0 !default;
39
+ $hiw-card-text-align: center !default;
40
+ $hiw-card-text-align-desktop: $hiw-card-text-align !default;
41
+ $hiw-block-card-text-align: left !default;
42
+ $hiw-block-card-text-align-desktop: center !default;
43
+ $hiw-block-card-margin-bottom: 30px !default;
44
+
45
+ $hiw-card-icon-height: 100px !default;
46
+ $hiw-card-icon-width: $hiw-card-icon-height !default;
47
+ $hiw-block-card-icon-height: 60px !default;
48
+ $hiw-block-card-icon-width: $hiw-block-card-icon-height !default;
49
+
50
+ $hiw-card-title-color: $color-charcoal8 !default;
51
+ $hiw-card-title-font-size: 1rem !default;
52
+ $hiw-card-title-font-weight: bold !default;
53
+ $hiw-card-title-line-height: 1.25 !default;
54
+ $hiw-card-title-margin: 15px 0 !default;
55
+
56
+ $hiw-card-desc-color: $color-charcoal8 !default;
57
+ $hiw-card-desc-font-size: 1rem !default;
58
+ $hiw-card-desc-font-size-desktop: 1.125rem !default;
59
+ $hiw-card-desc-line-height: 1.35 !default;
60
+ $hiw-card-desc-margin: 15px 0 0 !default;
61
+ $hiw-card-desc-margin-desktop: $hiw-card-desc-margin !default;
62
+ $hiw-block-card-desc-margin: 0 0 0 10px !default;
63
+ $hiw-block-card-desc-margin-desktop: 15px auto 0 !default;
64
+
65
+ .hiw-card {
66
+ margin-bottom: $hiw-card-margin-bottom;
67
+ text-align: $hiw-card-text-align;
68
+
69
+ &__wrapper {
70
+ margin: $hiw-card-wrapper-margin;
71
+ max-width: $hiw-card-wrapper-max-width;
72
+ }
73
+
74
+ &__icon {
75
+ height: $hiw-card-icon-height;
76
+ width: $hiw-card-icon-width;
77
+ }
78
+
79
+ &__title {
80
+ color: $hiw-card-title-color;
81
+ font-size: $hiw-card-title-font-size;
82
+ font-weight: $hiw-card-title-font-weight;
83
+ line-height: $hiw-card-title-line-height;
84
+ margin: $hiw-card-title-margin;
85
+ }
86
+
87
+ &__description {
88
+ color: $hiw-card-desc-color;
89
+ font-size: $hiw-card-desc-font-size;
90
+ line-height: $hiw-card-desc-line-height;
91
+ margin: $hiw-card-desc-margin;
92
+ }
93
+ }
94
+
95
+ .hiw-block,
96
+ .hiw-carousel {
97
+ background: $hiw-background;
98
+ border-bottom: $hiw-border-bottom;
99
+ padding: $hiw-padding;
100
+ text-align: $hiw-text-align;
101
+
102
+ &__title {
103
+ color: $hiw-title-color;
104
+ font-size: $hiw-title-font-size;
105
+ font-weight: $hiw-title-font-weight;
106
+ line-height: $hiw-title-line-height;
107
+ margin: $hiw-title-margin;
108
+ }
109
+ }
110
+
111
+ .hiw-block {
112
+ &__content {
113
+ display: block;
114
+ margin: 0 auto;
115
+ max-width: $hiw-content-max-width;
116
+ text-align: $hiw-content-text-align;
117
+ width: $hiw-content-width;
118
+
119
+ .hiw-card {
120
+ flex: 1;
121
+ margin-bottom: $hiw-block-card-margin-bottom;
122
+ position: relative;
123
+ text-align: $hiw-block-card-text-align;
124
+
125
+ &__wrapper {
126
+ align-items: $hiw-wrapper-align-items;
127
+ display: flex;
128
+ flex-direction: $hiw-wrapper-flex-direction;
129
+ max-width: 100%;
130
+ }
131
+
132
+ &__icon {
133
+ height: $hiw-block-card-icon-height;
134
+ min-height: $hiw-block-card-icon-height;
135
+ min-width: $hiw-block-card-icon-width;
136
+ width: $hiw-block-card-icon-width;
137
+ }
138
+
139
+ &__description {
140
+ margin: $hiw-block-card-desc-margin;
141
+ }
142
+
143
+ ~ .hiw-card {
144
+ &:before{
145
+ border-left: $hiw-card-divider;
146
+ content: '';
147
+ height: $hiw-card-divider-height;
148
+ left: $hiw-card-divider-position-left;
149
+ position: absolute;
150
+ top: $hiw-card-divider-position-top;
151
+ width: 1px;
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+
158
+ @include breakpoint-md {
159
+ .hiw-block,
160
+ .hiw-carousel {
161
+ padding: $hiw-padding-tablet;
162
+
163
+ &__title {
164
+ font-size: $hiw-title-font-size-desktop;
165
+ }
166
+ }
167
+
168
+ .hiw-block {
169
+ &__content {
170
+ align-items: center;
171
+ display: flex;
172
+ max-width: $hiw-content-max-width-desktop;
173
+
174
+ .hiw-card {
175
+ text-align: $hiw-block-card-text-align-desktop;
176
+
177
+ &__wrapper {
178
+ align-items: $hiw-wrapper-align-items-desktop;
179
+ flex-direction: $hiw-wrapper-flex-direction-desktop;
180
+ }
181
+
182
+ &__description {
183
+ margin: $hiw-block-card-desc-margin-desktop;
184
+ }
185
+
186
+ ~ .hiw-card {
187
+ &:before {
188
+ height: $hiw-card-divider-height-desktop;
189
+ left: $hiw-card-divider-position-left-desktop;
190
+ top: $hiw-card-divider-position-top-desktop;
191
+ transform: $hiw-card-divider-transform;
192
+ }
193
+ }
194
+ }
195
+ }
196
+ }
197
+
198
+ .hiw-card {
199
+ &__description {
200
+ font-size: $hiw-card-desc-font-size-desktop;
201
+ margin: $hiw-card-desc-margin-desktop;
202
+ }
203
+ }
204
+ }
205
+
206
+ @include breakpoint-lg {
207
+ .hiw-block,
208
+ .hiw-carousel {
209
+ padding: $hiw-padding-desktop;
210
+ }
211
+
212
+ .hiw-block {
213
+ &__content {
214
+ width: $hiw-content-width-desktop;
215
+ }
216
+ }
217
+ }
@@ -0,0 +1,12 @@
1
+ <section class="hiw-carousel{{#xif 'this.hiwBlock.attributes && this.hiwBlock.attributes.class'}} {{this.hiwBlock.attributes.class}}{{/xif}}" {{{addAttributes this.hiwBlock 'class'}}}>
2
+ <div class="hiw-carousel__container container">
3
+ {{#if this.hiwBlock.title}}
4
+ <h2 class="hiw-carousel__title{{#xif 'this.hiwBlock.title.attributes && this.hiwBlock.title.attributes.class'}} {{this.hiwBlock.title.attributes.class}}{{/xif}}" {{{addAttributes this.hiwBlock.title 'class'}}}>{{{this.hiwBlock.title.text}}}</h2>
5
+ {{/if}}
6
+ {{#hiwBlock}}
7
+ {{ fileInclude 'src/accessible-components/carousel/carousel.html'
8
+ carousel = this
9
+ }}
10
+ {{/hiwBlock}}
11
+ </div>
12
+ </section>
@@ -0,0 +1,12 @@
1
+ <section class="hiw-block{{#xif 'this.hiwBlock.attributes && this.hiwBlock.attributes.class'}} {{this.hiwBlock.attributes.class}}{{/xif}}" {{{addAttributes this.hiwBlock 'class'}}}>
2
+ <div class="hiw-block__container container">
3
+ {{#if this.hiwBlock.title}}
4
+ <h2 class="hiw-block__title{{#xif 'this.hiwBlock.title.attributes && this.hiwBlock.title.attributes.class'}} {{this.hiwBlock.title.attributes.class}}{{/xif}}" {{{addAttributes this.hiwBlock.title 'class'}}}>{{{this.hiwBlock.title.text}}}</h2>
5
+ {{/if}}
6
+ <ul class="hiw-block__content">
7
+ {{ fileInclude 'src/accessible-components/how-it-works/how-it-works.html'
8
+ items = this.hiwBlock.items
9
+ }}
10
+ </ul>
11
+ </div>
12
+ </section>
@@ -0,0 +1,14 @@
1
+ {{#each this.items}}
2
+ <li class="hiw-card{{#if ../this.carouselOptions}} swiper-slide{{/if}}{{#xif 'this.attributes && this.attributes.class'}} {{this.attributes.class}}{{/xif}}" {{{addAttributes this 'class'}}}>
3
+ <div class="hiw-card__wrapper">
4
+ {{#if this.picture}}
5
+ {{ fileInclude 'src/accessible-components/picture/picture.html'
6
+ picture = this.picture
7
+ class = 'hiw-card__icon'
8
+ }}
9
+ {{/if}}
10
+ {{#if this.title}}<p class="hiw-card__title">{{{this.title.text}}}</p>{{/if}}
11
+ {{#if this.description}}<p class="hiw-card__description">{{{this.description.text}}}</p>{{/if}}
12
+ </div>
13
+ </li>
14
+ {{/each}}