127 lines
2.4 KiB
YAML
Executable File
127 lines
2.4 KiB
YAML
Executable File
name: vitec/intro-paragraph
|
|
group: vitec_custom_components
|
|
prefixFields: true
|
|
prefixType: vendor
|
|
|
|
fields:
|
|
- identifier: header_section
|
|
type: Palette
|
|
label: Header
|
|
fields:
|
|
- identifier: header
|
|
useExistingField: true
|
|
required: true
|
|
- type: Linebreak
|
|
- identifier: header_layout
|
|
useExistingField: true
|
|
- identifier: header_position
|
|
useExistingField: true
|
|
- identifier: date
|
|
useExistingField: true
|
|
- type: Linebreak
|
|
- identifier: header_link
|
|
useExistingField: true
|
|
- type: Linebreak
|
|
- identifier: subheader
|
|
useExistingField: true
|
|
|
|
|
|
|
|
|
|
|
|
- identifier: bodytext
|
|
useExistingField: true
|
|
enableRichtext: true
|
|
|
|
- identifier: button_text
|
|
type: Text
|
|
max: 40
|
|
|
|
- identifier: button_link
|
|
type: Link
|
|
allowedTypes:
|
|
- page
|
|
- url
|
|
- file
|
|
- email
|
|
|
|
- identifier: Vitec/ButtonStyle
|
|
type: Basic
|
|
|
|
# --- Image ---
|
|
- identifier: intro_image
|
|
type: File
|
|
minitems: 0
|
|
maxitems: 1
|
|
allowed: common-image-types
|
|
extendedPalette: true
|
|
|
|
- identifier: intro_image_alignment
|
|
type: Select
|
|
renderType: selectSingle
|
|
default: center
|
|
items:
|
|
- label: Left
|
|
value: left
|
|
- label: Center
|
|
value: center
|
|
- label: Right
|
|
value: right
|
|
- label: Fullwidth
|
|
value: fullwidth
|
|
|
|
# --- Video ---
|
|
- identifier: intro_video
|
|
type: File
|
|
minitems: 0
|
|
maxitems: 1
|
|
allowed: mp4,webm,ogv,mov,m4v
|
|
|
|
- identifier: intro_video_alignment
|
|
type: Select
|
|
renderType: selectSingle
|
|
default: center
|
|
items:
|
|
- label: Left
|
|
value: left
|
|
- label: Center
|
|
value: center
|
|
- label: Right
|
|
value: right
|
|
- label: Fullwidth
|
|
value: fullwidth
|
|
|
|
- identifier: intro_video_autoplay
|
|
type: Checkbox
|
|
default: 0
|
|
|
|
- identifier: intro_video_loop
|
|
type: Checkbox
|
|
default: 0
|
|
|
|
- identifier: intro_video_muted
|
|
type: Checkbox
|
|
default: 1
|
|
|
|
- identifier: intro_layout_variant
|
|
type: Select
|
|
renderType: selectSingle
|
|
default: variant_1
|
|
items:
|
|
- label: Variant 1
|
|
value: variant_1
|
|
- label: Variant 2
|
|
value: variant_2
|
|
- label: Variant 3
|
|
value: variant_3
|
|
- label: Variant 4
|
|
value: variant_4
|
|
|
|
- identifier: fullwidth
|
|
type: Checkbox
|
|
default: 0
|
|
|
|
- identifier: debug
|
|
type: Checkbox
|
|
default: 0
|