@slicemachine/adapter-nuxt 0.3.18-dev-slice-templates-svelte-nuxt.4 → 0.3.18-dev-next-release.9
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.
- package/dist/Hero/javascript.vue +75 -43
- package/dist/Hero/typescript.vue +75 -43
- package/dist/hooks/project-init.cjs +1 -1
- package/dist/hooks/project-init.cjs.map +1 -1
- package/dist/hooks/project-init.js +1 -1
- package/dist/hooks/project-init.js.map +1 -1
- package/dist/plugin.cjs +1 -4
- package/dist/plugin.cjs.map +1 -1
- package/dist/plugin.js +1 -4
- package/dist/plugin.js.map +1 -1
- package/package.json +3 -3
- package/src/hooks/project-init.ts +1 -1
- package/src/plugin.ts +1 -4
- package/dist/AlternateGrid/javascript.vue +0 -228
- package/dist/AlternateGrid/screenshot-default.png +0 -0
- package/dist/AlternateGrid/screenshot-imageRight.png +0 -0
- package/dist/AlternateGrid/typescript.vue +0 -235
- package/dist/CallToAction/javascript.vue +0 -127
- package/dist/CallToAction/screenshot-alignLeft.png +0 -0
- package/dist/CallToAction/screenshot-default.png +0 -0
- package/dist/CallToAction/typescript.vue +0 -134
- package/dist/CustomerLogos/javascript.vue +0 -115
- package/dist/CustomerLogos/screenshot-default.png +0 -0
- package/dist/CustomerLogos/typescript.vue +0 -122
- package/dist/sliceTemplates/AlternateGrid/index.cjs +0 -436
- package/dist/sliceTemplates/AlternateGrid/index.cjs.map +0 -1
- package/dist/sliceTemplates/AlternateGrid/index.d.ts +0 -8
- package/dist/sliceTemplates/AlternateGrid/index.js +0 -436
- package/dist/sliceTemplates/AlternateGrid/index.js.map +0 -1
- package/dist/sliceTemplates/CallToAction/index.cjs +0 -264
- package/dist/sliceTemplates/CallToAction/index.cjs.map +0 -1
- package/dist/sliceTemplates/CallToAction/index.d.ts +0 -8
- package/dist/sliceTemplates/CallToAction/index.js +0 -264
- package/dist/sliceTemplates/CallToAction/index.js.map +0 -1
- package/dist/sliceTemplates/CustomerLogos/index.cjs +0 -314
- package/dist/sliceTemplates/CustomerLogos/index.cjs.map +0 -1
- package/dist/sliceTemplates/CustomerLogos/index.d.ts +0 -7
- package/dist/sliceTemplates/CustomerLogos/index.js +0 -314
- package/dist/sliceTemplates/CustomerLogos/index.js.map +0 -1
- package/src/sliceTemplates/AlternateGrid/index.ts +0 -441
- package/src/sliceTemplates/CallToAction/index.ts +0 -265
- package/src/sliceTemplates/CustomerLogos/index.ts +0 -313
|
@@ -1,441 +0,0 @@
|
|
|
1
|
-
import { SharedSliceContent } from "@prismicio/types-internal/lib/content";
|
|
2
|
-
import { SharedSlice } from "@prismicio/types-internal/lib/customtypes";
|
|
3
|
-
|
|
4
|
-
export const screenshotPaths = {
|
|
5
|
-
default: "AlternateGrid/screenshot-default.png",
|
|
6
|
-
imageRight: "AlternateGrid/screenshot-imageRight.png",
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
export const mocks: SharedSliceContent[] = [
|
|
10
|
-
{
|
|
11
|
-
__TYPE__: "SharedSliceContent",
|
|
12
|
-
variation: "default",
|
|
13
|
-
primary: {
|
|
14
|
-
title: {
|
|
15
|
-
__TYPE__: "StructuredTextContent",
|
|
16
|
-
value: [
|
|
17
|
-
{
|
|
18
|
-
type: "heading1",
|
|
19
|
-
content: {
|
|
20
|
-
text: "Alternate like a star",
|
|
21
|
-
spans: [],
|
|
22
|
-
},
|
|
23
|
-
direction: "ltr",
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
},
|
|
27
|
-
description: {
|
|
28
|
-
__TYPE__: "StructuredTextContent",
|
|
29
|
-
value: [
|
|
30
|
-
{
|
|
31
|
-
type: "paragraph",
|
|
32
|
-
content: {
|
|
33
|
-
text: "A predesigned AlternateGrid component, that you can use to list your skills or features of a product.",
|
|
34
|
-
spans: [
|
|
35
|
-
{
|
|
36
|
-
type: "strong",
|
|
37
|
-
start: 44,
|
|
38
|
-
end: 47,
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
},
|
|
42
|
-
direction: "ltr",
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
},
|
|
46
|
-
eyebrowHeadline: {
|
|
47
|
-
__TYPE__: "FieldContent",
|
|
48
|
-
type: "Text",
|
|
49
|
-
value: "Eyebrow",
|
|
50
|
-
},
|
|
51
|
-
image: {
|
|
52
|
-
origin: {
|
|
53
|
-
id: "main",
|
|
54
|
-
url: "https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d",
|
|
55
|
-
width: 4076,
|
|
56
|
-
height: 2712,
|
|
57
|
-
},
|
|
58
|
-
url: "https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d",
|
|
59
|
-
width: 4076,
|
|
60
|
-
height: 2712,
|
|
61
|
-
edit: {
|
|
62
|
-
zoom: 1,
|
|
63
|
-
crop: {
|
|
64
|
-
x: 0,
|
|
65
|
-
y: 0,
|
|
66
|
-
},
|
|
67
|
-
background: "transparent",
|
|
68
|
-
},
|
|
69
|
-
credits: null,
|
|
70
|
-
alt: "Image of computer",
|
|
71
|
-
__TYPE__: "ImageContent",
|
|
72
|
-
thumbnails: {},
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
items: [
|
|
76
|
-
{
|
|
77
|
-
__TYPE__: "GroupItemContent",
|
|
78
|
-
value: [
|
|
79
|
-
[
|
|
80
|
-
"title",
|
|
81
|
-
{
|
|
82
|
-
__TYPE__: "StructuredTextContent",
|
|
83
|
-
value: [
|
|
84
|
-
{
|
|
85
|
-
type: "heading3",
|
|
86
|
-
content: {
|
|
87
|
-
text: "Integrate with the SliceZone",
|
|
88
|
-
spans: [],
|
|
89
|
-
},
|
|
90
|
-
direction: "ltr",
|
|
91
|
-
},
|
|
92
|
-
],
|
|
93
|
-
},
|
|
94
|
-
],
|
|
95
|
-
[
|
|
96
|
-
"description",
|
|
97
|
-
{
|
|
98
|
-
__TYPE__: "StructuredTextContent",
|
|
99
|
-
value: [
|
|
100
|
-
{
|
|
101
|
-
type: "paragraph",
|
|
102
|
-
content: {
|
|
103
|
-
text: "This component has been matched by the SliceZone. Its model has been fetched from SliceMachine next-adapter!",
|
|
104
|
-
spans: [],
|
|
105
|
-
},
|
|
106
|
-
direction: "ltr",
|
|
107
|
-
},
|
|
108
|
-
],
|
|
109
|
-
},
|
|
110
|
-
],
|
|
111
|
-
],
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
__TYPE__: "GroupItemContent",
|
|
115
|
-
value: [
|
|
116
|
-
[
|
|
117
|
-
"title",
|
|
118
|
-
{
|
|
119
|
-
__TYPE__: "StructuredTextContent",
|
|
120
|
-
value: [
|
|
121
|
-
{
|
|
122
|
-
type: "heading3",
|
|
123
|
-
content: {
|
|
124
|
-
text: "Create your own",
|
|
125
|
-
spans: [],
|
|
126
|
-
},
|
|
127
|
-
direction: "ltr",
|
|
128
|
-
},
|
|
129
|
-
],
|
|
130
|
-
},
|
|
131
|
-
],
|
|
132
|
-
[
|
|
133
|
-
"description",
|
|
134
|
-
{
|
|
135
|
-
__TYPE__: "StructuredTextContent",
|
|
136
|
-
value: [
|
|
137
|
-
{
|
|
138
|
-
type: "paragraph",
|
|
139
|
-
content: {
|
|
140
|
-
text: "Feel free to use this component fully, or use it as an example! We're adding templates as often as we can.",
|
|
141
|
-
spans: [],
|
|
142
|
-
},
|
|
143
|
-
direction: "ltr",
|
|
144
|
-
},
|
|
145
|
-
],
|
|
146
|
-
},
|
|
147
|
-
],
|
|
148
|
-
],
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
__TYPE__: "GroupItemContent",
|
|
152
|
-
value: [
|
|
153
|
-
[
|
|
154
|
-
"title",
|
|
155
|
-
{
|
|
156
|
-
__TYPE__: "StructuredTextContent",
|
|
157
|
-
value: [
|
|
158
|
-
{
|
|
159
|
-
type: "heading3",
|
|
160
|
-
content: {
|
|
161
|
-
text: "Add a variation",
|
|
162
|
-
spans: [],
|
|
163
|
-
},
|
|
164
|
-
direction: "ltr",
|
|
165
|
-
},
|
|
166
|
-
],
|
|
167
|
-
},
|
|
168
|
-
],
|
|
169
|
-
[
|
|
170
|
-
"description",
|
|
171
|
-
{
|
|
172
|
-
__TYPE__: "StructuredTextContent",
|
|
173
|
-
value: [
|
|
174
|
-
{
|
|
175
|
-
type: "paragraph",
|
|
176
|
-
content: {
|
|
177
|
-
text: 'This slice comes with a "Image Right" variation, which means editors can switch text/image direction!',
|
|
178
|
-
spans: [],
|
|
179
|
-
},
|
|
180
|
-
direction: "ltr",
|
|
181
|
-
},
|
|
182
|
-
],
|
|
183
|
-
},
|
|
184
|
-
],
|
|
185
|
-
],
|
|
186
|
-
},
|
|
187
|
-
],
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
__TYPE__: "SharedSliceContent",
|
|
191
|
-
variation: "imageRight",
|
|
192
|
-
primary: {
|
|
193
|
-
eyebrowHeadline: {
|
|
194
|
-
__TYPE__: "FieldContent",
|
|
195
|
-
value: "activity",
|
|
196
|
-
type: "Text",
|
|
197
|
-
},
|
|
198
|
-
title: {
|
|
199
|
-
__TYPE__: "StructuredTextContent",
|
|
200
|
-
value: [
|
|
201
|
-
{
|
|
202
|
-
type: "heading1",
|
|
203
|
-
content: {
|
|
204
|
-
text: "Alternate like a star",
|
|
205
|
-
spans: [],
|
|
206
|
-
},
|
|
207
|
-
direction: "ltr",
|
|
208
|
-
},
|
|
209
|
-
],
|
|
210
|
-
},
|
|
211
|
-
description: {
|
|
212
|
-
__TYPE__: "StructuredTextContent",
|
|
213
|
-
value: [
|
|
214
|
-
{
|
|
215
|
-
type: "paragraph",
|
|
216
|
-
content: {
|
|
217
|
-
text: "A predesigned AlternateGrid component, that you can use to list your skills or features of a product.",
|
|
218
|
-
spans: [
|
|
219
|
-
{
|
|
220
|
-
type: "strong",
|
|
221
|
-
start: 44,
|
|
222
|
-
end: 47,
|
|
223
|
-
},
|
|
224
|
-
],
|
|
225
|
-
},
|
|
226
|
-
direction: "ltr",
|
|
227
|
-
},
|
|
228
|
-
],
|
|
229
|
-
},
|
|
230
|
-
image: {
|
|
231
|
-
origin: {
|
|
232
|
-
id: "main",
|
|
233
|
-
url: "https://images.unsplash.com/photo-1499951360447-b19be8fe80f5",
|
|
234
|
-
width: 5848,
|
|
235
|
-
height: 3899,
|
|
236
|
-
},
|
|
237
|
-
url: "https://images.unsplash.com/photo-1499951360447-b19be8fe80f5",
|
|
238
|
-
width: 5848,
|
|
239
|
-
height: 3899,
|
|
240
|
-
edit: {
|
|
241
|
-
zoom: 1,
|
|
242
|
-
crop: {
|
|
243
|
-
x: 0,
|
|
244
|
-
y: 0,
|
|
245
|
-
},
|
|
246
|
-
background: "transparent",
|
|
247
|
-
},
|
|
248
|
-
credits: null,
|
|
249
|
-
alt: "Image of computer",
|
|
250
|
-
__TYPE__: "ImageContent",
|
|
251
|
-
thumbnails: {},
|
|
252
|
-
},
|
|
253
|
-
},
|
|
254
|
-
items: [
|
|
255
|
-
{
|
|
256
|
-
__TYPE__: "GroupItemContent",
|
|
257
|
-
value: [
|
|
258
|
-
[
|
|
259
|
-
"title",
|
|
260
|
-
{
|
|
261
|
-
__TYPE__: "StructuredTextContent",
|
|
262
|
-
value: [
|
|
263
|
-
{
|
|
264
|
-
type: "heading3",
|
|
265
|
-
content: {
|
|
266
|
-
text: "Create a unique, high-performing site",
|
|
267
|
-
spans: [
|
|
268
|
-
{
|
|
269
|
-
type: "strong",
|
|
270
|
-
start: 9,
|
|
271
|
-
end: 15,
|
|
272
|
-
},
|
|
273
|
-
],
|
|
274
|
-
},
|
|
275
|
-
direction: "ltr",
|
|
276
|
-
},
|
|
277
|
-
],
|
|
278
|
-
},
|
|
279
|
-
],
|
|
280
|
-
[
|
|
281
|
-
"description",
|
|
282
|
-
{
|
|
283
|
-
__TYPE__: "StructuredTextContent",
|
|
284
|
-
value: [
|
|
285
|
-
{
|
|
286
|
-
type: "paragraph",
|
|
287
|
-
content: {
|
|
288
|
-
text: "Prismic is the headless website builder designed to help developers and marketers create unique, high-performing websites that are easy to edit.",
|
|
289
|
-
spans: [],
|
|
290
|
-
},
|
|
291
|
-
direction: "ltr",
|
|
292
|
-
},
|
|
293
|
-
],
|
|
294
|
-
},
|
|
295
|
-
],
|
|
296
|
-
],
|
|
297
|
-
},
|
|
298
|
-
],
|
|
299
|
-
},
|
|
300
|
-
];
|
|
301
|
-
|
|
302
|
-
export const model: SharedSlice = {
|
|
303
|
-
id: "alternate_grid",
|
|
304
|
-
type: "SharedSlice",
|
|
305
|
-
name: "AlternateGrid",
|
|
306
|
-
description: "AlternateGrid",
|
|
307
|
-
variations: [
|
|
308
|
-
{
|
|
309
|
-
id: "default",
|
|
310
|
-
name: "Default",
|
|
311
|
-
docURL: "...",
|
|
312
|
-
version: "initial",
|
|
313
|
-
description: "Default",
|
|
314
|
-
imageUrl: "",
|
|
315
|
-
primary: {
|
|
316
|
-
eyebrowHeadline: {
|
|
317
|
-
type: "Text",
|
|
318
|
-
config: {
|
|
319
|
-
label: "eyebrowHeadline",
|
|
320
|
-
placeholder: "Eyebrow",
|
|
321
|
-
},
|
|
322
|
-
},
|
|
323
|
-
title: {
|
|
324
|
-
type: "StructuredText",
|
|
325
|
-
config: {
|
|
326
|
-
label: "title",
|
|
327
|
-
placeholder: "",
|
|
328
|
-
allowTargetBlank: true,
|
|
329
|
-
single:
|
|
330
|
-
"heading1,heading2,heading3,heading4,heading5,heading6,strong,em",
|
|
331
|
-
},
|
|
332
|
-
},
|
|
333
|
-
description: {
|
|
334
|
-
type: "StructuredText",
|
|
335
|
-
config: {
|
|
336
|
-
label: "description",
|
|
337
|
-
placeholder: "",
|
|
338
|
-
allowTargetBlank: true,
|
|
339
|
-
multi:
|
|
340
|
-
"paragraph,preformatted,hyperlink,embed,rtl,strong,em,list-item,o-list-item",
|
|
341
|
-
},
|
|
342
|
-
},
|
|
343
|
-
image: {
|
|
344
|
-
type: "Image",
|
|
345
|
-
config: {
|
|
346
|
-
label: "image",
|
|
347
|
-
constraint: {},
|
|
348
|
-
thumbnails: [],
|
|
349
|
-
},
|
|
350
|
-
},
|
|
351
|
-
},
|
|
352
|
-
items: {
|
|
353
|
-
title: {
|
|
354
|
-
type: "StructuredText",
|
|
355
|
-
config: {
|
|
356
|
-
label: "title",
|
|
357
|
-
placeholder: "",
|
|
358
|
-
allowTargetBlank: true,
|
|
359
|
-
single: "heading2,heading3,heading4,heading5,heading6,strong,em",
|
|
360
|
-
},
|
|
361
|
-
},
|
|
362
|
-
description: {
|
|
363
|
-
type: "StructuredText",
|
|
364
|
-
config: {
|
|
365
|
-
label: "description",
|
|
366
|
-
placeholder: "",
|
|
367
|
-
allowTargetBlank: true,
|
|
368
|
-
multi:
|
|
369
|
-
"paragraph,preformatted,hyperlink,strong,em,list-item,o-list-item,rtl",
|
|
370
|
-
},
|
|
371
|
-
},
|
|
372
|
-
},
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
id: "imageRight",
|
|
376
|
-
name: "Image Right",
|
|
377
|
-
docURL: "...",
|
|
378
|
-
version: "initial",
|
|
379
|
-
description: "Default",
|
|
380
|
-
imageUrl: "",
|
|
381
|
-
primary: {
|
|
382
|
-
eyebrowHeadline: {
|
|
383
|
-
type: "Text",
|
|
384
|
-
config: {
|
|
385
|
-
label: "eyebrowHeadline",
|
|
386
|
-
placeholder: "Eyebrow",
|
|
387
|
-
},
|
|
388
|
-
},
|
|
389
|
-
title: {
|
|
390
|
-
type: "StructuredText",
|
|
391
|
-
config: {
|
|
392
|
-
label: "title",
|
|
393
|
-
placeholder: "",
|
|
394
|
-
allowTargetBlank: true,
|
|
395
|
-
single:
|
|
396
|
-
"heading1,heading2,heading3,heading4,heading5,heading6,strong,em",
|
|
397
|
-
},
|
|
398
|
-
},
|
|
399
|
-
description: {
|
|
400
|
-
type: "StructuredText",
|
|
401
|
-
config: {
|
|
402
|
-
label: "description",
|
|
403
|
-
placeholder: "",
|
|
404
|
-
allowTargetBlank: true,
|
|
405
|
-
multi:
|
|
406
|
-
"paragraph,preformatted,hyperlink,embed,rtl,strong,em,list-item,o-list-item",
|
|
407
|
-
},
|
|
408
|
-
},
|
|
409
|
-
image: {
|
|
410
|
-
type: "Image",
|
|
411
|
-
config: {
|
|
412
|
-
label: "image",
|
|
413
|
-
constraint: {},
|
|
414
|
-
thumbnails: [],
|
|
415
|
-
},
|
|
416
|
-
},
|
|
417
|
-
},
|
|
418
|
-
items: {
|
|
419
|
-
title: {
|
|
420
|
-
type: "StructuredText",
|
|
421
|
-
config: {
|
|
422
|
-
label: "title",
|
|
423
|
-
placeholder: "",
|
|
424
|
-
allowTargetBlank: true,
|
|
425
|
-
single: "heading2,heading3,heading4,heading5,heading6,strong,em",
|
|
426
|
-
},
|
|
427
|
-
},
|
|
428
|
-
description: {
|
|
429
|
-
type: "StructuredText",
|
|
430
|
-
config: {
|
|
431
|
-
label: "description",
|
|
432
|
-
placeholder: "",
|
|
433
|
-
allowTargetBlank: true,
|
|
434
|
-
multi:
|
|
435
|
-
"paragraph,preformatted,hyperlink,strong,em,list-item,o-list-item,rtl",
|
|
436
|
-
},
|
|
437
|
-
},
|
|
438
|
-
},
|
|
439
|
-
},
|
|
440
|
-
],
|
|
441
|
-
};
|
|
@@ -1,265 +0,0 @@
|
|
|
1
|
-
import type { SharedSlice } from "@prismicio/types-internal/lib/customtypes";
|
|
2
|
-
import { SharedSliceContent } from "@prismicio/types-internal/lib/content";
|
|
3
|
-
|
|
4
|
-
export const screenshotPaths = {
|
|
5
|
-
default: "CallToAction/screenshot-default.png",
|
|
6
|
-
alignLeft: "CallToAction/screenshot-alignLeft.png",
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
export const mocks: SharedSliceContent[] = [
|
|
10
|
-
{
|
|
11
|
-
__TYPE__: "SharedSliceContent",
|
|
12
|
-
variation: "default",
|
|
13
|
-
primary: {
|
|
14
|
-
title: {
|
|
15
|
-
__TYPE__: "StructuredTextContent",
|
|
16
|
-
value: [
|
|
17
|
-
{
|
|
18
|
-
type: "heading1",
|
|
19
|
-
content: {
|
|
20
|
-
text: "Collector Slices kit",
|
|
21
|
-
spans: [],
|
|
22
|
-
},
|
|
23
|
-
direction: "ltr",
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
},
|
|
27
|
-
paragraph: {
|
|
28
|
-
__TYPE__: "StructuredTextContent",
|
|
29
|
-
value: [
|
|
30
|
-
{
|
|
31
|
-
type: "paragraph",
|
|
32
|
-
content: {
|
|
33
|
-
text: "It’s very easy to create stylish and beautiful prototypes for your future projects, both graphical and dynamic.",
|
|
34
|
-
spans: [],
|
|
35
|
-
},
|
|
36
|
-
direction: "ltr",
|
|
37
|
-
},
|
|
38
|
-
],
|
|
39
|
-
},
|
|
40
|
-
buttonLink: {
|
|
41
|
-
__TYPE__: "LinkContent",
|
|
42
|
-
value: {
|
|
43
|
-
__TYPE__: "ExternalLink",
|
|
44
|
-
url: "https://twitter.com/prismicio",
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
buttonlabel: {
|
|
48
|
-
__TYPE__: "FieldContent",
|
|
49
|
-
type: "Text",
|
|
50
|
-
value: "Click here",
|
|
51
|
-
},
|
|
52
|
-
image: {
|
|
53
|
-
origin: {
|
|
54
|
-
id: "9aOswReDKPo",
|
|
55
|
-
url: "https://images.unsplash.com/photo-1523049673857-eb18f1d7b578?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwxOXx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&ixlib=rb-4.0.3&q=85",
|
|
56
|
-
width: 8040,
|
|
57
|
-
height: 6024,
|
|
58
|
-
},
|
|
59
|
-
url: "https://images.unsplash.com/photo-1523049673857-eb18f1d7b578?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwxOXx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&ixlib=rb-4.0.3&q=85",
|
|
60
|
-
width: 8040,
|
|
61
|
-
height: 6024,
|
|
62
|
-
edit: {
|
|
63
|
-
background: "transparent",
|
|
64
|
-
zoom: 1,
|
|
65
|
-
crop: {
|
|
66
|
-
x: 0,
|
|
67
|
-
y: 0,
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
credits: null,
|
|
71
|
-
alt: "Example Image",
|
|
72
|
-
__TYPE__: "ImageContent",
|
|
73
|
-
thumbnails: {},
|
|
74
|
-
},
|
|
75
|
-
buttonLabel: {
|
|
76
|
-
__TYPE__: "FieldContent",
|
|
77
|
-
type: "Text",
|
|
78
|
-
value: "Learn more",
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
items: [],
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
__TYPE__: "SharedSliceContent",
|
|
85
|
-
variation: "alignLeft",
|
|
86
|
-
primary: {
|
|
87
|
-
image: {
|
|
88
|
-
origin: {
|
|
89
|
-
id: "euqiHwS38Rw",
|
|
90
|
-
url: "https://images.unsplash.com/photo-1595475207225-428b62bda831?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&ixlib=rb-4.0.3&q=85",
|
|
91
|
-
width: 2500,
|
|
92
|
-
height: 2500,
|
|
93
|
-
},
|
|
94
|
-
url: "https://images.unsplash.com/photo-1595475207225-428b62bda831?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjkzMjUxNTMxfDA&ixlib=rb-4.0.3&q=85",
|
|
95
|
-
width: 2500,
|
|
96
|
-
height: 2500,
|
|
97
|
-
edit: {
|
|
98
|
-
background: "transparent",
|
|
99
|
-
zoom: 1,
|
|
100
|
-
crop: {
|
|
101
|
-
x: 0,
|
|
102
|
-
y: 0,
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
credits: null,
|
|
106
|
-
alt: "Example Image",
|
|
107
|
-
__TYPE__: "ImageContent",
|
|
108
|
-
thumbnails: {},
|
|
109
|
-
},
|
|
110
|
-
title: {
|
|
111
|
-
__TYPE__: "StructuredTextContent",
|
|
112
|
-
value: [
|
|
113
|
-
{
|
|
114
|
-
type: "heading1",
|
|
115
|
-
content: {
|
|
116
|
-
text: "Collector Slices kit",
|
|
117
|
-
spans: [],
|
|
118
|
-
},
|
|
119
|
-
direction: "ltr",
|
|
120
|
-
},
|
|
121
|
-
],
|
|
122
|
-
},
|
|
123
|
-
paragraph: {
|
|
124
|
-
__TYPE__: "StructuredTextContent",
|
|
125
|
-
value: [
|
|
126
|
-
{
|
|
127
|
-
type: "paragraph",
|
|
128
|
-
content: {
|
|
129
|
-
text: "It’s very easy to create stylish and beautiful prototypes for your future projects, both graphical and dynamic.",
|
|
130
|
-
spans: [],
|
|
131
|
-
},
|
|
132
|
-
direction: "ltr",
|
|
133
|
-
},
|
|
134
|
-
],
|
|
135
|
-
},
|
|
136
|
-
buttonLink: {
|
|
137
|
-
__TYPE__: "LinkContent",
|
|
138
|
-
value: {
|
|
139
|
-
__TYPE__: "ExternalLink",
|
|
140
|
-
url: "https://prismic.io",
|
|
141
|
-
},
|
|
142
|
-
},
|
|
143
|
-
buttonLabel: {
|
|
144
|
-
__TYPE__: "FieldContent",
|
|
145
|
-
type: "Text",
|
|
146
|
-
value: "Learn more!",
|
|
147
|
-
},
|
|
148
|
-
},
|
|
149
|
-
items: [
|
|
150
|
-
{
|
|
151
|
-
__TYPE__: "GroupItemContent",
|
|
152
|
-
value: [],
|
|
153
|
-
},
|
|
154
|
-
],
|
|
155
|
-
},
|
|
156
|
-
];
|
|
157
|
-
|
|
158
|
-
export const model: SharedSlice = {
|
|
159
|
-
id: "call_to_action",
|
|
160
|
-
type: "SharedSlice",
|
|
161
|
-
name: "CallToAction",
|
|
162
|
-
description: "CallToAction",
|
|
163
|
-
variations: [
|
|
164
|
-
{
|
|
165
|
-
id: "default",
|
|
166
|
-
name: "Default",
|
|
167
|
-
docURL: "...",
|
|
168
|
-
version: "initial",
|
|
169
|
-
description: "Default",
|
|
170
|
-
imageUrl: "",
|
|
171
|
-
primary: {
|
|
172
|
-
image: {
|
|
173
|
-
type: "Image",
|
|
174
|
-
config: { label: "Image", constraint: {}, thumbnails: [] },
|
|
175
|
-
},
|
|
176
|
-
title: {
|
|
177
|
-
type: "StructuredText",
|
|
178
|
-
config: {
|
|
179
|
-
label: "title",
|
|
180
|
-
placeholder: "",
|
|
181
|
-
allowTargetBlank: true,
|
|
182
|
-
single: "heading1,heading2,heading3,heading4,heading5,heading6",
|
|
183
|
-
},
|
|
184
|
-
},
|
|
185
|
-
paragraph: {
|
|
186
|
-
type: "StructuredText",
|
|
187
|
-
config: {
|
|
188
|
-
label: "paragraph",
|
|
189
|
-
placeholder: "",
|
|
190
|
-
allowTargetBlank: true,
|
|
191
|
-
single:
|
|
192
|
-
"paragraph,preformatted,strong,em,hyperlink,image,embed,list-item,o-list-item,rtl",
|
|
193
|
-
},
|
|
194
|
-
},
|
|
195
|
-
buttonLink: {
|
|
196
|
-
type: "Link",
|
|
197
|
-
config: {
|
|
198
|
-
label: "buttonLink",
|
|
199
|
-
placeholder: "Redirect URL for CTA button",
|
|
200
|
-
allowTargetBlank: true,
|
|
201
|
-
select: null,
|
|
202
|
-
},
|
|
203
|
-
},
|
|
204
|
-
buttonLabel: {
|
|
205
|
-
type: "Text",
|
|
206
|
-
config: {
|
|
207
|
-
label: "buttonLabel",
|
|
208
|
-
placeholder: "Label for CTA button",
|
|
209
|
-
},
|
|
210
|
-
},
|
|
211
|
-
},
|
|
212
|
-
items: {},
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
id: "alignLeft",
|
|
216
|
-
name: "AlignLeft",
|
|
217
|
-
docURL: "...",
|
|
218
|
-
version: "initial",
|
|
219
|
-
description: "Default",
|
|
220
|
-
imageUrl: "",
|
|
221
|
-
primary: {
|
|
222
|
-
image: {
|
|
223
|
-
type: "Image",
|
|
224
|
-
config: { label: "Image", constraint: {}, thumbnails: [] },
|
|
225
|
-
},
|
|
226
|
-
title: {
|
|
227
|
-
type: "StructuredText",
|
|
228
|
-
config: {
|
|
229
|
-
label: "title",
|
|
230
|
-
placeholder: "",
|
|
231
|
-
allowTargetBlank: true,
|
|
232
|
-
single: "heading1,heading2,heading3,heading4,heading5,heading6",
|
|
233
|
-
},
|
|
234
|
-
},
|
|
235
|
-
paragraph: {
|
|
236
|
-
type: "StructuredText",
|
|
237
|
-
config: {
|
|
238
|
-
label: "paragraph",
|
|
239
|
-
placeholder: "",
|
|
240
|
-
allowTargetBlank: true,
|
|
241
|
-
single:
|
|
242
|
-
"paragraph,preformatted,strong,em,hyperlink,image,embed,list-item,o-list-item,rtl",
|
|
243
|
-
},
|
|
244
|
-
},
|
|
245
|
-
buttonLink: {
|
|
246
|
-
type: "Link",
|
|
247
|
-
config: {
|
|
248
|
-
label: "buttonLink",
|
|
249
|
-
placeholder: "Redirect URL for CTA button",
|
|
250
|
-
allowTargetBlank: true,
|
|
251
|
-
select: null,
|
|
252
|
-
},
|
|
253
|
-
},
|
|
254
|
-
buttonLabel: {
|
|
255
|
-
type: "Text",
|
|
256
|
-
config: {
|
|
257
|
-
label: "buttonLabel",
|
|
258
|
-
placeholder: "Label for CTA button",
|
|
259
|
-
},
|
|
260
|
-
},
|
|
261
|
-
},
|
|
262
|
-
items: {},
|
|
263
|
-
},
|
|
264
|
-
],
|
|
265
|
-
};
|