@lightspeed/crane 1.1.2 → 1.2.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/bin/crane.js +0 -1
- package/dist/app.d.mts +20 -2
- package/dist/app.d.ts +20 -2
- package/dist/app.mjs +1 -1
- package/dist/cli.mjs +10 -23
- package/package.json +10 -5
- package/template/footers/example-footer/ExampleFooter.vue +6 -1
- package/template/footers/example-footer/assets/cart.svg +19 -0
- package/template/footers/example-footer/component/LegalLinks.vue +2 -2
- package/template/footers/example-footer/component/MadeWith.vue +23 -0
- package/template/footers/example-footer/component/ReportAbuse.vue +4 -3
- package/template/footers/example-footer/showcases/1.ts +1 -1
- package/template/headers/example-header/ExampleHeader.vue +17 -2
- package/template/headers/example-header/component/Account.vue +4 -4
- package/template/headers/example-header/component/Cart.vue +14 -33
- package/template/headers/example-header/settings/content.ts +1 -9
- package/template/headers/example-header/settings/design.ts +1 -23
- package/template/package.json +1 -1
- package/template/reference/sections/about-us/AboutUs.vue +73 -0
- package/template/reference/sections/about-us/assets/our_company_in_numbers.jpg +0 -0
- package/template/reference/sections/about-us/assets/our_company_in_numbers_preview.jpg +0 -0
- package/template/reference/sections/about-us/assets/our_team.jpg +0 -0
- package/template/reference/sections/about-us/assets/our_team_preview.jpg +0 -0
- package/template/reference/sections/about-us/client.ts +6 -0
- package/template/reference/sections/about-us/component/Image.vue +94 -0
- package/template/reference/sections/about-us/component/Stats.vue +155 -0
- package/template/reference/sections/about-us/component/Title.vue +32 -0
- package/template/reference/sections/about-us/server.ts +6 -0
- package/template/reference/sections/about-us/settings/content.ts +64 -0
- package/template/reference/sections/about-us/settings/design.ts +74 -0
- package/template/reference/sections/about-us/settings/layout.ts +12 -0
- package/template/reference/sections/about-us/settings/translations.ts +151 -0
- package/template/reference/sections/about-us/showcases/1.ts +155 -0
- package/template/reference/sections/about-us/showcases/2.ts +143 -0
- package/template/reference/sections/about-us/showcases/translations.ts +259 -0
- package/template/reference/sections/about-us/type.ts +5 -0
- package/template/reference/sections/about-us/util/visibility-provider.ts +27 -0
- package/template/reference/sections/intro-slider/IntroSlider.vue +77 -0
- package/template/reference/sections/intro-slider/assets/bike_1.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_1@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_2.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_2@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_3.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_3@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_4.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_4@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_5.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_5@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_6.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_6@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_1.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_1@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_2.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_2@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_3.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_3@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_5.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_5@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_6.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_6@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/custom_section_showcase_1_preview.png +0 -0
- package/template/reference/sections/intro-slider/assets/custom_section_showcase_2_preview.png +0 -0
- package/template/reference/sections/intro-slider/client.ts +5 -0
- package/template/reference/sections/intro-slider/component/Slider.vue +235 -0
- package/template/reference/sections/intro-slider/component/Title.vue +106 -0
- package/template/reference/sections/intro-slider/entity/color.ts +4 -0
- package/template/reference/sections/intro-slider/server.ts +5 -0
- package/template/reference/sections/intro-slider/settings/content.ts +43 -0
- package/template/reference/sections/intro-slider/settings/design.ts +88 -0
- package/template/reference/sections/intro-slider/settings/layout.ts +12 -0
- package/template/reference/sections/intro-slider/settings/translations.ts +53 -0
- package/template/reference/sections/intro-slider/showcases/1.ts +275 -0
- package/template/reference/sections/intro-slider/showcases/2.ts +271 -0
- package/template/reference/sections/intro-slider/showcases/translations.ts +88 -0
- package/template/reference/sections/intro-slider/type.ts +5 -0
- package/template/reference/sections/tag-lines/TagLines.vue +158 -0
- package/template/reference/sections/tag-lines/assets/explore_our_holiday_gift_guide.jpg +0 -0
- package/template/reference/sections/tag-lines/assets/fall_is_here.jpg +0 -0
- package/template/reference/sections/tag-lines/assets/fall_is_here_preview.jpg +0 -0
- package/template/reference/sections/tag-lines/assets/folding_bikes.jpg +0 -0
- package/template/reference/sections/tag-lines/assets/hybrid_bikes.jpg +0 -0
- package/template/reference/sections/tag-lines/assets/mountain_and_road_bikes.jpg +0 -0
- package/template/reference/sections/tag-lines/assets/shop_chelsea_boots.jpg +0 -0
- package/template/reference/sections/tag-lines/assets/sweater_weather.jpg +0 -0
- package/template/reference/sections/tag-lines/assets/what_we_sell.jpg +0 -0
- package/template/reference/sections/tag-lines/assets/what_we_sell_preview.jpg +0 -0
- package/template/reference/sections/tag-lines/client.ts +5 -0
- package/template/reference/sections/tag-lines/component/HighlightedText.vue +50 -0
- package/template/reference/sections/tag-lines/component/SectionImage.vue +78 -0
- package/template/reference/sections/tag-lines/component/Title.vue +51 -0
- package/template/reference/sections/tag-lines/composables/highlighted-text-image-list.ts +34 -0
- package/template/reference/sections/tag-lines/server.ts +5 -0
- package/template/reference/sections/tag-lines/settings/content.ts +37 -0
- package/template/reference/sections/tag-lines/settings/design.ts +81 -0
- package/template/reference/sections/tag-lines/settings/layout.ts +12 -0
- package/template/reference/sections/tag-lines/settings/translations.ts +61 -0
- package/template/reference/sections/tag-lines/showcases/1.ts +190 -0
- package/template/reference/sections/tag-lines/showcases/2.ts +190 -0
- package/template/reference/sections/tag-lines/showcases/translations.ts +49 -0
- package/template/reference/sections/tag-lines/type.ts +5 -0
- package/template/reference/shared/components/Button.vue +151 -0
- package/template/reference/shared/components/SectionWrapper.vue +26 -0
- package/template/reference/shared/components/Tagline.vue +45 -0
- package/template/reference/shared/utils/color.ts +16 -0
- package/template/reference/shared/utils/styles.ts +12 -0
- package/template/reference/templates/assets/reference_template_apparel_cover_image.jpg +0 -0
- package/template/reference/templates/assets/reference_template_bike_cover_image.jpg +0 -0
- package/template/reference/templates/reference-template-apparel.ts +44 -0
- package/template/reference/templates/reference-template-bike.ts +44 -0
- package/template/sections/example-section/ExampleSection.vue +21 -24
- package/template/sections/example-section/assets/arrow.svg +3 -0
- package/template/sections/example-section/assets/bike_accessories_high.jpg +0 -0
- package/template/sections/example-section/assets/bike_accessories_low.jpg +0 -0
- package/template/sections/example-section/assets/bike_new_arrivals_high.jpg +0 -0
- package/template/sections/example-section/assets/bike_new_arrivals_low.jpg +0 -0
- package/template/sections/example-section/assets/custom_section_showcase_3_preview.jpg +0 -0
- package/template/sections/example-section/assets/fixed_gears_high.jpg +0 -0
- package/template/sections/example-section/assets/fixed_gears_low.jpg +0 -0
- package/template/sections/example-section/assets/repair_service_high.jpg +0 -0
- package/template/sections/example-section/assets/repair_service_low.jpg +0 -0
- package/template/sections/example-section/component/button/Button.vue +87 -0
- package/template/sections/example-section/component/selectbox/Selectbox.vue +45 -0
- package/template/sections/example-section/component/toggle/Toggle.vue +110 -0
- package/template/sections/example-section/settings/content.ts +45 -0
- package/template/sections/example-section/settings/translations.ts +87 -7
- package/template/sections/example-section/showcases/1.ts +43 -0
- package/template/sections/example-section/showcases/2.ts +43 -0
- package/template/sections/example-section/showcases/3.ts +241 -0
- package/template/sections/example-section/showcases/translations.ts +205 -1
- package/template/shared/{LanguageSelector.vue → components/LanguageSelector.vue} +5 -5
- package/template/shared/components/SectionWrapper.vue +26 -0
- package/template/shared/utils.ts +28 -0
- package/template/templates/template.ts +2 -1
- package/types.d.ts +96 -70
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<h1 class="title">
|
|
3
|
+
{{ titleContent.value }}
|
|
4
|
+
</h1>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script setup lang="ts">
|
|
8
|
+
import { computed, CSSProperties } from 'vue';
|
|
9
|
+
import {
|
|
10
|
+
useInputboxElementContent,
|
|
11
|
+
useTextElementDesign,
|
|
12
|
+
} from '@lightspeed/crane';
|
|
13
|
+
import { Content, Design } from '../type.ts';
|
|
14
|
+
|
|
15
|
+
const titleContent = useInputboxElementContent<Content>('section_title');
|
|
16
|
+
const titleDesign = useTextElementDesign<Design>('section_title');
|
|
17
|
+
|
|
18
|
+
const titleStyle = computed<CSSProperties>(() => ({
|
|
19
|
+
fontSize: `${titleDesign.size}px`,
|
|
20
|
+
fontFamily: titleDesign.font,
|
|
21
|
+
color: (titleDesign.color as Color).hex,
|
|
22
|
+
fontStyle: titleDesign.italic ? 'italic' : 'normal',
|
|
23
|
+
fontWeigh: titleDesign.bold ? 'bold' : 'normal',
|
|
24
|
+
}));
|
|
25
|
+
</script>
|
|
26
|
+
|
|
27
|
+
<style lang="scss" scoped>
|
|
28
|
+
.title {
|
|
29
|
+
--font-size: v-bind(titleStyle.fontSize);
|
|
30
|
+
--font-family: v-bind(titleStyle.fontFamily);
|
|
31
|
+
--color: v-bind(titleStyle.color);
|
|
32
|
+
--font-style: v-bind(titleStyle.fontStyle);
|
|
33
|
+
--font-weight: v-bind(titleStyle.fontWeigh);
|
|
34
|
+
|
|
35
|
+
--font-size-multiplier: calc(2/3);
|
|
36
|
+
|
|
37
|
+
font-size: calc(var(--font-size) * var(--font-size-multiplier));
|
|
38
|
+
font-family: var(--font-family);
|
|
39
|
+
color: var(--color);
|
|
40
|
+
font-style: var(--font-style);
|
|
41
|
+
font-weight: var(--font-weight);
|
|
42
|
+
|
|
43
|
+
@media screen and (min-width: 700px) {
|
|
44
|
+
--font-size-multiplier: 0.75;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@media screen and (min-width: 1200px) {
|
|
48
|
+
--font-size-multiplier: 1;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
</style>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { computed } from 'vue';
|
|
2
|
+
import {
|
|
3
|
+
EditorTypes,
|
|
4
|
+
ImageContent,
|
|
5
|
+
TextAreaContent,
|
|
6
|
+
useDeckElementContent,
|
|
7
|
+
useTextElementDesign,
|
|
8
|
+
} from '@lightspeed/crane';
|
|
9
|
+
import { Content, Design } from '../type.ts';
|
|
10
|
+
|
|
11
|
+
export type Highlight = {
|
|
12
|
+
text?: TextAreaContent;
|
|
13
|
+
image?: ImageContent;
|
|
14
|
+
design: TextDesignData;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export function useHighlightedTextElementList() {
|
|
18
|
+
const design = computed<TextDesignData[]>(() => [
|
|
19
|
+
useTextElementDesign<Design>('highlighted_text_1') as TextDesignData,
|
|
20
|
+
useTextElementDesign<Design>('highlighted_text_2') as TextDesignData,
|
|
21
|
+
useTextElementDesign<Design>('highlighted_text_3') as TextDesignData,
|
|
22
|
+
]);
|
|
23
|
+
const content = useDeckElementContent<Content>('highlighted_text');
|
|
24
|
+
|
|
25
|
+
const highlightedTextElements = computed<Highlight[]>(() => content.cards?.map((card, index) => ({
|
|
26
|
+
text: content.getReactiveRef(card, EditorTypes.INPUTBOX, 'text') as unknown as TextAreaContent | undefined,
|
|
27
|
+
image: content.getReactiveRef(card, EditorTypes.IMAGE, 'image_content') as ImageContent,
|
|
28
|
+
design: design.value[index],
|
|
29
|
+
})) ?? []);
|
|
30
|
+
|
|
31
|
+
return {
|
|
32
|
+
highlightedTextElements,
|
|
33
|
+
};
|
|
34
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
section_tagline: {
|
|
3
|
+
type: 'INPUTBOX',
|
|
4
|
+
label: '$label.content.tagline.label',
|
|
5
|
+
placeholder: '$label.content.tagline.placeholder',
|
|
6
|
+
},
|
|
7
|
+
section_title: {
|
|
8
|
+
type: 'INPUTBOX',
|
|
9
|
+
label: '$label.content.section_title.label',
|
|
10
|
+
placeholder: '$label.content.section_title.placeholder',
|
|
11
|
+
},
|
|
12
|
+
highlighted_text: {
|
|
13
|
+
type: 'DECK',
|
|
14
|
+
label: '$label.content.highlighted_text_title.label',
|
|
15
|
+
addButtonLabel: '$label.content.deck.highlighted_text.add_button',
|
|
16
|
+
maxCards: 3,
|
|
17
|
+
cards: {
|
|
18
|
+
defaultCardContent: {
|
|
19
|
+
label: '$label.content.highlighted_text.label',
|
|
20
|
+
settings: {
|
|
21
|
+
text: {
|
|
22
|
+
type: 'INPUTBOX',
|
|
23
|
+
label: '$label.content.deck.highlighted_text.label',
|
|
24
|
+
},
|
|
25
|
+
image_content: {
|
|
26
|
+
type: 'IMAGE',
|
|
27
|
+
label: '$label.content.deck.highlighted_text_image_on_hover.label',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
section_image: {
|
|
34
|
+
type: 'IMAGE',
|
|
35
|
+
label: '$label.content.image_title.label',
|
|
36
|
+
},
|
|
37
|
+
} as const;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
background: {
|
|
3
|
+
type: 'BACKGROUND',
|
|
4
|
+
label: '$label.design.background.label',
|
|
5
|
+
colors: ['#FFFFFF', '#000000', '#F4EFE3', '#FFBF24', '#6281C5', '#C5629A', '#BAA33E', '#8A91D0', '#C3455C'],
|
|
6
|
+
defaults: {
|
|
7
|
+
style: 'COLOR',
|
|
8
|
+
color: '#FFFFFF',
|
|
9
|
+
},
|
|
10
|
+
},
|
|
11
|
+
section_tagline: {
|
|
12
|
+
type: 'TEXT',
|
|
13
|
+
label: '$label.design.tagline.label',
|
|
14
|
+
colors: ['#FFFFFF', '#000000', '#F4EFE3', '#FFBF24', '#6281C5', '#C5629A', '#BAA33E', '#8A91D0', '#C3455C'],
|
|
15
|
+
sizes: [12, 13, 14, 15, 16, 17, 18, 20],
|
|
16
|
+
defaults: {
|
|
17
|
+
font: 'noto_serif',
|
|
18
|
+
size: 16,
|
|
19
|
+
bold: true,
|
|
20
|
+
italic: false,
|
|
21
|
+
color: '#F4EFE3',
|
|
22
|
+
visible: true,
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
section_title: {
|
|
26
|
+
type: 'TEXT',
|
|
27
|
+
label: '$label.design.section_title.label',
|
|
28
|
+
colors: ['#FFFFFF', '#000000', '#F4EFE3', '#FFBF24', '#6281C5', '#C5629A', '#BAA33E', '#8A91D0', '#C3455C'],
|
|
29
|
+
sizes: [18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60],
|
|
30
|
+
defaults: {
|
|
31
|
+
font: 'noto_serif',
|
|
32
|
+
size: 48,
|
|
33
|
+
bold: true,
|
|
34
|
+
italic: false,
|
|
35
|
+
color: '#000000',
|
|
36
|
+
visible: true,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
highlighted_text_1: {
|
|
40
|
+
type: 'TEXT',
|
|
41
|
+
label: '$label.design.highlighted_text_1.label',
|
|
42
|
+
colors: ['#FFFFFF', '#000000', '#F4EFE3', '#FFBF24', '#6281C5', '#C5629A', '#BAA33E', '#8A91D0', '#C3455C'],
|
|
43
|
+
sizes: [18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60],
|
|
44
|
+
defaults: {
|
|
45
|
+
font: 'noto_serif',
|
|
46
|
+
size: 48,
|
|
47
|
+
bold: true,
|
|
48
|
+
italic: false,
|
|
49
|
+
color: '#FFBF24',
|
|
50
|
+
visible: true,
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
highlighted_text_2: {
|
|
54
|
+
type: 'TEXT',
|
|
55
|
+
label: '$label.design.highlighted_text_2.label',
|
|
56
|
+
colors: ['#FFFFFF', '#000000', '#F4EFE3', '#FFBF24', '#6281C5', '#C5629A', '#BAA33E', '#8A91D0', '#C3455C'],
|
|
57
|
+
sizes: [18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60],
|
|
58
|
+
defaults: {
|
|
59
|
+
font: 'noto_serif',
|
|
60
|
+
size: 48,
|
|
61
|
+
bold: true,
|
|
62
|
+
italic: false,
|
|
63
|
+
color: '#6281C5',
|
|
64
|
+
visible: true,
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
highlighted_text_3: {
|
|
68
|
+
type: 'TEXT',
|
|
69
|
+
label: '$label.design.highlighted_text_3.label',
|
|
70
|
+
colors: ['#FFFFFF', '#000000', '#F4EFE3', '#FFBF24', '#6281C5', '#C5629A', '#BAA33E', '#8A91D0', '#C3455C'],
|
|
71
|
+
sizes: [18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60],
|
|
72
|
+
defaults: {
|
|
73
|
+
font: 'noto_serif',
|
|
74
|
+
size: 48,
|
|
75
|
+
bold: true,
|
|
76
|
+
italic: false,
|
|
77
|
+
color: '#C5629A',
|
|
78
|
+
visible: true,
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
} as const;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
en: {
|
|
3
|
+
'$label.content.tagline.label': 'Tagline',
|
|
4
|
+
'$label.content.section_title.label': 'Title',
|
|
5
|
+
'$label.content.highlighted_text_title.label': 'Highlighted text',
|
|
6
|
+
'$label.content.image_title.label': 'Section Image',
|
|
7
|
+
'$label.content.highlighted_text.label': 'Highlighted text',
|
|
8
|
+
'$label.content.deck.highlighted_text.title': 'Highlighted text',
|
|
9
|
+
'$label.content.deck.highlighted_text.label': 'Text',
|
|
10
|
+
'$label.content.deck.highlighted_text_image_on_hover.label': 'Image on hover',
|
|
11
|
+
'$label.content.deck.highlighted_text.add_button': 'Add new highlighted text',
|
|
12
|
+
|
|
13
|
+
'$label.design.background.label': 'Background color',
|
|
14
|
+
'$label.design.background.placeholder': 'Background color',
|
|
15
|
+
'$label.design.tagline.label': 'Tagline',
|
|
16
|
+
'$label.design.section_title.label': 'Title',
|
|
17
|
+
'$label.design.highlighted_text_1.label': 'Highlighted text 1',
|
|
18
|
+
'$label.design.highlighted_text_2.label': 'Highlighted text 2',
|
|
19
|
+
'$label.design.highlighted_text_3.label': 'Highlighted text 3',
|
|
20
|
+
},
|
|
21
|
+
|
|
22
|
+
nl: {
|
|
23
|
+
'$label.content.tagline.label': 'Slogan',
|
|
24
|
+
'$label.content.section_title.label': 'Titel',
|
|
25
|
+
'$label.content.highlighted_text_title.label': 'Gemarkeerde tekst',
|
|
26
|
+
'$label.content.image_title.label': 'Sectie afbeelding',
|
|
27
|
+
'$label.content.highlighted_text.label': 'Gemarkeerde tekst',
|
|
28
|
+
'$label.content.deck.highlighted_text.title': 'Gemarkeerde tekst',
|
|
29
|
+
'$label.content.deck.highlighted_text.label': 'Tekst',
|
|
30
|
+
'$label.content.deck.highlighted_text_image_on_hover.label': 'Afbeelding bij hover',
|
|
31
|
+
'$label.content.deck.highlighted_text.add_button': 'Nieuwe gemarkeerde tekst toevoegen',
|
|
32
|
+
|
|
33
|
+
'$label.design.background.label': 'Achtergrondkleur',
|
|
34
|
+
'$label.design.background.placeholder': 'Achtergrondkleur',
|
|
35
|
+
'$label.design.tagline.label': 'Slogan',
|
|
36
|
+
'$label.design.section_title.label': 'Titel',
|
|
37
|
+
'$label.design.highlighted_text_1.label': 'Gemarkeerde tekst 1',
|
|
38
|
+
'$label.design.highlighted_text_2.label': 'Gemarkeerde tekst 2',
|
|
39
|
+
'$label.design.highlighted_text_3.label': 'Gemarkeerde tekst 3',
|
|
40
|
+
},
|
|
41
|
+
|
|
42
|
+
fr: {
|
|
43
|
+
'$label.content.tagline.label': 'Slogan',
|
|
44
|
+
'$label.content.section_title.label': 'Titre',
|
|
45
|
+
'$label.content.highlighted_text_title.label': 'Texte en surbrillance',
|
|
46
|
+
'$label.content.image_title.label': 'Image de la section',
|
|
47
|
+
'$label.content.highlighted_text.label': 'Texte en surbrillance',
|
|
48
|
+
'$label.content.deck.highlighted_text.title': 'Texte en surbrillance',
|
|
49
|
+
'$label.content.deck.highlighted_text.label': 'Texte',
|
|
50
|
+
'$label.content.deck.highlighted_text_image_on_hover.label': 'Image au survol',
|
|
51
|
+
'$label.content.deck.highlighted_text.add_button': 'Ajouter un nouveau texte en surbrillance',
|
|
52
|
+
|
|
53
|
+
'$label.design.background.label': 'Couleur de fond',
|
|
54
|
+
'$label.design.background.placeholder': 'Couleur de fond',
|
|
55
|
+
'$label.design.tagline.label': 'Slogan',
|
|
56
|
+
'$label.design.section_title.label': 'Titre',
|
|
57
|
+
'$label.design.highlighted_text_1.label': 'Texte en surbrillance 1',
|
|
58
|
+
'$label.design.highlighted_text_2.label': 'Texte en surbrillance 2',
|
|
59
|
+
'$label.design.highlighted_text_3.label': 'Texte en surbrillance 3',
|
|
60
|
+
},
|
|
61
|
+
} as const;
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
showcaseId: '1',
|
|
3
|
+
layoutId: 'Image_With_Border_Radius',
|
|
4
|
+
previewImage: {
|
|
5
|
+
set: {
|
|
6
|
+
ORIGINAL: {
|
|
7
|
+
url: 'fall_is_here_preview.jpg',
|
|
8
|
+
},
|
|
9
|
+
},
|
|
10
|
+
},
|
|
11
|
+
blockName: '$label.showcase_1.blockName',
|
|
12
|
+
content: {
|
|
13
|
+
section_tagline: {
|
|
14
|
+
type: 'INPUTBOX',
|
|
15
|
+
text: '$label.showcase_1.section_tagline.text',
|
|
16
|
+
},
|
|
17
|
+
section_title: {
|
|
18
|
+
type: 'INPUTBOX',
|
|
19
|
+
text: '$label.showcase_1.section_title.text',
|
|
20
|
+
},
|
|
21
|
+
highlighted_text: {
|
|
22
|
+
type: 'DECK',
|
|
23
|
+
cards: [
|
|
24
|
+
{
|
|
25
|
+
settings: {
|
|
26
|
+
text: {
|
|
27
|
+
type: 'INPUTBOX',
|
|
28
|
+
text: '$label.showcase_1.highlighted_text_1.text',
|
|
29
|
+
},
|
|
30
|
+
image_content: {
|
|
31
|
+
type: 'IMAGE',
|
|
32
|
+
imageData: {
|
|
33
|
+
set: {
|
|
34
|
+
LOW_RES: {
|
|
35
|
+
url: 'sweater_weather.jpg',
|
|
36
|
+
},
|
|
37
|
+
MOBILE_WEBP_LOW_RES: {
|
|
38
|
+
url: 'sweater_weather.jpg',
|
|
39
|
+
},
|
|
40
|
+
MOBILE_WEBP_HI_RES: {
|
|
41
|
+
url: 'sweater_weather.jpg',
|
|
42
|
+
},
|
|
43
|
+
WEBP_LOW_RES: {
|
|
44
|
+
url: 'sweater_weather.jpg',
|
|
45
|
+
},
|
|
46
|
+
WEBP_HI_2X_RES: {
|
|
47
|
+
url: 'sweater_weather.jpg',
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
borderInfo: {},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
settings: {
|
|
57
|
+
text: {
|
|
58
|
+
type: 'INPUTBOX',
|
|
59
|
+
text: '$label.showcase_1.highlighted_text_2.text',
|
|
60
|
+
},
|
|
61
|
+
image_content: {
|
|
62
|
+
type: 'IMAGE',
|
|
63
|
+
imageData: {
|
|
64
|
+
set: {
|
|
65
|
+
LOW_RES: {
|
|
66
|
+
url: 'shop_chelsea_boots.jpg',
|
|
67
|
+
},
|
|
68
|
+
MOBILE_WEBP_LOW_RES: {
|
|
69
|
+
url: 'shop_chelsea_boots.jpg',
|
|
70
|
+
},
|
|
71
|
+
MOBILE_WEBP_HI_RES: {
|
|
72
|
+
url: 'shop_chelsea_boots.jpg',
|
|
73
|
+
},
|
|
74
|
+
WEBP_LOW_RES: {
|
|
75
|
+
url: 'shop_chelsea_boots.jpg',
|
|
76
|
+
},
|
|
77
|
+
WEBP_HI_2X_RES: {
|
|
78
|
+
url: 'shop_chelsea_boots.jpg',
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
borderInfo: {},
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
settings: {
|
|
88
|
+
text: {
|
|
89
|
+
type: 'INPUTBOX',
|
|
90
|
+
text: '$label.showcase_1.highlighted_text_3.text',
|
|
91
|
+
},
|
|
92
|
+
image_content: {
|
|
93
|
+
type: 'IMAGE',
|
|
94
|
+
imageData: {
|
|
95
|
+
set: {
|
|
96
|
+
LOW_RES: {
|
|
97
|
+
url: 'explore_our_holiday_gift_guide.jpg',
|
|
98
|
+
},
|
|
99
|
+
MOBILE_WEBP_LOW_RES: {
|
|
100
|
+
url: 'explore_our_holiday_gift_guide.jpg',
|
|
101
|
+
},
|
|
102
|
+
MOBILE_WEBP_HI_RES: {
|
|
103
|
+
url: 'explore_our_holiday_gift_guide.jpg',
|
|
104
|
+
},
|
|
105
|
+
WEBP_LOW_RES: {
|
|
106
|
+
url: 'explore_our_holiday_gift_guide.jpg',
|
|
107
|
+
},
|
|
108
|
+
WEBP_HI_2X_RES: {
|
|
109
|
+
url: 'explore_our_holiday_gift_guide.jpg',
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
borderInfo: {},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
},
|
|
119
|
+
section_image: {
|
|
120
|
+
type: 'IMAGE',
|
|
121
|
+
imageData: {
|
|
122
|
+
set: {
|
|
123
|
+
LOW_RES: {
|
|
124
|
+
url: 'fall_is_here.jpg',
|
|
125
|
+
},
|
|
126
|
+
MOBILE_WEBP_LOW_RES: {
|
|
127
|
+
url: 'fall_is_here.jpg',
|
|
128
|
+
},
|
|
129
|
+
MOBILE_WEBP_HI_RES: {
|
|
130
|
+
url: 'fall_is_here.jpg',
|
|
131
|
+
},
|
|
132
|
+
WEBP_LOW_RES: {
|
|
133
|
+
url: 'fall_is_here.jpg',
|
|
134
|
+
},
|
|
135
|
+
WEBP_HI_2X_RES: {
|
|
136
|
+
url: 'fall_is_here.jpg',
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
borderInfo: {},
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
design: {
|
|
144
|
+
background: {
|
|
145
|
+
type: 'BACKGROUND',
|
|
146
|
+
style: 'COLOR',
|
|
147
|
+
color: '#FFFFFF',
|
|
148
|
+
},
|
|
149
|
+
section_tagline: {
|
|
150
|
+
type: 'TEXT',
|
|
151
|
+
font: 'noto_serif',
|
|
152
|
+
size: 16,
|
|
153
|
+
bold: true,
|
|
154
|
+
italic: false,
|
|
155
|
+
color: '#F4EFE3',
|
|
156
|
+
},
|
|
157
|
+
section_title: {
|
|
158
|
+
type: 'TEXT',
|
|
159
|
+
font: 'noto_serif',
|
|
160
|
+
size: 48,
|
|
161
|
+
bold: true,
|
|
162
|
+
italic: false,
|
|
163
|
+
color: '#000000',
|
|
164
|
+
},
|
|
165
|
+
highlighted_text_1: {
|
|
166
|
+
type: 'TEXT',
|
|
167
|
+
font: 'noto_serif',
|
|
168
|
+
size: 48,
|
|
169
|
+
bold: true,
|
|
170
|
+
italic: false,
|
|
171
|
+
color: '#FFBF24',
|
|
172
|
+
},
|
|
173
|
+
highlighted_text_2: {
|
|
174
|
+
type: 'TEXT',
|
|
175
|
+
font: 'noto_serif',
|
|
176
|
+
size: 48,
|
|
177
|
+
bold: true,
|
|
178
|
+
italic: false,
|
|
179
|
+
color: '#6281C5',
|
|
180
|
+
},
|
|
181
|
+
highlighted_text_3: {
|
|
182
|
+
type: 'TEXT',
|
|
183
|
+
font: 'noto_serif',
|
|
184
|
+
size: 48,
|
|
185
|
+
bold: true,
|
|
186
|
+
italic: false,
|
|
187
|
+
color: '#C5629A',
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
} as const;
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
showcaseId: '2',
|
|
3
|
+
layoutId: 'Image_Without_Border_Radius',
|
|
4
|
+
previewImage: {
|
|
5
|
+
set: {
|
|
6
|
+
ORIGINAL: {
|
|
7
|
+
url: 'what_we_sell_preview.jpg',
|
|
8
|
+
},
|
|
9
|
+
},
|
|
10
|
+
},
|
|
11
|
+
blockName: '$label.showcase_2.blockName',
|
|
12
|
+
content: {
|
|
13
|
+
section_tagline: {
|
|
14
|
+
type: 'INPUTBOX',
|
|
15
|
+
text: '$label.showcase_2.section_tagline.text',
|
|
16
|
+
},
|
|
17
|
+
section_title: {
|
|
18
|
+
type: 'INPUTBOX',
|
|
19
|
+
text: '$label.showcase_2.section_title.text',
|
|
20
|
+
},
|
|
21
|
+
highlighted_text: {
|
|
22
|
+
type: 'DECK',
|
|
23
|
+
cards: [
|
|
24
|
+
{
|
|
25
|
+
settings: {
|
|
26
|
+
text: {
|
|
27
|
+
type: 'INPUTBOX',
|
|
28
|
+
text: '$label.showcase_2.highlighted_text_1.text',
|
|
29
|
+
},
|
|
30
|
+
image_content: {
|
|
31
|
+
type: 'IMAGE',
|
|
32
|
+
imageData: {
|
|
33
|
+
set: {
|
|
34
|
+
LOW_RES: {
|
|
35
|
+
url: 'mountain_and_road_bikes.jpg',
|
|
36
|
+
},
|
|
37
|
+
MOBILE_WEBP_LOW_RES: {
|
|
38
|
+
url: 'mountain_and_road_bikes.jpg',
|
|
39
|
+
},
|
|
40
|
+
MOBILE_WEBP_HI_RES: {
|
|
41
|
+
url: 'mountain_and_road_bikes.jpg',
|
|
42
|
+
},
|
|
43
|
+
WEBP_LOW_RES: {
|
|
44
|
+
url: 'mountain_and_road_bikes.jpg',
|
|
45
|
+
},
|
|
46
|
+
WEBP_HI_2X_RES: {
|
|
47
|
+
url: 'mountain_and_road_bikes.jpg',
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
borderInfo: {},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
settings: {
|
|
57
|
+
text: {
|
|
58
|
+
type: 'INPUTBOX',
|
|
59
|
+
text: '$label.showcase_2.highlighted_text_2.text',
|
|
60
|
+
},
|
|
61
|
+
image_content: {
|
|
62
|
+
type: 'IMAGE',
|
|
63
|
+
imageData: {
|
|
64
|
+
set: {
|
|
65
|
+
LOW_RES: {
|
|
66
|
+
url: 'hybrid_bikes.jpg',
|
|
67
|
+
},
|
|
68
|
+
MOBILE_WEBP_LOW_RES: {
|
|
69
|
+
url: 'hybrid_bikes.jpg',
|
|
70
|
+
},
|
|
71
|
+
MOBILE_WEBP_HI_RES: {
|
|
72
|
+
url: 'hybrid_bikes.jpg',
|
|
73
|
+
},
|
|
74
|
+
WEBP_LOW_RES: {
|
|
75
|
+
url: 'hybrid_bikes.jpg',
|
|
76
|
+
},
|
|
77
|
+
WEBP_HI_2X_RES: {
|
|
78
|
+
url: 'hybrid_bikes.jpg',
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
borderInfo: {},
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
settings: {
|
|
88
|
+
text: {
|
|
89
|
+
type: 'INPUTBOX',
|
|
90
|
+
text: '$label.showcase_2.highlighted_text_3.text',
|
|
91
|
+
},
|
|
92
|
+
image_content: {
|
|
93
|
+
type: 'IMAGE',
|
|
94
|
+
imageData: {
|
|
95
|
+
set: {
|
|
96
|
+
LOW_RES: {
|
|
97
|
+
url: 'folding_bikes.jpg',
|
|
98
|
+
},
|
|
99
|
+
MOBILE_WEBP_LOW_RES: {
|
|
100
|
+
url: 'folding_bikes.jpg',
|
|
101
|
+
},
|
|
102
|
+
MOBILE_WEBP_HI_RES: {
|
|
103
|
+
url: 'folding_bikes.jpg',
|
|
104
|
+
},
|
|
105
|
+
WEBP_LOW_RES: {
|
|
106
|
+
url: 'folding_bikes.jpg',
|
|
107
|
+
},
|
|
108
|
+
WEBP_HI_2X_RES: {
|
|
109
|
+
url: 'folding_bikes.jpg',
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
borderInfo: {},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
},
|
|
119
|
+
section_image: {
|
|
120
|
+
type: 'IMAGE',
|
|
121
|
+
imageData: {
|
|
122
|
+
set: {
|
|
123
|
+
LOW_RES: {
|
|
124
|
+
url: 'what_we_sell.jpg',
|
|
125
|
+
},
|
|
126
|
+
MOBILE_WEBP_LOW_RES: {
|
|
127
|
+
url: 'what_we_sell.jpg',
|
|
128
|
+
},
|
|
129
|
+
MOBILE_WEBP_HI_RES: {
|
|
130
|
+
url: 'what_we_sell.jpg',
|
|
131
|
+
},
|
|
132
|
+
WEBP_LOW_RES: {
|
|
133
|
+
url: 'what_we_sell.jpg',
|
|
134
|
+
},
|
|
135
|
+
WEBP_HI_2X_RES: {
|
|
136
|
+
url: 'what_we_sell.jpg',
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
borderInfo: {},
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
design: {
|
|
144
|
+
background: {
|
|
145
|
+
type: 'BACKGROUND',
|
|
146
|
+
style: 'GRADIENT',
|
|
147
|
+
color: ['#131313', '#292929'],
|
|
148
|
+
},
|
|
149
|
+
section_tagline: {
|
|
150
|
+
type: 'TEXT',
|
|
151
|
+
font: 'pt_mono',
|
|
152
|
+
size: 16,
|
|
153
|
+
bold: true,
|
|
154
|
+
italic: false,
|
|
155
|
+
color: '#F4EFE3',
|
|
156
|
+
},
|
|
157
|
+
section_title: {
|
|
158
|
+
type: 'TEXT',
|
|
159
|
+
font: 'pt_mono',
|
|
160
|
+
size: 48,
|
|
161
|
+
bold: true,
|
|
162
|
+
italic: false,
|
|
163
|
+
color: '#FFFFFF',
|
|
164
|
+
},
|
|
165
|
+
highlighted_text_1: {
|
|
166
|
+
type: 'TEXT',
|
|
167
|
+
font: 'pt_mono',
|
|
168
|
+
size: 48,
|
|
169
|
+
bold: true,
|
|
170
|
+
italic: false,
|
|
171
|
+
color: '#BAA33E',
|
|
172
|
+
},
|
|
173
|
+
highlighted_text_2: {
|
|
174
|
+
type: 'TEXT',
|
|
175
|
+
font: 'pt_mono',
|
|
176
|
+
size: 48,
|
|
177
|
+
bold: true,
|
|
178
|
+
italic: false,
|
|
179
|
+
color: '#8A91D0',
|
|
180
|
+
},
|
|
181
|
+
highlighted_text_3: {
|
|
182
|
+
type: 'TEXT',
|
|
183
|
+
font: 'pt_mono',
|
|
184
|
+
size: 48,
|
|
185
|
+
bold: true,
|
|
186
|
+
italic: false,
|
|
187
|
+
color: '#C3455C',
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
} as const;
|