@lightspeed/crane 2.0.5 → 3.0.0
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/CHANGELOG.md +34 -0
- package/UPGRADE.md +96 -0
- package/dist/cli.mjs +44 -25
- package/package.json +6 -3
- package/template/blank/sections/blank-section/BlankSection.vue +9 -0
- package/template/blank/sections/blank-section/assets/blank_section_showcase_1_preview.jpg +0 -0
- package/template/blank/sections/blank-section/client.ts +6 -0
- package/template/blank/sections/blank-section/server.ts +6 -0
- package/template/blank/sections/blank-section/settings/content.ts +2 -0
- package/template/blank/sections/blank-section/settings/design.ts +2 -0
- package/template/blank/sections/blank-section/settings/layout.ts +2 -0
- package/template/blank/sections/blank-section/settings/translations.ts +8 -0
- package/template/blank/sections/blank-section/showcases/1.ts +15 -0
- package/template/blank/sections/blank-section/showcases/translations.ts +10 -0
- package/template/blank/sections/blank-section/type.ts +5 -0
- package/template/collections/assets/collection_cover_image.png +0 -0
- package/template/collections/example-collection/configuration.ts +21 -0
- package/template/crane.config.json +1 -1
- package/template/footers/example-footer/ExampleFooter.vue +4 -4
- package/template/footers/example-footer/component/LegalLinks.vue +1 -1
- package/template/footers/example-footer/component/MadeWith.vue +1 -1
- package/template/footers/example-footer/component/ReportAbuse.vue +1 -1
- package/template/footers/example-footer/settings/design.ts +5 -4
- package/template/footers/example-footer/settings/translations.ts +4 -3
- package/template/footers/example-footer/showcases/1.ts +4 -2
- package/template/footers/example-footer/showcases/translations.ts +4 -2
- package/template/headers/example-header/ExampleHeader.vue +1 -1
- package/template/headers/example-header/component/Account.vue +1 -1
- package/template/headers/example-header/component/CategoriesDropdown.vue +1 -1
- package/template/headers/example-header/component/Logo.vue +7 -7
- package/template/headers/example-header/component/NavigationMenu.vue +1 -1
- package/template/headers/example-header/settings/content.ts +8 -1
- package/template/headers/example-header/settings/design.ts +7 -1
- package/template/headers/example-header/settings/layout.ts +1 -1
- package/template/headers/example-header/settings/translations.ts +4 -2
- package/template/headers/example-header/showcases/1.ts +15 -11
- package/template/headers/example-header/showcases/2.ts +12 -8
- package/template/headers/example-header/showcases/translations.ts +4 -2
- package/template/layouts/catalog/example-catalog/components/Icon.vue +14 -14
- package/template/layouts/catalog/example-catalog/slots/custom-bottom-bar/CustomBottomBar.vue +1 -1
- package/template/package.json +1 -0
- package/template/page-templates/example-template/configuration.ts +8 -10
- package/template/page-templates/example-template/pages/catalog.ts +3 -6
- package/template/page-templates/example-template/pages/category.ts +3 -6
- package/template/page-templates/example-template/pages/home.ts +42 -57
- package/template/page-templates/example-template/pages/product.ts +3 -6
- package/template/preview/sections/preview.html +10 -6
- package/template/preview/shared/api-routes.ts +235 -102
- package/template/preview/shared/logger.ts +9 -0
- package/template/preview/shared/preview.ts +108 -72
- package/template/preview/shared/utils.ts +63 -43
- package/template/preview/ssr-server.ts +1 -1
- package/template/reference/sections/about-us/AboutUs.vue +20 -22
- package/template/reference/sections/about-us/component/Image.vue +18 -18
- package/template/reference/sections/about-us/component/Stats.vue +40 -40
- package/template/reference/sections/about-us/component/Title.vue +1 -1
- package/template/reference/sections/about-us/settings/content.ts +15 -19
- package/template/reference/sections/about-us/settings/design.ts +14 -18
- package/template/reference/sections/about-us/settings/layout.ts +7 -5
- package/template/reference/sections/about-us/settings/translations.ts +4 -2
- package/template/reference/sections/about-us/showcases/1.ts +48 -62
- package/template/reference/sections/about-us/showcases/2.ts +44 -56
- package/template/reference/sections/about-us/showcases/translations.ts +4 -2
- package/template/reference/sections/featured-products/FeaturedProducts.vue +12 -6
- package/template/reference/sections/featured-products/component/ProductItem.vue +18 -1
- package/template/reference/sections/featured-products/component/ProductPlaceholder.vue +42 -0
- package/template/reference/sections/featured-products/component/Title.vue +1 -1
- package/template/reference/sections/featured-products/settings/content.ts +8 -10
- package/template/reference/sections/featured-products/settings/design.ts +7 -7
- package/template/reference/sections/featured-products/settings/translations.ts +4 -2
- package/template/reference/sections/featured-products/showcases/1.ts +8 -12
- package/template/reference/sections/featured-products/showcases/translations.ts +4 -2
- package/template/reference/sections/intro-slider/IntroSlider.vue +6 -6
- package/template/reference/sections/intro-slider/component/Slider.vue +42 -43
- package/template/reference/sections/intro-slider/component/Title.vue +7 -7
- package/template/reference/sections/intro-slider/settings/content.ts +33 -36
- package/template/reference/sections/intro-slider/settings/design.ts +17 -22
- package/template/reference/sections/intro-slider/settings/layout.ts +6 -4
- package/template/reference/sections/intro-slider/settings/translations.ts +4 -2
- package/template/reference/sections/intro-slider/showcases/1.ts +52 -75
- package/template/reference/sections/intro-slider/showcases/2.ts +50 -72
- package/template/reference/sections/intro-slider/showcases/translations.ts +4 -2
- package/template/reference/sections/tag-lines/TagLines.vue +41 -47
- package/template/reference/sections/tag-lines/component/HighlightedText.vue +1 -1
- package/template/reference/sections/tag-lines/component/SectionImage.vue +18 -18
- package/template/reference/sections/tag-lines/component/Title.vue +1 -1
- package/template/reference/sections/tag-lines/settings/content.ts +47 -47
- package/template/reference/sections/tag-lines/settings/design.ts +15 -19
- package/template/reference/sections/tag-lines/settings/layout.ts +6 -4
- package/template/reference/sections/tag-lines/settings/translations.ts +4 -2
- package/template/reference/sections/tag-lines/showcases/1.ts +40 -50
- package/template/reference/sections/tag-lines/showcases/2.ts +40 -50
- package/template/reference/sections/tag-lines/showcases/translations.ts +4 -2
- package/template/reference/sections/trending-categories/TrendingCategories.vue +1 -1
- package/template/reference/sections/trending-categories/component/CategoryItem.vue +18 -1
- package/template/reference/sections/trending-categories/component/Title.vue +1 -1
- package/template/reference/sections/trending-categories/settings/content.ts +8 -10
- package/template/reference/sections/trending-categories/settings/design.ts +7 -7
- package/template/reference/sections/trending-categories/settings/translations.ts +4 -2
- package/template/reference/sections/trending-categories/showcases/1.ts +14 -15
- package/template/reference/sections/trending-categories/showcases/translations.ts +4 -2
- package/template/reference/shared/components/Button.vue +6 -6
- package/template/reference/shared/components/SectionWrapper.vue +5 -5
- package/template/reference/shared/components/Tagline.vue +12 -11
- package/template/reference/templates/reference-template-apparel/configuration.ts +8 -8
- package/template/reference/templates/reference-template-apparel/pages/catalog.ts +3 -6
- package/template/reference/templates/reference-template-apparel/pages/category.ts +3 -6
- package/template/reference/templates/reference-template-apparel/pages/home.ts +14 -18
- package/template/reference/templates/reference-template-apparel/pages/product.ts +3 -6
- package/template/reference/templates/reference-template-bike/configuration.ts +9 -9
- package/template/reference/templates/reference-template-bike/pages/catalog.ts +3 -6
- package/template/reference/templates/reference-template-bike/pages/category.ts +3 -6
- package/template/reference/templates/reference-template-bike/pages/home.ts +14 -18
- package/template/reference/templates/reference-template-bike/pages/product.ts +3 -6
- package/template/sections/example-section/ExampleSection.vue +3 -5
- package/template/sections/example-section/component/button/Button.vue +1 -1
- package/template/sections/example-section/component/image/Image.vue +43 -43
- package/template/sections/example-section/component/image/ImagesGrid.vue +21 -32
- package/template/sections/example-section/component/selectbox/Selectbox.vue +1 -1
- package/template/sections/example-section/component/title/Title.vue +1 -1
- package/template/sections/example-section/component/toggle/Toggle.vue +4 -4
- package/template/sections/example-section/settings/content.ts +25 -34
- package/template/sections/example-section/settings/design.ts +15 -19
- package/template/sections/example-section/settings/layout.ts +15 -14
- package/template/sections/example-section/settings/translations.ts +4 -2
- package/template/sections/example-section/showcases/1.ts +52 -79
- package/template/sections/example-section/showcases/2.ts +46 -62
- package/template/sections/example-section/showcases/3.ts +50 -76
- package/template/sections/example-section/showcases/translations.ts +4 -2
- package/template/shared/components/LanguageSelector.vue +1 -1
- package/template/shared/components/SectionWrapper.vue +5 -5
|
@@ -1,30 +1,27 @@
|
|
|
1
|
+
import { content } from '@lightspeed/crane-api';
|
|
2
|
+
|
|
1
3
|
export default {
|
|
2
|
-
section_title: {
|
|
3
|
-
type: 'TEXTAREA',
|
|
4
|
+
section_title: content.textarea({
|
|
4
5
|
label: '$label.section_title.label',
|
|
5
6
|
placeholder: '$label.section_title.placeholder',
|
|
6
|
-
},
|
|
7
|
-
section_description: {
|
|
8
|
-
type: 'TEXTAREA',
|
|
7
|
+
}),
|
|
8
|
+
section_description: content.textarea({
|
|
9
9
|
label: '$label.section_description.label',
|
|
10
10
|
placeholder: '$label.section_description.placeholder',
|
|
11
|
-
},
|
|
12
|
-
section_tagline: {
|
|
13
|
-
type: 'INPUTBOX',
|
|
11
|
+
}),
|
|
12
|
+
section_tagline: content.inputbox({
|
|
14
13
|
label: '$label.section_tagline.label',
|
|
15
14
|
placeholder: '$label.section_tagline.placeholder',
|
|
16
|
-
},
|
|
17
|
-
section_button: {
|
|
18
|
-
type: 'BUTTON',
|
|
15
|
+
}),
|
|
16
|
+
section_button: content.button({
|
|
19
17
|
label: '$label.section_button.label',
|
|
20
18
|
defaults: {
|
|
21
19
|
title: '$label.section_button.title',
|
|
22
20
|
buttonType: 'HYPER_LINK',
|
|
23
21
|
link: 'https://www.example.com',
|
|
24
22
|
},
|
|
25
|
-
},
|
|
26
|
-
slider: {
|
|
27
|
-
type: 'DECK',
|
|
23
|
+
}),
|
|
24
|
+
slider: content.deck({
|
|
28
25
|
label: '$label.slider.title',
|
|
29
26
|
addButtonLabel: '$label.slider.add_slide',
|
|
30
27
|
maxCards: 6,
|
|
@@ -32,34 +29,34 @@ export default {
|
|
|
32
29
|
defaultCardContent: {
|
|
33
30
|
label: '$label.slider.slide_title',
|
|
34
31
|
settings: {
|
|
35
|
-
image_content: {
|
|
36
|
-
type: 'IMAGE',
|
|
32
|
+
image_content: content.image({
|
|
37
33
|
label: '$label.slide_content.label',
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
34
|
+
defaults: {
|
|
35
|
+
imageData: {
|
|
36
|
+
set: {
|
|
37
|
+
MOBILE_WEBP_LOW_RES: {
|
|
38
|
+
url: 'category_4.jpg',
|
|
39
|
+
},
|
|
40
|
+
MOBILE_WEBP_HI_RES: {
|
|
41
|
+
url: 'category_4@2x.jpg',
|
|
42
|
+
},
|
|
43
|
+
WEBP_LOW_RES: {
|
|
44
|
+
url: 'category_4@2x.jpg',
|
|
45
|
+
},
|
|
46
|
+
WEBP_HI_2X_RES: {
|
|
47
|
+
url: 'category_4@2x.jpg',
|
|
48
|
+
},
|
|
51
49
|
},
|
|
50
|
+
borderInfo: {},
|
|
52
51
|
},
|
|
53
|
-
borderInfo: {},
|
|
54
52
|
},
|
|
55
|
-
},
|
|
56
|
-
image_text: {
|
|
57
|
-
type: 'TEXTAREA',
|
|
53
|
+
}),
|
|
54
|
+
image_text: content.textarea({
|
|
58
55
|
label: '$label.slide_text.label',
|
|
59
56
|
placeholder: '$label.slide_text.label',
|
|
60
|
-
},
|
|
57
|
+
}),
|
|
61
58
|
},
|
|
62
59
|
},
|
|
63
60
|
},
|
|
64
|
-
},
|
|
65
|
-
}
|
|
61
|
+
}),
|
|
62
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { design } from '@lightspeed/crane-api';
|
|
2
|
+
|
|
1
3
|
export default {
|
|
2
|
-
section_title: {
|
|
3
|
-
type: 'TEXT',
|
|
4
|
+
section_title: design.text({
|
|
4
5
|
label: '$label.section_title.label',
|
|
5
6
|
colors: ['#000000', '#FFFFFF', '#C8D9FF', '#FFB92E', '#F4EFE3'],
|
|
6
7
|
sizes: [18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60],
|
|
@@ -12,9 +13,8 @@ export default {
|
|
|
12
13
|
color: '#000000',
|
|
13
14
|
visible: true,
|
|
14
15
|
},
|
|
15
|
-
},
|
|
16
|
-
section_description: {
|
|
17
|
-
type: 'TEXT',
|
|
16
|
+
}),
|
|
17
|
+
section_description: design.text({
|
|
18
18
|
label: '$label.section_description.label',
|
|
19
19
|
colors: ['#000000', '#FFFFFF', '#C8D9FF', '#FFB92E', '#F4EFE3'],
|
|
20
20
|
sizes: [12, 13, 14, 15, 16, 17, 18, 20],
|
|
@@ -26,9 +26,8 @@ export default {
|
|
|
26
26
|
color: '#000000',
|
|
27
27
|
visible: true,
|
|
28
28
|
},
|
|
29
|
-
},
|
|
30
|
-
section_tagline: {
|
|
31
|
-
type: 'TEXT',
|
|
29
|
+
}),
|
|
30
|
+
section_tagline: design.text({
|
|
32
31
|
label: '$label.section_tagline.label',
|
|
33
32
|
colors: ['#000000', '#FFFFFF', '#C8D9FF', '#FFB92E', '#F4EFE3'],
|
|
34
33
|
sizes: [12, 13, 14, 15, 16, 17, 18, 20],
|
|
@@ -40,9 +39,8 @@ export default {
|
|
|
40
39
|
color: '#C8D9FF',
|
|
41
40
|
visible: true,
|
|
42
41
|
},
|
|
43
|
-
},
|
|
44
|
-
section_button: {
|
|
45
|
-
type: 'BUTTON',
|
|
42
|
+
}),
|
|
43
|
+
section_button: design.button({
|
|
46
44
|
label: '$label.section_button.label',
|
|
47
45
|
colors: ['#000000', '#FFFFFF', '#C8D9FF', '#FFB92E', '#F4EFE3'],
|
|
48
46
|
defaults: {
|
|
@@ -52,18 +50,16 @@ export default {
|
|
|
52
50
|
color: '#000000',
|
|
53
51
|
visible: true,
|
|
54
52
|
},
|
|
55
|
-
},
|
|
56
|
-
background: {
|
|
57
|
-
type: 'BACKGROUND',
|
|
53
|
+
}),
|
|
54
|
+
background: design.background({
|
|
58
55
|
label: '$label.background.label',
|
|
59
56
|
colors: ['#000000', '#FFFFFF', '#C8D9FF', '#FFB92E', '#F4EFE3'],
|
|
60
57
|
defaults: {
|
|
61
58
|
style: 'COLOR',
|
|
62
59
|
color: '#F4EFE3',
|
|
63
60
|
},
|
|
64
|
-
},
|
|
65
|
-
image_text: {
|
|
66
|
-
type: 'TEXT',
|
|
61
|
+
}),
|
|
62
|
+
image_text: design.text({
|
|
67
63
|
label: '$label.section_image_text.label',
|
|
68
64
|
colors: ['#000000', '#FFFFFF', '#C8D9FF', '#FFB92E', '#F4EFE3'],
|
|
69
65
|
sizes: [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28],
|
|
@@ -75,14 +71,13 @@ export default {
|
|
|
75
71
|
color: '#FFFFFF',
|
|
76
72
|
visible: true,
|
|
77
73
|
},
|
|
78
|
-
},
|
|
79
|
-
image_content: {
|
|
80
|
-
type: 'IMAGE',
|
|
74
|
+
}),
|
|
75
|
+
image_content: design.image({
|
|
81
76
|
label: '$label.section_image.label',
|
|
82
77
|
colors: ['#000000', '#FFFFFF', '#C8D9FF', '#FFB92E', '#F4EFE3'],
|
|
83
78
|
defaults: {
|
|
84
79
|
overlay: 'GRADIENT',
|
|
85
80
|
color: ['#000000', '#000000'],
|
|
86
81
|
},
|
|
87
|
-
},
|
|
88
|
-
}
|
|
82
|
+
}),
|
|
83
|
+
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
+
import { layout } from '@lightspeed/crane-api';
|
|
2
|
+
|
|
1
3
|
export default [
|
|
2
|
-
{
|
|
4
|
+
layout.init({
|
|
3
5
|
layoutId: 'Narrow_Title_And_Images_With_Border_Radius',
|
|
4
6
|
selectedContentSettings: [],
|
|
5
7
|
selectedDesignSettings: [],
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
+
}),
|
|
9
|
+
layout.init({
|
|
8
10
|
layoutId: 'Wide_Title_And_Images_Without_Border_Radius',
|
|
9
11
|
selectedContentSettings: [],
|
|
10
12
|
selectedDesignSettings: [],
|
|
11
|
-
},
|
|
13
|
+
}),
|
|
12
14
|
];
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { translation } from '@lightspeed/crane-api';
|
|
2
|
+
|
|
3
|
+
export default translation.init({
|
|
2
4
|
en: {
|
|
3
5
|
'$label.section_title.label': 'Main title',
|
|
4
6
|
'$label.section_title.placeholder': 'This will be the main title for this section',
|
|
@@ -50,4 +52,4 @@ export default {
|
|
|
50
52
|
'$label.showcase_2.highlighted_text_2.text': 'vélos hybrides',
|
|
51
53
|
'$label.showcase_2.highlighted_text_3.text': 'vélos pliants',
|
|
52
54
|
},
|
|
53
|
-
}
|
|
55
|
+
});
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { content, design, showcase } from '@lightspeed/crane-api';
|
|
2
|
+
|
|
3
|
+
export default showcase.init({
|
|
2
4
|
showcaseId: '1',
|
|
3
5
|
layoutId: 'Narrow_Title_And_Images_With_Border_Radius',
|
|
4
6
|
previewImage: {
|
|
@@ -10,35 +12,28 @@ export default {
|
|
|
10
12
|
},
|
|
11
13
|
blockName: '$label.showcase_1.blockName',
|
|
12
14
|
content: {
|
|
13
|
-
section_title: {
|
|
14
|
-
type: 'TEXTAREA',
|
|
15
|
+
section_title: content.default.textarea({
|
|
15
16
|
text: '$label.showcase_1.section_title.text',
|
|
16
|
-
},
|
|
17
|
-
section_description: {
|
|
18
|
-
type: 'TEXTAREA',
|
|
17
|
+
}),
|
|
18
|
+
section_description: content.default.textarea({
|
|
19
19
|
text: '$label.showcase_1.section_description.text',
|
|
20
|
-
},
|
|
21
|
-
section_tagline: {
|
|
22
|
-
type: 'INPUTBOX',
|
|
20
|
+
}),
|
|
21
|
+
section_tagline: content.default.inputbox({
|
|
23
22
|
text: '$label.showcase_1.section_tagline.text',
|
|
24
|
-
},
|
|
25
|
-
section_button: {
|
|
26
|
-
type: 'BUTTON',
|
|
23
|
+
}),
|
|
24
|
+
section_button: content.default.button({
|
|
27
25
|
title: '$label.showcase_1.section_button.title',
|
|
28
26
|
buttonType: 'HYPER_LINK',
|
|
29
27
|
link: 'https://www.example.com',
|
|
30
|
-
},
|
|
31
|
-
slider: {
|
|
32
|
-
type: 'DECK',
|
|
28
|
+
}),
|
|
29
|
+
slider: content.default.deck({
|
|
33
30
|
cards: [
|
|
34
31
|
{
|
|
35
32
|
settings: {
|
|
36
|
-
image_text: {
|
|
37
|
-
type: 'INPUTBOX',
|
|
33
|
+
image_text: content.default.inputbox({
|
|
38
34
|
text: '$label.showcase_1.slide_text_1.text',
|
|
39
|
-
},
|
|
40
|
-
image_content: {
|
|
41
|
-
type: 'IMAGE',
|
|
35
|
+
}),
|
|
36
|
+
image_content: content.default.image({
|
|
42
37
|
imageData: {
|
|
43
38
|
set: {
|
|
44
39
|
MOBILE_WEBP_LOW_RES: {
|
|
@@ -56,17 +51,15 @@ export default {
|
|
|
56
51
|
},
|
|
57
52
|
borderInfo: {},
|
|
58
53
|
},
|
|
59
|
-
},
|
|
54
|
+
}),
|
|
60
55
|
},
|
|
61
56
|
},
|
|
62
57
|
{
|
|
63
58
|
settings: {
|
|
64
|
-
image_text: {
|
|
65
|
-
type: 'INPUTBOX',
|
|
59
|
+
image_text: content.default.inputbox({
|
|
66
60
|
text: '$label.showcase_1.slide_text_2.text',
|
|
67
|
-
},
|
|
68
|
-
image_content: {
|
|
69
|
-
type: 'IMAGE',
|
|
61
|
+
}),
|
|
62
|
+
image_content: content.default.image({
|
|
70
63
|
imageData: {
|
|
71
64
|
set: {
|
|
72
65
|
MOBILE_WEBP_LOW_RES: {
|
|
@@ -84,17 +77,15 @@ export default {
|
|
|
84
77
|
},
|
|
85
78
|
borderInfo: {},
|
|
86
79
|
},
|
|
87
|
-
},
|
|
80
|
+
}),
|
|
88
81
|
},
|
|
89
82
|
},
|
|
90
83
|
{
|
|
91
84
|
settings: {
|
|
92
|
-
image_text: {
|
|
93
|
-
type: 'INPUTBOX',
|
|
85
|
+
image_text: content.default.inputbox({
|
|
94
86
|
text: '$label.showcase_1.slide_text_3.text',
|
|
95
|
-
},
|
|
96
|
-
image_content: {
|
|
97
|
-
type: 'IMAGE',
|
|
87
|
+
}),
|
|
88
|
+
image_content: content.default.image({
|
|
98
89
|
imageData: {
|
|
99
90
|
set: {
|
|
100
91
|
MOBILE_WEBP_LOW_RES: {
|
|
@@ -112,17 +103,15 @@ export default {
|
|
|
112
103
|
},
|
|
113
104
|
borderInfo: {},
|
|
114
105
|
},
|
|
115
|
-
},
|
|
106
|
+
}),
|
|
116
107
|
},
|
|
117
108
|
},
|
|
118
109
|
{
|
|
119
110
|
settings: {
|
|
120
|
-
image_text: {
|
|
121
|
-
type: 'INPUTBOX',
|
|
111
|
+
image_text: content.default.inputbox({
|
|
122
112
|
text: '$label.showcase_1.slide_text_4.text',
|
|
123
|
-
},
|
|
124
|
-
image_content: {
|
|
125
|
-
type: 'IMAGE',
|
|
113
|
+
}),
|
|
114
|
+
image_content: content.default.image({
|
|
126
115
|
imageData: {
|
|
127
116
|
set: {
|
|
128
117
|
MOBILE_WEBP_LOW_RES: {
|
|
@@ -140,18 +129,15 @@ export default {
|
|
|
140
129
|
},
|
|
141
130
|
borderInfo: {},
|
|
142
131
|
},
|
|
143
|
-
},
|
|
132
|
+
}),
|
|
144
133
|
},
|
|
145
134
|
},
|
|
146
135
|
{
|
|
147
|
-
|
|
148
136
|
settings: {
|
|
149
|
-
image_text: {
|
|
150
|
-
type: 'INPUTBOX',
|
|
137
|
+
image_text: content.default.inputbox({
|
|
151
138
|
text: '$label.showcase_1.slide_text_5.text',
|
|
152
|
-
},
|
|
153
|
-
image_content: {
|
|
154
|
-
type: 'IMAGE',
|
|
139
|
+
}),
|
|
140
|
+
image_content: content.default.image({
|
|
155
141
|
imageData: {
|
|
156
142
|
set: {
|
|
157
143
|
MOBILE_WEBP_LOW_RES: {
|
|
@@ -169,17 +155,15 @@ export default {
|
|
|
169
155
|
},
|
|
170
156
|
borderInfo: {},
|
|
171
157
|
},
|
|
172
|
-
},
|
|
158
|
+
}),
|
|
173
159
|
},
|
|
174
160
|
},
|
|
175
161
|
{
|
|
176
162
|
settings: {
|
|
177
|
-
image_text: {
|
|
178
|
-
type: 'INPUTBOX',
|
|
163
|
+
image_text: content.default.inputbox({
|
|
179
164
|
text: '$label.showcase_1.slide_text_6.text',
|
|
180
|
-
},
|
|
181
|
-
image_content: {
|
|
182
|
-
type: 'IMAGE',
|
|
165
|
+
}),
|
|
166
|
+
image_content: content.default.image({
|
|
183
167
|
imageData: {
|
|
184
168
|
set: {
|
|
185
169
|
MOBILE_WEBP_LOW_RES: {
|
|
@@ -197,62 +181,55 @@ export default {
|
|
|
197
181
|
},
|
|
198
182
|
borderInfo: {},
|
|
199
183
|
},
|
|
200
|
-
},
|
|
184
|
+
}),
|
|
201
185
|
},
|
|
202
186
|
},
|
|
203
187
|
],
|
|
204
|
-
},
|
|
188
|
+
}),
|
|
205
189
|
},
|
|
206
190
|
design: {
|
|
207
|
-
section_title: {
|
|
208
|
-
type: 'TEXT',
|
|
191
|
+
section_title: design.default.text({
|
|
209
192
|
font: 'noto_serif',
|
|
210
193
|
size: 48,
|
|
211
194
|
bold: true,
|
|
212
195
|
italic: false,
|
|
213
196
|
color: '#000000',
|
|
214
|
-
},
|
|
215
|
-
section_description: {
|
|
216
|
-
type: 'TEXT',
|
|
197
|
+
}),
|
|
198
|
+
section_description: design.default.text({
|
|
217
199
|
font: 'inter',
|
|
218
200
|
size: 16,
|
|
219
201
|
bold: true,
|
|
220
202
|
italic: false,
|
|
221
203
|
color: '#000000',
|
|
222
|
-
},
|
|
223
|
-
section_tagline: {
|
|
224
|
-
type: 'TEXT',
|
|
204
|
+
}),
|
|
205
|
+
section_tagline: design.default.text({
|
|
225
206
|
font: 'noto_serif',
|
|
226
207
|
size: 16,
|
|
227
208
|
bold: false,
|
|
228
209
|
italic: false,
|
|
229
210
|
color: '#C8D9FF',
|
|
230
|
-
},
|
|
231
|
-
section_button: {
|
|
232
|
-
type: 'BUTTON',
|
|
211
|
+
}),
|
|
212
|
+
section_button: design.default.button({
|
|
233
213
|
font: 'inter',
|
|
234
214
|
appearance: 'SOLID',
|
|
235
215
|
size: 'LARGE',
|
|
236
216
|
shape: 'PILL',
|
|
237
217
|
color: '#000000',
|
|
238
|
-
},
|
|
239
|
-
background: {
|
|
240
|
-
type: 'BACKGROUND',
|
|
218
|
+
}),
|
|
219
|
+
background: design.default.background({
|
|
241
220
|
style: 'COLOR',
|
|
242
221
|
color: '#F4EFE3',
|
|
243
|
-
},
|
|
244
|
-
image_text: {
|
|
245
|
-
type: 'TEXT',
|
|
222
|
+
}),
|
|
223
|
+
image_text: design.default.text({
|
|
246
224
|
font: 'noto_serif',
|
|
247
225
|
size: 24,
|
|
248
226
|
bold: true,
|
|
249
227
|
italic: false,
|
|
250
228
|
color: '#FFFFFF',
|
|
251
|
-
},
|
|
252
|
-
image_content: {
|
|
253
|
-
type: 'IMAGE',
|
|
229
|
+
}),
|
|
230
|
+
image_content: design.default.image({
|
|
254
231
|
overlay: 'GRADIENT',
|
|
255
232
|
color: ['#000000', '#000000'],
|
|
256
|
-
},
|
|
233
|
+
}),
|
|
257
234
|
},
|
|
258
|
-
}
|
|
235
|
+
});
|