mod-build 4.0.0 → 4.0.1-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 (165) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/package.json +1 -1
  3. package/src/scripts/default/index.js +9 -0
  4. package/src/scripts/default/update-link-paths.js +7 -13
  5. package/src/scripts/default/use-dynamic-gtm.js +4 -5
  6. package/src/scripts/plugins.js +109 -0
  7. package/src/scripts/utils.js +12 -52
  8. package/tasks/serve.js +1 -1
  9. package/vite.config.js +3 -51
  10. package/src/accessible-components/button/_button.scss +0 -308
  11. package/src/accessible-components/button/back-button.html +0 -8
  12. package/src/accessible-components/button/button.html +0 -17
  13. package/src/accessible-components/carousel/_carousel.scss +0 -112
  14. package/src/accessible-components/carousel/carousel.html +0 -25
  15. package/src/accessible-components/carousel/carousel.js +0 -3426
  16. package/src/accessible-components/carousel/carousel.js.map +0 -1
  17. package/src/accessible-components/carousel/carousel.min.js +0 -6
  18. package/src/accessible-components/carousel/carousel.min.js.map +0 -1
  19. package/src/accessible-components/checkbox/_checkbox.scss +0 -153
  20. package/src/accessible-components/checkbox/checkbox-group.html +0 -18
  21. package/src/accessible-components/checkbox/checkbox.html +0 -8
  22. package/src/accessible-components/expand-collapse/_expand-collapse.scss +0 -129
  23. package/src/accessible-components/expand-collapse/expand-collapse.html +0 -14
  24. package/src/accessible-components/expand-collapse/expand-collapse.js +0 -52
  25. package/src/accessible-components/expand-collapse/expand-collapse.min.js +0 -2
  26. package/src/accessible-components/expand-collapse/expand-collapse.min.js.map +0 -1
  27. package/src/accessible-components/featured-block/_featured-block.scss +0 -221
  28. package/src/accessible-components/featured-block/featured-block.html +0 -54
  29. package/src/accessible-components/foot-assets/foot-assets.html +0 -112
  30. package/src/accessible-components/footer/footer.html +0 -2
  31. package/src/accessible-components/gtm-body/gtm-body.html +0 -4
  32. package/src/accessible-components/head/head.html +0 -187
  33. package/src/accessible-components/header/_header.scss +0 -287
  34. package/src/accessible-components/header/header.html +0 -66
  35. package/src/accessible-components/hero/_hero.scss +0 -405
  36. package/src/accessible-components/hero/hero.html +0 -53
  37. package/src/accessible-components/how-it-works/_how-it-works.scss +0 -217
  38. package/src/accessible-components/how-it-works/how-it-works-carousel.html +0 -12
  39. package/src/accessible-components/how-it-works/how-it-works-static.html +0 -12
  40. package/src/accessible-components/how-it-works/how-it-works.html +0 -14
  41. package/src/accessible-components/information/_information.scss +0 -96
  42. package/src/accessible-components/information/information.html +0 -32
  43. package/src/accessible-components/input/_input.scss +0 -204
  44. package/src/accessible-components/input/input.html +0 -22
  45. package/src/accessible-components/input/textarea.html +0 -9
  46. package/src/accessible-components/partners/_partners.scss +0 -234
  47. package/src/accessible-components/partners/partners.html +0 -56
  48. package/src/accessible-components/picture/picture.html +0 -19
  49. package/src/accessible-components/preloader/_preloader.scss +0 -61
  50. package/src/accessible-components/preloader/preloader.html +0 -23
  51. package/src/accessible-components/progress-bar/_progress-bar.scss +0 -140
  52. package/src/accessible-components/progress-bar/progress-bar.html +0 -21
  53. package/src/accessible-components/progress-bar/progress-bar.js +0 -37
  54. package/src/accessible-components/progress-bar/progress-bar.min.js +0 -2
  55. package/src/accessible-components/progress-bar/progress-bar.min.js.map +0 -1
  56. package/src/accessible-components/radio-button/_radio-button.scss +0 -586
  57. package/src/accessible-components/radio-button/radio-button.html +0 -33
  58. package/src/accessible-components/reviews/_reviews.scss +0 -175
  59. package/src/accessible-components/reviews/reviews-carousel.html +0 -12
  60. package/src/accessible-components/reviews/reviews-static.html +0 -12
  61. package/src/accessible-components/reviews/reviews.html +0 -37
  62. package/src/accessible-components/select/_select.scss +0 -69
  63. package/src/accessible-components/select/select.html +0 -10
  64. package/src/accessible-components/steps/_steps.scss +0 -636
  65. package/src/accessible-components/steps/defaultFormFieldConfig.json +0 -109
  66. package/src/accessible-components/steps/step-fields.html +0 -38
  67. package/src/accessible-components/steps/steps.html +0 -160
  68. package/src/accessible-components/tcpa/_tcpa.scss +0 -49
  69. package/src/accessible-components/tcpa/tcpa.html +0 -9
  70. package/src/accessible-components/tile/_tile.scss +0 -117
  71. package/src/accessible-components/tile/tile.html +0 -14
  72. package/src/accessible-components/value-props/_value-props.scss +0 -102
  73. package/src/accessible-components/value-props/value-props.html +0 -17
  74. package/src/accessible-components/zip-control/_zip-control.scss +0 -79
  75. package/src/accessible-components/zip-control/zip-control.html +0 -10
  76. package/src/resources/data/tcpa.json +0 -3
  77. package/src/resources/scripts/abandonment/abandonment-e099a424bf17408f1db2.min.js +0 -2
  78. package/src/resources/scripts/abandonment/abandonment.min.js +0 -2
  79. package/src/resources/scripts/footer/footer-component-7b5e263f64568573ecc0.min.js +0 -2
  80. package/src/resources/scripts/footer/footer-component.min.js +0 -2
  81. package/src/resources/scripts/helpers/initNumericOnlyFields.min.js +0 -2
  82. package/src/resources/scripts/helpers/initNumericOnlyFields.min.js.map +0 -1
  83. package/src/resources/scripts/helpers/isZipCodeValid.min.js +0 -2
  84. package/src/resources/scripts/helpers/isZipCodeValid.min.js.map +0 -1
  85. package/src/resources/scripts/mod-alytics/modalytics-0ac7d7a5a72ea67a0f47.min.js +0 -2
  86. package/src/resources/scripts/mod-alytics/modalytics.min.js +0 -2
  87. package/src/resources/scripts/mod-form/form/homeowner-f395431201f7a6e56690.min.js +0 -2
  88. package/src/resources/scripts/mod-form/form/homeowner.min.js +0 -2
  89. package/src/resources/scripts/mod-utils/modutils-a08fecfbb83afad1a9f8.min.js +0 -2
  90. package/src/resources/scripts/mod-utils/modutils.min.js +0 -2
  91. package/src/resources/styles/components/abandonment/abandonment-a8571a9e32ed6ef9acb4.min.css +0 -1
  92. package/src/resources/styles/components/abandonment/abandonment.min.css +0 -1
  93. package/src/resources/styles/components/footer/mod-footer-1fb2cec3278f29df57d0.min.css +0 -1
  94. package/src/resources/styles/components/footer/mod-footer.min.css +0 -1
  95. package/src/resources/styles/components/footer/qs-footer-9a3b0ab00428b03e6e9e.min.css +0 -1
  96. package/src/resources/styles/components/footer/qs-footer.min.css +0 -1
  97. package/src/resources/templates/modals/about/index.hbs +0 -9
  98. package/src/resources/templates/modals/about/index.html +0 -9
  99. package/src/resources/templates/modals/contact-us/index.hbs +0 -348
  100. package/src/resources/templates/modals/contact-us/index.html +0 -348
  101. package/src/resources/templates/modals/faq/index.hbs +0 -9
  102. package/src/resources/templates/modals/faq/index.html +0 -9
  103. package/src/resources/templates/modals/privacy/index.hbs +0 -236
  104. package/src/resources/templates/modals/privacy/index.html +0 -236
  105. package/src/resources/templates/modals/terms/index.hbs +0 -166
  106. package/src/resources/templates/modals/terms/index.html +0 -166
  107. package/src/shared-components/card-button/_card-button.scss +0 -49
  108. package/src/shared-components/card-button/card-button.html +0 -9
  109. package/src/shared-components/carousel/_carousel.scss +0 -106
  110. package/src/shared-components/carousel/carousel.html +0 -22
  111. package/src/shared-components/carousel/carousel.js +0 -3427
  112. package/src/shared-components/carousel/carousel.js.map +0 -1
  113. package/src/shared-components/carousel/carousel.min.js +0 -6
  114. package/src/shared-components/carousel/carousel.min.js.map +0 -1
  115. package/src/shared-components/carousel/carousel.min.min.js +0 -6
  116. package/src/shared-components/carousel/carousel.min.min.js.map +0 -1
  117. package/src/shared-components/checkbox/_checkbox.scss +0 -104
  118. package/src/shared-components/checkbox/checkbox.html +0 -6
  119. package/src/shared-components/expand-collapse/_expand-collapse.scss +0 -93
  120. package/src/shared-components/expand-collapse/expand-collapse.html +0 -8
  121. package/src/shared-components/expand-collapse/expand-collapse.js +0 -40
  122. package/src/shared-components/expand-collapse/expand-collapse.min.js +0 -2
  123. package/src/shared-components/expand-collapse/expand-collapse.min.js.map +0 -1
  124. package/src/shared-components/featured-block/_featured-block.scss +0 -185
  125. package/src/shared-components/featured-block/featured-block.html +0 -62
  126. package/src/shared-components/foot-assets/foot-assets.html +0 -107
  127. package/src/shared-components/form-tcpa/form-tcpa.html +0 -12
  128. package/src/shared-components/gtm-body/gtm-body.html +0 -4
  129. package/src/shared-components/head/head.html +0 -192
  130. package/src/shared-components/header/_header.scss +0 -200
  131. package/src/shared-components/header/header.html +0 -71
  132. package/src/shared-components/hero/_hero.scss +0 -253
  133. package/src/shared-components/hero/hero.html +0 -126
  134. package/src/shared-components/how-it-works/_how-it-works.scss +0 -138
  135. package/src/shared-components/how-it-works/how-it-works.html +0 -19
  136. package/src/shared-components/input/_input.scss +0 -229
  137. package/src/shared-components/input/input.html +0 -30
  138. package/src/shared-components/preloader/_preloader.scss +0 -61
  139. package/src/shared-components/preloader/preloader.html +0 -49
  140. package/src/shared-components/progress-bar/_progress-bar.scss +0 -105
  141. package/src/shared-components/progress-bar/progress-bar.html +0 -20
  142. package/src/shared-components/progress-bar/progress-bar.js +0 -25
  143. package/src/shared-components/progress-bar/progress-bar.min.js +0 -2
  144. package/src/shared-components/progress-bar/progress-bar.min.js.map +0 -1
  145. package/src/shared-components/radio-button/_radio-button.scss +0 -554
  146. package/src/shared-components/radio-button/radio-button.html +0 -25
  147. package/src/shared-components/reviews/_reviews.scss +0 -79
  148. package/src/shared-components/reviews/reviews.html +0 -27
  149. package/src/shared-components/select/_select.scss +0 -61
  150. package/src/shared-components/select/select.html +0 -8
  151. package/src/shared-components/steps/_steps.scss +0 -334
  152. package/src/shared-components/steps/defaultFormFieldConfig.json +0 -64
  153. package/src/shared-components/steps/step-fields.html +0 -36
  154. package/src/shared-components/steps/steps.html +0 -131
  155. package/src/shared-components/textarea/_textarea.scss +0 -96
  156. package/src/shared-components/textarea/textarea.html +0 -13
  157. package/src/shared-components/theme-toggle/_theme-toggle.scss +0 -68
  158. package/src/shared-components/theme-toggle/theme-toggle.html +0 -34
  159. package/src/shared-components/tile/_tile.scss +0 -117
  160. package/src/shared-components/tile/tile.html +0 -27
  161. package/src/shared-components/value-props/_value-props.scss +0 -98
  162. package/src/shared-components/value-props/value-props.html +0 -17
  163. package/src/shared-components/zip-control/_zip-control.scss +0 -42
  164. package/src/shared-components/zip-control/zip-control.html +0 -21
  165. package/src/temp/scripts/maxmind-geoip2.js +0 -104
@@ -1,253 +0,0 @@
1
- $hero-min-height: 0 !default;
2
- $hero-padding-mobile: 25px 0 !default;
3
- $hero-padding-tablet: 45px 0 !default;
4
- $hero-padding-desktop: 70px 0 !default;
5
- $hero-position: relative !default;
6
- $hero-transition: padding 300ms ease, min-height 300ms ease !default;
7
-
8
- $hero-background-background-color: transparent !default;
9
- $hero-background-height: 100% !default;
10
- $hero-background-height-mobile: $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: 0 !default;
16
- $hero-background-width: 100% !default;
17
- $hero-background-z-index: -1 !default;
18
-
19
- $hero-background-image-height: 100% !default;
20
- $hero-background-image-max-width: 100% !default;
21
- $hero-background-image-object-fit: cover !default;
22
- $hero-background-image-object-position: top !default;
23
- $hero-background-image-width: 100% !default;
24
-
25
- $hero-overlay-background: linear-gradient(180deg, transparent 15%, rgba($color-white,.98) 25%, rgba($color-white,1) 87%, rgba($color-white,1) 100%) !default;
26
- $hero-overlay-background-mobile: $hero-overlay-background !default;
27
- $hero-overlay-display: none !default;
28
- $hero-overlay-display-mobile: block !default;
29
- $hero-overlay-height: 100% !default;
30
- $hero-overlay-height-mobile: $hero-overlay-height !default;
31
- $hero-overlay-left: 0 !default;
32
- $hero-overlay-overflow: hidden !default;
33
- $hero-overlay-position: absolute !default;
34
- $hero-overlay-top: 0 !default;
35
- $hero-overlay-width: 100% !default;
36
- $hero-overlay-z-index: 0 !default;
37
-
38
- $hero-wrapper-align-items-mobile: center !default;
39
- $hero-wrapper-align-items-tablet: center !default;
40
- $hero-wrapper-align-items-desktop: flex-start !default;
41
- $hero-wrapper-display: flex !default;
42
- $hero-wrapper-flex-direction-mobile: column !default;
43
- $hero-wrapper-flex-direction-tablet: column !default;
44
- $hero-wrapper-flex-direction-desktop: row !default;
45
- $hero-wrapper-justify-content-desktop: initial !default;
46
- $hero-wrapper-position: relative !default;
47
- $hero-wrapper-width: 100% !default;
48
- $hero-wrapper-z-index: 1 !default;
49
-
50
- $hero-content-background-color: $color-white !default;
51
- $hero-content-border-radius: 4px !default;
52
- $hero-content-box-shadow: 0 10px 20px 0 rgba($color-black, .08) !default;
53
- $hero-content-max-width-mobile: 100% !default;
54
- $hero-content-max-width-tablet: 445px !default;
55
- $hero-content-max-width-desktop: $hero-content-max-width-tablet !default;
56
- $hero-content-padding: 0 !default;
57
-
58
- $hero-header-color: $color-white !default;
59
- $hero-header-text-align: right !default;
60
- $hero-header-text-align-mobile: center !default;
61
-
62
- $hero-title-font-size-mobile: 26px !default;
63
- $hero-title-font-size-tablet: 30px !default;
64
- $hero-title-font-size-desktop: 34px !default;
65
- $hero-title-font-size-lg: $hero-title-font-size-desktop !default;
66
- $hero-title-font-weight: 700 !default;
67
- $hero-title-line-height: 1.2 !default;
68
- $hero-title-line-height-mobile: $hero-title-line-height !default;
69
- $hero-title-line-height-lg: $hero-title-line-height !default;
70
- $hero-title-margin: 0 0 15px !default;
71
- $hero-title-margin-mobile: 0 0 25px !default;
72
- $hero-title-margin-tablet: $hero-title-margin !default;
73
- $hero-title-text-transform: none !default;
74
-
75
- $hero-subtitle-font-size: 16px !default;
76
- $hero-subtitle-font-size-mobile: $hero-subtitle-font-size !default;
77
- $hero-subtitle-font-weight: 400 !default;
78
- $hero-subtitle-line-height: 1.4 !default;
79
- $hero-subtitle-margin: 0 auto 15px !default;
80
- $hero-subtitle-text-transform: none !default;
81
-
82
- $hero-full-background-color: $color-white !default;
83
- $hero-full-min-height: 100vh !default;
84
- $hero-full-padding: 0 !default;
85
- $hero-full-content-background-color: transparent !default;
86
- $hero-full-content-box-shadow: none !default;
87
- $hero-full-overlay-display: none !default;
88
-
89
- .hero {
90
- min-height: $hero-min-height;
91
- padding: $hero-padding-mobile;
92
- position: $hero-position;
93
- transition: $hero-transition;
94
-
95
- &__background {
96
- background-color: $hero-background-background-color;
97
- height: $hero-background-height-mobile;
98
- left: $hero-background-left;
99
- overflow: $hero-background-overflow;
100
- position: $hero-background-position;
101
- top: $hero-background-top;
102
- width: $hero-background-width;
103
- z-index: $hero-background-z-index;
104
- }
105
-
106
- &__background-image {
107
- height: $hero-background-image-height;
108
- max-width: $hero-background-image-max-width;
109
- object-fit: $hero-background-image-object-fit;
110
- object-position: $hero-background-image-object-position;
111
- width: $hero-background-image-width;
112
- }
113
-
114
- &__background-overlay {
115
- background: $hero-overlay-background-mobile;
116
- display: $hero-overlay-display-mobile;
117
- height: $hero-overlay-height-mobile;
118
- left: $hero-overlay-left;
119
- overflow: $hero-overlay-overflow;
120
- position: $hero-overlay-position;
121
- top: $hero-overlay-top;
122
- width: $hero-overlay-width;
123
- z-index: $hero-overlay-z-index;
124
- }
125
-
126
- &__wrapper {
127
- align-items: $hero-wrapper-align-items-mobile;
128
- display: $hero-wrapper-display;
129
- flex-direction: $hero-wrapper-flex-direction-mobile;
130
- position: $hero-wrapper-position;
131
- width: $hero-wrapper-width;
132
- z-index: $hero-wrapper-z-index;
133
- }
134
-
135
- &__content {
136
- background-color: $hero-content-background-color;
137
- border-radius: $hero-content-border-radius;
138
- box-shadow: $hero-content-box-shadow;
139
- max-width: $hero-content-max-width-mobile;
140
- padding: $hero-content-padding;
141
- }
142
-
143
- &__header {
144
- color: $hero-header-color;
145
- text-align: $hero-header-text-align-mobile;
146
- }
147
-
148
- &__title {
149
- font-size: $hero-title-font-size-mobile;
150
- font-weight: $hero-title-font-weight;
151
- line-height: $hero-title-line-height-mobile;
152
- margin: $hero-title-margin-mobile;
153
- text-transform: $hero-title-text-transform;
154
- }
155
-
156
- &__subtitle {
157
- font-size: $hero-subtitle-font-size-mobile;
158
- font-weight: $hero-subtitle-font-weight;
159
- line-height: $hero-subtitle-line-height;
160
- margin: $hero-subtitle-margin;
161
- text-transform: $hero-subtitle-text-transform;
162
- }
163
- }
164
-
165
- @include breakpoint-sm {
166
- .hero {
167
- padding: $hero-padding-tablet;
168
-
169
- &__background {
170
- height: $hero-background-height;
171
- max-height: $hero-background-max-height;
172
- }
173
-
174
- &__background-overlay {
175
- background: $hero-overlay-background;
176
- display: $hero-overlay-display;
177
- height: $hero-overlay-height;
178
- }
179
-
180
- &__wrapper {
181
- align-items: $hero-wrapper-align-items-tablet;
182
- flex-direction: $hero-wrapper-flex-direction-tablet;
183
- }
184
-
185
- &__content {
186
- max-width: $hero-content-max-width-tablet;
187
- }
188
-
189
- &__header {
190
- text-align: $hero-header-text-align;
191
- }
192
-
193
- &__title {
194
- font-size: $hero-title-font-size-tablet;
195
- line-height: $hero-title-line-height;
196
- margin: $hero-title-margin-tablet;
197
- }
198
-
199
- &__subtitle {
200
- font-size: $hero-subtitle-font-size;
201
- }
202
- }
203
- }
204
-
205
- @include breakpoint-md {
206
- .hero {
207
- padding: $hero-padding-desktop;
208
-
209
- &__wrapper {
210
- align-items: $hero-wrapper-align-items-desktop;
211
- flex-direction: $hero-wrapper-flex-direction-desktop;
212
- justify-content: $hero-wrapper-justify-content-desktop;
213
- }
214
-
215
- &__content {
216
- max-width: $hero-content-max-width-desktop;
217
- }
218
-
219
- &__title {
220
- font-size: $hero-title-font-size-desktop;
221
- margin: $hero-title-margin;
222
- }
223
- }
224
- }
225
-
226
- @include breakpoint-lg {
227
- .hero {
228
- &__title {
229
- font-size: $hero-title-font-size-lg;
230
- line-height: $hero-title-line-height-lg;
231
- }
232
- }
233
- }
234
-
235
- @include breakpoint-phone {
236
- .hero {
237
- &--full {
238
- background-color: $hero-full-background-color;
239
- min-height: $hero-full-min-height;
240
- padding: $hero-full-padding;
241
-
242
- .hero__content,
243
- .form {
244
- background: $hero-full-content-background-color;
245
- box-shadow: $hero-full-content-box-shadow;
246
- }
247
-
248
- .hero__background-overlay {
249
- display: $hero-full-overlay-display;
250
- }
251
- }
252
- }
253
- }
@@ -1,126 +0,0 @@
1
- <div class="hero{{#if this.hero.class}} {{this.hero.class}}{{/if}}"{{#if this.hero.id}} id="{{this.hero.id}}"{{/if}}>
2
- {{#if this.hero.backgroundImage}}
3
- {{#if this.hero.backgroundImage.wrapper}}
4
- <div class="hero__background-wrapper{{#if this.hero.backgroundImage.wrapper.class}} {{this.hero.backgroundImage.wrapper.class}}{{/if}}" {{#if this.hero.backgroundImage.wrapper.extraAttributes}}{{#each this.hero.backgroundImage.wrapper.extraAttributes}}{{{this.attributeName}}}{{#if this.attributeValue}}="{{{this.attributeValue}}}"{{/if}}{{/each}}{{/if}}>
5
- {{/if}}
6
- <picture class="hero__background{{#if this.hero.backgroundImage.class}} {{this.hero.backgroundImage.class}}{{/if}}"{{#if this.hero.backgroundImage.extraAttributes}}{{#each this.hero.backgroundImage.extraAttributes}}{{{this.attributeName}}}{{#if this.attributeValue}}="{{{this.attributeValue}}}"{{/if}}{{/each}}{{/if}}>
7
- {{#if this.hero.backgroundImage.globalSrc}}
8
- {{#if this.hero.backgroundImage.srcSmallDevices}}
9
- <source media="(max-width: 767px)" srcset="https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets{{this.hero.backgroundImage.srcSmallDevices}}.webp" type="image/webp">
10
- <source media="(max-width: 767px)" srcset="https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets{{this.hero.backgroundImage.srcSmallDevices}}.jpg" type="image/jpeg">
11
- {{else}}
12
- <source media="(max-width: 767px)" srcset="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg==" sizes="100%">
13
- {{/if}}
14
- <source media="(min-width: 768px)" srcset="https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets{{this.hero.backgroundImage.globalSrc}}.webp" type="image/webp">
15
- <img class="hero__background-image" src="https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets{{this.hero.backgroundImage.globalSrc}}.jpg" alt="">
16
- {{else}}
17
- {{#if this.hero.backgroundImage.srcTabletDevices}}
18
- <source media="(min-width: 992px)" srcset="{{this.hero.backgroundImage.src}}.webp" type="image/webp">
19
- <source media="(min-width: 992px)" srcset="{{this.hero.backgroundImage.src}}.jpg" type="image/jpeg">
20
- <source media="(min-width: 768px)" srcset="{{this.hero.backgroundImage.srcTabletDevices}}.webp" type="image/webp">
21
- <source media="(min-width: 768px)" srcset="{{this.hero.backgroundImage.srcTabletDevices}}.jpg" type="image/jpeg">
22
- <source srcset="{{this.hero.backgroundImage.srcSmallDevices}}.webp" type="image/webp">
23
- <img class="hero__background-image" src="{{this.hero.backgroundImage.srcSmallDevices}}.jpg" alt="">
24
- {{else}}
25
- {{#if this.hero.backgroundImage.srcSmallDevices}}
26
- <source media="(max-width: 767px)" srcset="{{this.hero.backgroundImage.srcSmallDevices}}.webp" type="image/webp">
27
- <source media="(max-width: 767px)" srcset="{{this.hero.backgroundImage.srcSmallDevices}}.jpg" type="image/jpeg">
28
- {{else}}
29
- <source media="(max-width: 767px)" srcset="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg==" sizes="100%">
30
- {{/if}}
31
- <source media="(min-width: 768px)" srcset="{{this.hero.backgroundImage.src}}.webp" type="image/webp">
32
- <img class="hero__background-image" src="{{this.hero.backgroundImage.src}}.jpg" alt="">
33
- {{/if}}
34
- {{/if}}
35
- </picture>
36
- {{#if this.hero.backgroundImage.additionalBackgroundImage}}
37
- <picture class="hero__background{{#if this.hero.backgroundImage.additionalBackgroundImage.class}} {{this.hero.backgroundImage.additionalBackgroundImage.class}}{{/if}}"{{#if this.hero.backgroundImage.additionalBackgroundImage.extraAttributes}}{{#each this.hero.backgroundImage.additionalBackgroundImage.extraAttributes}}{{{this.attributeName}}}{{#if this.attributeValue}}="{{{this.attributeValue}}}"{{/if}}{{/each}}{{/if}}>
38
- {{#if this.hero.backgroundImage.additionalBackgroundImage.globalSrc}}
39
- {{#if this.hero.backgroundImage.additionalBackgroundImage.srcSmallDevices}}
40
- <source media="(max-width: 767px)" srcset="https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets{{this.hero.backgroundImage.additionalBackgroundImage.srcSmallDevices}}.webp" type="image/webp">
41
- <source media="(max-width: 767px)" srcset="https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets{{this.hero.backgroundImage.additionalBackgroundImage.srcSmallDevices}}.jpg" type="image/jpeg">
42
- {{else}}
43
- <source media="(max-width: 767px)" srcset="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg==" sizes="100%">
44
- {{/if}}
45
- <source media="(min-width: 768px)" srcset="https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets{{this.hero.backgroundImage.additionalBackgroundImage.globalSrc}}.webp" type="image/webp">
46
- <img class="hero__background-image" src="https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets{{this.hero.backgroundImage.additionalBackgroundImage.globalSrc}}.jpg" alt="">
47
- {{else}}
48
- {{#if this.hero.backgroundImage.additionalBackgroundImage.srcTabletDevices}}
49
- <source media="(min-width: 992px)" srcset="{{this.hero.backgroundImage.additionalBackgroundImage.src}}.webp" type="image/webp">
50
- <source media="(min-width: 992px)" srcset="{{this.hero.backgroundImage.additionalBackgroundImage.src}}.jpg" type="image/jpeg">
51
- <source media="(min-width: 768px)" srcset="{{this.hero.backgroundImage.additionalBackgroundImage.srcTabletDevices}}.webp" type="image/webp">
52
- <source media="(min-width: 768px)" srcset="{{this.hero.backgroundImage.additionalBackgroundImage.srcTabletDevices}}.jpg" type="image/jpeg">
53
- <source srcset="{{this.hero.backgroundImage.additionalBackgroundImage.srcSmallDevices}}.webp" type="image/webp">
54
- <img class="hero__background-image" src="{{this.hero.backgroundImage.additionalBackgroundImage.srcSmallDevices}}.jpg" alt="">
55
- {{else}}
56
- {{#if this.hero.backgroundImage.additionalBackgroundImage.srcSmallDevices}}
57
- <source media="(max-width: 767px)" srcset="{{this.hero.backgroundImage.additionalBackgroundImage.srcSmallDevices}}.webp" type="image/webp">
58
- <source media="(max-width: 767px)" srcset="{{this.hero.backgroundImage.additionalBackgroundImage.srcSmallDevices}}.jpg" type="image/jpeg">
59
- {{else}}
60
- <source media="(max-width: 767px)" srcset="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg==" sizes="100%">
61
- {{/if}}
62
- <source media="(min-width: 768px)" srcset="{{this.hero.backgroundImage.additionalBackgroundImage.src}}.webp" type="image/webp">
63
- <img class="hero__background-image" src="{{this.hero.backgroundImage.additionalBackgroundImage.src}}.jpg" alt="">
64
- {{/if}}
65
- {{/if}}
66
- </picture>
67
- {{/if}}
68
- {{#xif "this.hero.backgroundImage.includeOverlay === true"}}
69
- <div class="hero__background-overlay"></div>
70
- {{/xif}}
71
- {{#if this.hero.backgroundImage.wrapper}}</div>{{/if}}
72
- {{/if}}
73
- <div class="hero__container container">
74
- <div class="hero__wrapper">
75
- {{#if this.hero.moveHeroContentToTop}}
76
- {{#if this.hero.formTemplateInclude}}
77
- <div class="hero__content">
78
- {{fileInclude this.hero.formTemplateInclude
79
- form = this
80
- }}
81
- </div>
82
- {{/if}}
83
- {{/if}}
84
- <div class="hero__header">
85
- {{#if this.hero.titleSubTitleWrapperClass}}<div class="{{this.hero.titleSubTitleWrapperClass}}">{{/if}}
86
- {{#if this.hero.title}}
87
- {{#if this.hero.title.mobileText}}
88
- <h1 class="hero__title{{#if this.hero.title.class}} {{this.hero.title.class}}{{/if}}"{{#if this.hero.title.id}} id="{{this.hero.title.id}}"{{/if}}{{#if this.hero.title.extraAttributes}}{{#each this.hero.title.extraAttributes}} {{{this.attributeName}}}="{{{this.attributeValue}}}"{{/each}}{{/if}} data-theme-template="title">
89
- <span class="visible-xs">{{{this.hero.title.mobileText}}}</span>
90
- <span class="hidden-xs">{{{this.hero.title.text}}}</span>
91
- </h1>
92
- {{else}}
93
- <h1 class="hero__title{{#if this.hero.title.class}} {{this.hero.title.class}}{{/if}}"{{#if this.hero.title.id}} id="{{this.hero.title.id}}"{{/if}}{{#if this.hero.title.extraAttributes}}{{#each this.hero.title.extraAttributes}} {{{this.attributeName}}}="{{{this.attributeValue}}}"{{/each}}{{/if}} data-theme-template="title">
94
- {{{this.hero.title.text}}}
95
- </h1>
96
- {{/if}}
97
- {{/if}}
98
- {{#if this.hero.additionalTitle}}
99
- <h1 class="hero__title{{#if this.hero.additionalTitle.class}} {{this.hero.additionalTitle.class}}{{/if}}"{{#if this.hero.additionalTitle.id}} id="{{this.hero.additionalTitle.id}}"{{/if}}{{#if this.hero.additionalTitle.extraAttributes}}{{#each this.hero.additionalTitle.extraAttributes}} {{{this.attributeName}}}="{{{this.attributeValue}}}"{{/each}}{{/if}}>
100
- {{{this.hero.additionalTitle.text}}}
101
- </h1>
102
- {{/if}}
103
- {{#if this.hero.subtitle.text}}
104
- <p class="hero__subtitle{{#if this.hero.subtitle.class}} {{this.hero.subtitle.class}}{{/if}}"{{#if this.hero.subtitle.id}} id="{{this.hero.subtitle.id}}"{{/if}}{{#if this.hero.subtitle.extraAttributes}} {{#each this.hero.subtitle.extraAttributes}}{{{this.attributeName}}}="{{{this.attributeValue}}}"{{/each}}{{/if}} data-theme-template="subtitle">
105
- {{{this.hero.subtitle.text}}}
106
- </p>
107
- {{/if}}
108
- {{#if this.hero.titleSubTitleWrapperClass}}</div>{{/if}}
109
- {{#this.hero.valueProps}}
110
- {{ fileInclude 'src/shared-components/value-props/value-props.html'
111
- props = this
112
- }}
113
- {{/this.hero.valueProps}}
114
- </div>
115
- {{#unless this.hero.moveHeroContentToTop}}
116
- {{#if this.hero.formTemplateInclude}}
117
- <div class="hero__content">
118
- {{fileInclude this.hero.formTemplateInclude
119
- form = this
120
- }}
121
- </div>
122
- {{/if}}
123
- {{/unless}}
124
- </div>
125
- </div>
126
- </div>
@@ -1,138 +0,0 @@
1
- $hiw-content-flex-direction-mobile: row !default;
2
- $hiw-content-max-width-mobile: 320px !default;
3
- $hiw-content-width-mobile: 90% !default;
4
- $hiw-content-align-items-mobile: normal !default;
5
- $hiw-content-flex-direction-desktop: column !default;
6
- $hiw-content-max-width-desktop: 100% !default;
7
- $hiw-content-width-desktop: 80% !default;
8
- $hiw-content-align-items-desktop: center !default;
9
-
10
- $hiw-card-divider: 2px dashed $color-charcoal1 !default;
11
- $hiw-card-divider-height-mobile: 22px !default;
12
- $hiw-card-divider-position-left-mobile: 29px !default;
13
- $hiw-card-divider-position-top-mobile: -30px !default;
14
- $hiw-card-divider-height-desktop: 100% !default;
15
- $hiw-card-divider-position-left-desktop: 0 !default;
16
- $hiw-card-divider-position-top-desktop: -20% !default;
17
-
18
- $hiw-card-margin-bottom: 0 !default;
19
- $hiw-text-align: center !default;
20
-
21
- $hiw-icon-height: 100px !default;
22
- $hiw-icon-width: $hiw-icon-height !default;
23
-
24
- $hiw-title-color: $color-charcoal5 !default;
25
- $hiw-title-font-size: 16px !default;
26
- $hiw-title-font-weight: bold !default;
27
- $hiw-title-line-height: 1.2 !default;
28
- $hiw-title-margin: 15px 0 !default;
29
-
30
- $hiw-desc-color: $color-charcoal4 !default;
31
- $hiw-desc-font-size-mobile: 14px !default;
32
- $hiw-desc-font-size-desktop: $hiw-desc-font-size-mobile !default;
33
- $hiw-desc-line-height: 1.57 !default;
34
- $hiw-desc-margin-mobile: 0 0 15px !default;
35
- $hiw-desc-margin-desktop: $hiw-desc-margin-mobile !default;
36
-
37
- .hiw-card {
38
- margin-bottom: $hiw-card-margin-bottom;
39
- text-align: $hiw-text-align;
40
-
41
- &__wrapper {
42
- margin: auto;
43
- max-width: 260px;
44
- }
45
-
46
- &__icon {
47
- height: $hiw-icon-height;
48
- width: $hiw-icon-width;
49
- }
50
-
51
- &__title {
52
- color: $hiw-title-color;
53
- font-size: $hiw-title-font-size;
54
- font-weight: $hiw-title-font-weight;
55
- line-height: $hiw-title-line-height;
56
- margin: $hiw-title-margin;
57
- }
58
-
59
- &__description {
60
- color: $hiw-desc-color;
61
- font-size: $hiw-desc-font-size-mobile;
62
- line-height: $hiw-desc-line-height;
63
- margin: $hiw-desc-margin-mobile;
64
- }
65
- }
66
-
67
- .hiw-block__content {
68
- display: block;
69
- margin: 0 auto;
70
- max-width: $hiw-content-max-width-mobile;
71
- text-align: left;
72
- width: $hiw-content-width-mobile;
73
-
74
- .hiw-card {
75
- flex: 1;
76
- position: relative;
77
- text-align: left;
78
-
79
- &__wrapper {
80
- align-items: $hiw-content-align-items-mobile;
81
- display: flex;
82
- flex-direction: $hiw-content-flex-direction-mobile;
83
- max-width: 100%;
84
- }
85
-
86
- &__icon {
87
- min-height: $hiw-icon-height;
88
- min-width: $hiw-icon-width;
89
- }
90
-
91
- ~ .hiw-card {
92
- &:before{
93
- border-left: $hiw-card-divider;
94
- content: '';
95
- height: $hiw-card-divider-height-mobile;
96
- left: $hiw-card-divider-position-left-mobile;
97
- position: absolute;
98
- top: $hiw-card-divider-position-top-mobile;
99
- width: 1px;
100
- }
101
- }
102
- }
103
- }
104
-
105
- @include breakpoint-sm {
106
- .hiw-block__content {
107
- align-items: center;
108
- display: flex;
109
- max-width: $hiw-content-max-width-desktop;
110
- text-align: $hiw-text-align;
111
- width: $hiw-content-width-desktop;
112
-
113
- .hiw-card {
114
- text-align: $hiw-text-align;
115
-
116
- &__wrapper {
117
- align-items: $hiw-content-align-items-desktop;
118
- flex-direction: $hiw-content-flex-direction-desktop;
119
- }
120
-
121
- ~ .hiw-card {
122
- &:before {
123
- height: $hiw-card-divider-height-desktop;
124
- left: $hiw-card-divider-position-left-desktop;
125
- top: $hiw-card-divider-position-top-desktop;
126
- transform: rotate(90deg);
127
- }
128
- }
129
- }
130
- }
131
-
132
- .hiw-card {
133
- &__description {
134
- font-size: $hiw-desc-font-size-desktop;
135
- margin: $hiw-desc-margin-desktop;
136
- }
137
- }
138
- }
@@ -1,19 +0,0 @@
1
- {{#xif "!this.carouselOptions"}}
2
- <ul class="hiw-block__content">
3
- {{/xif}}
4
- {{#each this.items}}
5
- <li class="{{#if ../this.carouselOptions}}swiper-slide {{/if}}hiw-card{{#if ../this.classModifier}} {{../this.classModifier}}{{/if}}">
6
- <div class="hiw-card__wrapper">
7
- {{#if this.illustration}}
8
- <svg class="hiw-card__icon" role="img">
9
- <use href="{{#unless this.isLocalSrc}}{{#xif 'isLocal === "true"'}}/temp/assets{{else}}https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets{{/xif}}{{/unless}}{{this.illustration}}"></use>
10
- </svg>
11
- {{/if}}
12
- {{#if this.title}}<p class="hiw-card__title">{{{this.title}}}</p>{{/if}}
13
- {{#if this.description}}<p class="hiw-card__description">{{{this.description}}}</p>{{/if}}
14
- </div>
15
- </li>
16
- {{/each}}
17
- {{#xif "!this.carouselOptions"}}
18
- </ul>
19
- {{/xif}}