@gem-sdk/components 2.0.0-dev.575 → 2.0.0-dev.576

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.
@@ -0,0 +1,134 @@
1
+ 'use strict';
2
+
3
+ const heroBannerVideoPreSalesPage = {
4
+ id: 'hero-banner-video-pre-sales-page',
5
+ name: {
6
+ en: 'Video Banner'
7
+ },
8
+ icon: {
9
+ desktop: `
10
+ <svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
11
+ <g clip-path="url(#clip0_12567_1327)">
12
+ <rect width="96" height="48" rx="3" fill="#424242"/>
13
+ <ellipse cx="4" cy="1.5" rx="11" ry="11.5" fill="#5E5E5E"/>
14
+ <path d="M25.6011 61.8234L43.5988 40.4906C44.2081 39.767 44.9611 39.1816 45.8088 38.7727C46.6564 38.3638 47.5796 38.1406 48.5181 38.1175C49.4566 38.0944 50.3894 38.272 51.2556 38.6387C52.1219 39.0055 52.902 39.5531 53.5453 40.2459L61.9609 49.2989L94.858 9.43075C95.502 8.64956 96.3116 8.02551 97.2264 7.60499C98.1413 7.18447 99.138 6.9783 100.142 7.00181C101.147 7.02532 102.133 7.2779 103.028 7.74078C103.922 8.20366 104.703 8.86493 105.31 9.67543L144.641 62.0866C145.393 63.0913 145.853 64.2887 145.97 65.5441C146.087 66.7994 145.856 68.063 145.303 69.1926C144.751 70.3222 143.897 71.2732 142.84 71.9384C141.783 72.6037 140.564 72.957 139.319 72.9585L30.686 73C29.4082 72.9995 28.1573 72.6281 27.0813 71.9299C26.0053 71.2317 25.1492 70.2358 24.6143 69.06C24.0794 67.8843 23.8881 66.5779 24.0629 65.2955C24.2378 64.0131 24.7716 62.8082 25.6011 61.8234Z" fill="#5E5E5E"/>
15
+ <path d="M40 28.4163V14.3838C40 13.2662 41.3774 12.6113 42.3799 13.2521L53.3549 20.2684C54.215 20.8183 54.215 21.9818 53.3549 22.5317L42.3799 29.5479C41.3774 30.1888 40 29.5338 40 28.4163Z" fill="#F9F9F9"/>
16
+ </g>
17
+ <defs>
18
+ <clipPath id="clip0_12567_1327">
19
+ <rect width="96" height="48" rx="3" fill="white"/>
20
+ </clipPath>
21
+ </defs>
22
+ </svg>
23
+ `
24
+ },
25
+ components: [
26
+ {
27
+ tag: 'HeroBanner',
28
+ settings: {
29
+ layout: {
30
+ desktop: {
31
+ cols: [
32
+ 12
33
+ ],
34
+ display: 'fill'
35
+ }
36
+ },
37
+ link: {
38
+ type: 'go-to-sales-page',
39
+ link: '{{ page.metafields.sales_funnel.sales_page_url }}',
40
+ target: '_self'
41
+ }
42
+ },
43
+ styles: {
44
+ contentWidth: {
45
+ desktop: '1200px'
46
+ },
47
+ background: {
48
+ desktop: {
49
+ type: 'video',
50
+ image: {
51
+ src: '',
52
+ width: 1920,
53
+ height: 900
54
+ },
55
+ videoType: 'html5',
56
+ video: 'https://youtu.be/KOxfzBp72uk',
57
+ videoHtml5: 'https://media.w3.org/2010/05/sintel/trailer.mp4'
58
+ }
59
+ }
60
+ },
61
+ childrens: [
62
+ {
63
+ tag: 'Col',
64
+ childrens: [
65
+ {
66
+ tag: 'Heading',
67
+ settings: {
68
+ text: 'Click here to edit heading'
69
+ },
70
+ styles: {
71
+ textAlign: {
72
+ desktop: 'center'
73
+ },
74
+ typo: {
75
+ attrs: {
76
+ color: '#FFFFFF'
77
+ }
78
+ }
79
+ },
80
+ advanced: {
81
+ 'spacing-setting': {
82
+ desktop: {
83
+ margin: {
84
+ bottom: 'var(--g-s-l)'
85
+ }
86
+ }
87
+ }
88
+ }
89
+ },
90
+ {
91
+ tag: 'Text',
92
+ settings: {
93
+ text: "This is your text block. Click to edit and make it your own. Share your product's story<br/>\
94
+ or services offered. Get creative and make it yours!"
95
+ },
96
+ styles: {
97
+ textAlign: {
98
+ desktop: 'center'
99
+ },
100
+ typo: {
101
+ attrs: {
102
+ color: '#FFFFFF'
103
+ }
104
+ }
105
+ },
106
+ advanced: {
107
+ 'spacing-setting': {
108
+ desktop: {
109
+ margin: {
110
+ bottom: 'var(--g-s-l)'
111
+ }
112
+ }
113
+ }
114
+ }
115
+ },
116
+ {
117
+ tag: 'Button',
118
+ settings: {
119
+ label: 'Get started'
120
+ },
121
+ styles: {
122
+ align: {
123
+ desktop: 'center'
124
+ }
125
+ }
126
+ }
127
+ ]
128
+ }
129
+ ]
130
+ }
131
+ ]
132
+ };
133
+
134
+ exports.heroBannerVideoPreSalesPage = heroBannerVideoPreSalesPage;
@@ -88,7 +88,7 @@ const getInsertLinkData = ({ setting, htmlType, defaultTag, enableBtnLink, isLiq
88
88
  if (URL_START_WITH.find((el)=>urlHref.startsWith(el))) return true;
89
89
  return false;
90
90
  };
91
- const shouldRenderLink = enableBtnLink ? isDomain || isShopifyDomain || isLink() || isHomePageHref : false;
91
+ const shouldRenderLink = enableBtnLink ? isDomain || isShopifyDomain || isLink() || isHomePageHref || helpers.isLinkedToSalesPage(setting?.type) : false;
92
92
  let transformedUrl = urlHref;
93
93
  if (isLiquid && (isShopifyDomain || isHomePageHref)) {
94
94
  transformedUrl = setting?.isTranslate ? '$locationOrigin' + urlHref : "{{ request.origin }}{{ routes.root_url | split: '/' | join: '/' }}" + urlHref;
@@ -90,6 +90,88 @@ const config = {
90
90
  }
91
91
  }
92
92
  ]
93
+ },
94
+ {
95
+ id: 'button-pre-sales-page',
96
+ name: {
97
+ en: 'Button'
98
+ },
99
+ icon: {
100
+ desktop: `
101
+ <svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
102
+ <rect width="96" height="48" rx="3" fill="#424242"/>
103
+ <rect x="21.5" y="20" width="53" height="8" rx="4" fill="#757575"/>
104
+ </svg>
105
+ `
106
+ },
107
+ components: [
108
+ {
109
+ tag: 'Button',
110
+ advanced: {
111
+ 'spacing-setting': {
112
+ desktop: {
113
+ margin: {
114
+ bottom: 'var(--g-s-l)'
115
+ }
116
+ }
117
+ },
118
+ editorData: {
119
+ cssPlaceholder: 'button.{{rootClassName}} {\n\n}'
120
+ }
121
+ },
122
+ settings: {
123
+ btnLink: {
124
+ type: 'go-to-sales-page',
125
+ link: '{{ page.metafields.sales_funnel.sales_page_url }}',
126
+ target: '_self'
127
+ },
128
+ enableBtnLink: true
129
+ }
130
+ }
131
+ ]
132
+ },
133
+ {
134
+ id: 'button-icon-pre-sales-page',
135
+ name: {
136
+ en: 'Button'
137
+ },
138
+ icon: {
139
+ desktop: `
140
+ <svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
141
+ <rect width="96" height="48" rx="3" fill="#424242"/>
142
+ <path d="M23.6415 17.8126C23.7882 17.5153 24.2121 17.5153 24.3589 17.8126L26.1255 21.3922C26.1838 21.5102 26.2964 21.5921 26.4267 21.611L30.377 22.185C30.7051 22.2327 30.8361 22.6359 30.5987 22.8673L27.7402 25.6536C27.6459 25.7455 27.6029 25.8779 27.6252 26.0077L28.3 29.9421C28.356 30.2688 28.0131 30.518 27.7196 30.3638L24.1863 28.5062C24.0698 28.4449 23.9306 28.4449 23.814 28.5062L20.2807 30.3637C19.9873 30.518 19.6443 30.2688 19.7004 29.9421L20.3752 26.0077C20.3974 25.8779 20.3544 25.7455 20.2601 25.6536L17.4016 22.8673C17.1642 22.6359 17.2952 22.2327 17.6233 22.185L21.5737 21.611C21.7039 21.5921 21.8166 21.5102 21.8748 21.3922L23.6415 17.8126Z" fill="#F9F9F9"/>
143
+ <rect x="40" y="20" width="40" height="8" rx="4" fill="#757575"/>
144
+ </svg>
145
+ `
146
+ },
147
+ components: [
148
+ {
149
+ tag: 'Button',
150
+ settings: {
151
+ iconVisible: true,
152
+ iconAlign: 'left',
153
+ iconSvg: '<svg height="100%" width="100%" xmlns="http://www.w3.org/2000/svg" className="w-6 h-6" viewBox="0 0 512 512" fill="currentColor"> <path fill="currentColor" strokeLinecap="round" strokeLinejoin="round" fill="currentColor" d="M115.584 494.176c-12.352 6.336 -26.368 -4.768 -23.872 -18.944l26.56 -151.36L5.536 216.48c-10.528 -10.048 -5.056 -28.416 9.056 -30.4l156.736 -22.272L241.216 25.344c6.304 -12.48 23.36 -12.48 29.664 0l69.888 138.464 156.736 22.272c14.112 1.984 19.584 20.352 9.024 30.4l-112.704 107.392 26.56 151.36c2.496 14.176 -11.52 25.28 -23.872 18.944L256 421.984l-140.448 72.192z" /></svg>',
154
+ btnLink: {
155
+ type: 'go-to-sales-page',
156
+ link: '{{ page.metafields.sales_funnel.sales_page_url }}',
157
+ target: '_self'
158
+ },
159
+ enableBtnLink: true
160
+ },
161
+ advanced: {
162
+ 'spacing-setting': {
163
+ desktop: {
164
+ margin: {
165
+ bottom: 0
166
+ }
167
+ }
168
+ },
169
+ editorData: {
170
+ cssPlaceholder: 'button.{{rootClassName}} {\n\n}'
171
+ }
172
+ }
173
+ }
174
+ ]
93
175
  }
94
176
  ],
95
177
  rootOverride: {
@@ -115,6 +115,9 @@ const getInsertLinkData = (defaultWrap, setting, htmlType)=>{
115
115
  shouldRenderLink
116
116
  };
117
117
  };
118
+ const isLinkedToSalesPage = (type)=>{
119
+ return type === 'go-to-sales-page';
120
+ };
118
121
  const getLinkData = ({ setting, htmlType, defaultWrap, isLiquid = false, enableImageLink = false })=>{
119
122
  const URL_INCLUDES = [
120
123
  'product.url'
@@ -136,7 +139,7 @@ const getLinkData = ({ setting, htmlType, defaultWrap, isLiquid = false, enableI
136
139
  if (URL_START_WITH.find((el)=>urlHref.startsWith(el))) return true;
137
140
  return false;
138
141
  };
139
- const shouldRenderLink = enableImageLink && (isDomain || isShopifyDomain || isLink() || isHomePageHref);
142
+ const shouldRenderLink = enableImageLink && (isDomain || isShopifyDomain || isLink() || isHomePageHref || isLinkedToSalesPage(setting?.type));
140
143
  let transformedUrl = urlHref;
141
144
  if (isLiquid && (isShopifyDomain || isHomePageHref)) {
142
145
  transformedUrl = setting?.isTranslate ? '$locationOrigin' + urlHref : "{{ request.origin }}{{ routes.root_url | split: '/' | join: '/' }}" + urlHref;
@@ -223,6 +226,7 @@ exports.getLinkData = getLinkData;
223
226
  exports.getSettingPreloadData = getSettingPreloadData;
224
227
  exports.getStaticLocale = getStaticLocale;
225
228
  exports.isHexTransparent = isHexTransparent;
229
+ exports.isLinkedToSalesPage = isLinkedToSalesPage;
226
230
  exports.isTransparentColor = isTransparentColor;
227
231
  exports.isTransparentRGBA = isTransparentRGBA;
228
232
  exports.replaceLinkData = replaceLinkData;
@@ -153,6 +153,171 @@ const ImagePreset = [
153
153
  }
154
154
  }
155
155
  }
156
+ },
157
+ {
158
+ id: 'image-pre-sales-page',
159
+ name: {
160
+ en: 'Image'
161
+ },
162
+ icon: {
163
+ desktop: `
164
+ <svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
165
+ <rect width="96" height="48" rx="3" fill="#424242"/>
166
+ <circle cx="37" cy="17" r="3" fill="#D6D6D6"/>
167
+ <path d="M32.42 30.9518L37.1407 25.1338C37.3005 24.9364 37.498 24.7768 37.7203 24.6653C37.9427 24.5538 38.1848 24.4929 38.431 24.4866C38.6772 24.4803 38.9218 24.5287 39.149 24.6287C39.3762 24.7288 39.5809 24.8781 39.7496 25.0671L41.957 27.5361L50.5857 16.6629C50.7546 16.4499 50.967 16.2797 51.2069 16.165C51.4469 16.0503 51.7083 15.9941 51.9718 16.0005C52.2352 16.0069 52.4939 16.0758 52.7285 16.202C52.9632 16.3283 53.1679 16.5086 53.3273 16.7297L63.6435 31.0236C63.8408 31.2976 63.9615 31.6242 63.9922 31.9666C64.0229 32.3089 63.9623 32.6535 63.8173 32.9616C63.6723 33.2697 63.4485 33.529 63.1712 33.7105C62.8939 33.8919 62.5741 33.9883 62.2476 33.9887L33.7537 34C33.4185 33.9999 33.0904 33.8986 32.8082 33.7082C32.526 33.5177 32.3014 33.2461 32.1611 32.9255C32.0208 32.6048 31.9706 32.2485 32.0165 31.8988C32.0624 31.549 32.2024 31.2204 32.42 30.9518Z" fill="#D6D6D6"/>
168
+ </svg>
169
+ `
170
+ },
171
+ components: [
172
+ {
173
+ tag: 'Image',
174
+ advanced: {
175
+ 'spacing-setting': {
176
+ desktop: {
177
+ margin: {
178
+ bottom: 'var(--g-s-l)'
179
+ }
180
+ }
181
+ },
182
+ editorData: {
183
+ cssPlaceholder: '.{{rootClassName}} {\n\n}\n.{{rootClassName}} > figure > img {\n\n}'
184
+ }
185
+ },
186
+ settings: {
187
+ imageLink: {
188
+ type: 'go-to-sales-page',
189
+ link: '{{ page.metafields.sales_funnel.sales_page_url }}',
190
+ target: '_self'
191
+ }
192
+ }
193
+ }
194
+ ],
195
+ flowTagComponents: {
196
+ Marquee: [
197
+ {
198
+ tag: 'Image',
199
+ styles: {
200
+ shape: {
201
+ desktop: {
202
+ width: 'auto',
203
+ height: 'auto'
204
+ }
205
+ },
206
+ enableBorder: 'none'
207
+ },
208
+ advanced: {
209
+ 'spacing-setting': {
210
+ desktop: {
211
+ margin: {
212
+ bottom: 'var(--g-s-l)'
213
+ }
214
+ }
215
+ },
216
+ editorData: {
217
+ rootClassName: '{{rootClassName}}',
218
+ css: '.{{rootClassName}} {\n\n}\n.{{rootClassName}} > figure > img {\n\n}'
219
+ }
220
+ },
221
+ settings: {
222
+ isNotLazyload: true
223
+ }
224
+ }
225
+ ]
226
+ }
227
+ },
228
+ {
229
+ id: 'image-circle-pre-sales-page',
230
+ name: {
231
+ en: 'Image'
232
+ },
233
+ icon: {
234
+ desktop: `
235
+ <svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
236
+ <rect x="2" y="2" width="52" height="52" rx="26" fill="#424242"/>
237
+ <ellipse cx="20.4375" cy="22.9688" rx="2.0625" ry="1.96875" fill="#F9F9F9"/>
238
+ <path d="M17.2887 32.9997L20.5342 29.1816C20.6441 29.052 20.7799 28.9473 20.9327 28.8741C21.0856 28.8009 21.2521 28.761 21.4213 28.7568C21.5905 28.7527 21.7587 28.7845 21.915 28.8501C22.0712 28.9158 22.2118 29.0138 22.3278 29.1378L23.8454 30.758L29.7777 23.6225C29.8938 23.4827 30.0398 23.371 30.2048 23.2958C30.3697 23.2205 30.5495 23.1836 30.7306 23.1878C30.9117 23.192 31.0895 23.2372 31.2509 23.3201C31.4122 23.4029 31.5529 23.5213 31.6625 23.6663L38.7549 33.0467C38.8905 33.2266 38.9735 33.4409 38.9947 33.6656C39.0158 33.8902 38.9741 34.1164 38.8744 34.3186C38.7747 34.5207 38.6209 34.6909 38.4302 34.81C38.2396 34.9291 38.0197 34.9923 37.7952 34.9926L18.2057 35C17.9753 34.9999 17.7497 34.9334 17.5557 34.8085C17.3616 34.6835 17.2072 34.5053 17.1108 34.2948C17.0143 34.0844 16.9798 33.8506 17.0113 33.6211C17.0429 33.3915 17.1391 33.1759 17.2887 32.9997Z" fill="#F9F9F9"/>
239
+ </svg>
240
+ `
241
+ },
242
+ components: [
243
+ {
244
+ tag: 'Image',
245
+ settings: {
246
+ imageStyle: 'circle',
247
+ imageLink: {
248
+ type: 'go-to-sales-page',
249
+ link: '{{ page.metafields.sales_funnel.sales_page_url }}',
250
+ target: '_self'
251
+ }
252
+ },
253
+ styles: {
254
+ shape: {
255
+ desktop: {
256
+ shape: 'square',
257
+ shapeValue: '1/1',
258
+ width: '80px',
259
+ shapeLinked: true
260
+ }
261
+ },
262
+ borderRadius: {
263
+ btrr: '999999px',
264
+ bblr: '999999px',
265
+ bbrr: '999999px',
266
+ btlr: '999999px',
267
+ radiusType: 'custom'
268
+ },
269
+ wrapperBorder: {
270
+ borderType: 'none',
271
+ border: 'none',
272
+ width: '1px 1px 1px 1px',
273
+ position: 'all',
274
+ borderWidth: '1px',
275
+ color: '#000000',
276
+ isCustom: true
277
+ }
278
+ },
279
+ advanced: {
280
+ 'spacing-setting': {
281
+ desktop: {
282
+ margin: {
283
+ bottom: 'var(--g-s-l)'
284
+ }
285
+ }
286
+ },
287
+ editorData: {
288
+ cssplaceholder: '.{{rootClassName}} {\n\n}\n.{{rootClassName}} > figure > img {\n\n}'
289
+ }
290
+ }
291
+ }
292
+ ],
293
+ rootOverride: {
294
+ styles: {
295
+ shape: {
296
+ desktop: {
297
+ shape: 'square',
298
+ shapeValue: '1/1',
299
+ width: '80px',
300
+ shapeLinked: true
301
+ }
302
+ },
303
+ borderRadius: {
304
+ btrr: '999999px',
305
+ bblr: '999999px',
306
+ bbrr: '999999px',
307
+ btlr: '999999px',
308
+ radiusType: 'custom'
309
+ }
310
+ },
311
+ advanced: {
312
+ 'spacing-setting': {
313
+ desktop: {
314
+ margin: {
315
+ bottom: 0
316
+ }
317
+ }
318
+ }
319
+ }
320
+ }
156
321
  }
157
322
  ];
158
323
 
package/dist/cjs/index.js CHANGED
@@ -395,6 +395,7 @@ exports.getLinkData = helpers.getLinkData;
395
395
  exports.getSettingPreloadData = helpers.getSettingPreloadData;
396
396
  exports.getStaticLocale = helpers.getStaticLocale;
397
397
  exports.isHexTransparent = helpers.isHexTransparent;
398
+ exports.isLinkedToSalesPage = helpers.isLinkedToSalesPage;
398
399
  exports.isTransparentColor = helpers.isTransparentColor;
399
400
  exports.isTransparentRGBA = helpers.isTransparentRGBA;
400
401
  exports.replaceLinkData = helpers.replaceLinkData;
@@ -1,8 +1,13 @@
1
1
  import { heroBanner1Col } from './presets/heroBanner1Col.js';
2
+ import { heroBanner1ColPreSalesPage } from './presets/heroBanner1ColPreSalesPage.js';
2
3
  import { heroBannerContentLeft } from './presets/heroBannerContentLeft.js';
4
+ import { heroBannerContentLeftPreSalesPage } from './presets/heroBannerContentLeftPreSalesPage.js';
3
5
  import { heroBannerContentRight } from './presets/heroBannerContentRight.js';
6
+ import { heroBannerContentRightPreSalesPage } from './presets/heroBannerContentRightPreSalesPage.js';
4
7
  import { heroBannerVideo } from './presets/heroBannerVideo.js';
8
+ import { heroBannerVideoPreSalesPage } from './presets/heroBannerVideoPreSalesPage.js';
5
9
  import { heroBannerParallax } from './presets/heroBannerParallax.js';
10
+ import { heroBannerParallaxPreSalesPage } from './presets/heroBannerParallaxPreSalesPage.js';
6
11
  import { SettingUIV1 } from './uiV1.js';
7
12
  import { SettingUIV2 } from './uiV2.js';
8
13
  import { SettingsV2 } from './setting.js';
@@ -20,10 +25,15 @@ const config = {
20
25
  uiV2: SettingUIV2,
21
26
  presets: [
22
27
  heroBanner1Col,
28
+ heroBanner1ColPreSalesPage,
23
29
  heroBannerContentLeft,
30
+ heroBannerContentLeftPreSalesPage,
24
31
  heroBannerContentRight,
32
+ heroBannerContentRightPreSalesPage,
25
33
  heroBannerVideo,
26
- heroBannerParallax
34
+ heroBannerVideoPreSalesPage,
35
+ heroBannerParallax,
36
+ heroBannerParallaxPreSalesPage
27
37
  ],
28
38
  editorConfigs: {
29
39
  slots: {
@@ -0,0 +1,136 @@
1
+ const heroBanner1ColPreSalesPage = {
2
+ id: 'hero-banner-1-col-pre-sales-page',
3
+ name: {
4
+ en: 'Hero Banner'
5
+ },
6
+ icon: {
7
+ desktop: `
8
+ <svg width="94" height="48" viewBox="0 0 94 48" fill="none" xmlns="http://www.w3.org/2000/svg">
9
+ <g clip-path="url(#clip0_1706_4280)">
10
+ <rect width="94" height="48" rx="3" fill="#424242"/>
11
+ <g opacity="0.2">
12
+ <ellipse cx="2" cy="1.5" rx="11" ry="11.5" fill="#757575"/>
13
+ <path d="M0.601075 61.8234L18.5988 40.4906C19.2081 39.767 19.9611 39.1816 20.8088 38.7727C21.6564 38.3638 22.5796 38.1406 23.5181 38.1175C24.4566 38.0944 25.3894 38.272 26.2556 38.6387C27.1219 39.0055 27.902 39.5531 28.5453 40.2459L36.9609 49.2989L69.858 9.43075C70.502 8.64956 71.3116 8.02551 72.2264 7.60499C73.1413 7.18447 74.138 6.9783 75.1423 7.00181C76.1467 7.02532 77.1329 7.2779 78.0276 7.74078C78.9223 8.20366 79.7026 8.86493 80.3103 9.67543L119.641 62.0866C120.393 63.0913 120.853 64.2887 120.97 65.5441C121.087 66.7994 120.856 68.063 120.303 69.1926C119.751 70.3222 118.897 71.2732 117.84 71.9384C116.783 72.6037 115.564 72.957 114.319 72.9585L5.68599 73C4.40822 72.9995 3.15734 72.6281 2.08134 71.9299C1.00533 71.2317 0.149232 70.2358 -0.38568 69.06C-0.920592 67.8843 -1.11193 66.5779 -0.937061 65.2955C-0.762191 64.0131 -0.22843 62.8082 0.601075 61.8234Z" fill="#757575"/>
14
+ </g>
15
+ <rect x="29" y="26" width="36" height="6" rx="3" fill="#D6D6D6"/>
16
+ <rect x="36" y="16" width="22" height="6" rx="3" fill="#D6D6D6"/>
17
+ </g>
18
+ <defs>
19
+ <clipPath id="clip0_1706_4280">
20
+ <rect width="94" height="48" rx="3" fill="white"/>
21
+ </clipPath>
22
+ </defs>
23
+ </svg>
24
+ `
25
+ },
26
+ components: [
27
+ {
28
+ tag: 'HeroBanner',
29
+ settings: {
30
+ layout: {
31
+ desktop: {
32
+ cols: [
33
+ 12
34
+ ],
35
+ display: 'fill'
36
+ }
37
+ },
38
+ link: {
39
+ type: 'go-to-sales-page',
40
+ link: '{{ page.metafields.sales_funnel.sales_page_url }}',
41
+ target: '_self'
42
+ }
43
+ },
44
+ styles: {
45
+ contentWidth: {
46
+ desktop: '1200px'
47
+ },
48
+ sizeSetting: {
49
+ desktop: {
50
+ shape: 'custom',
51
+ widthHeightLinked: false,
52
+ width: '100%',
53
+ height: '600px'
54
+ },
55
+ mobile: {
56
+ shape: 'custom',
57
+ widthHeightLinked: false,
58
+ width: '1200px',
59
+ height: '600px'
60
+ }
61
+ }
62
+ },
63
+ childrens: [
64
+ {
65
+ tag: 'Col',
66
+ childrens: [
67
+ {
68
+ tag: 'Heading',
69
+ settings: {
70
+ text: 'Click here to edit heading'
71
+ },
72
+ styles: {
73
+ textAlign: {
74
+ desktop: 'center'
75
+ },
76
+ typo: {
77
+ attrs: {
78
+ color: '#FFFFFF'
79
+ }
80
+ }
81
+ },
82
+ advanced: {
83
+ 'spacing-setting': {
84
+ desktop: {
85
+ margin: {
86
+ bottom: 'var(--g-s-l)'
87
+ }
88
+ }
89
+ }
90
+ }
91
+ },
92
+ {
93
+ tag: 'Text',
94
+ settings: {
95
+ text: "This is your text block. Click to edit and make it your own. Share your product's story<br/>\
96
+ or services offered. Get creative and make it yours!"
97
+ },
98
+ styles: {
99
+ textAlign: {
100
+ desktop: 'center'
101
+ },
102
+ typo: {
103
+ attrs: {
104
+ color: '#FFFFFF'
105
+ }
106
+ }
107
+ },
108
+ advanced: {
109
+ 'spacing-setting': {
110
+ desktop: {
111
+ margin: {
112
+ bottom: 'var(--g-s-l)'
113
+ }
114
+ }
115
+ }
116
+ }
117
+ },
118
+ {
119
+ tag: 'Button',
120
+ settings: {
121
+ label: 'Get started'
122
+ },
123
+ styles: {
124
+ align: {
125
+ desktop: 'center'
126
+ }
127
+ }
128
+ }
129
+ ]
130
+ }
131
+ ]
132
+ }
133
+ ]
134
+ };
135
+
136
+ export { heroBanner1ColPreSalesPage };