Files
VITEC-website/packages/vitec/ContentBlocks/ContentElements/hero-section/config.yaml
khaccount eae40f4286 Success-story migration + new plugins + JSON/UX polish
- Success Stories: full migration from old site (48/48, audited),
  markets n:n, quotation content block, columns content block,
  pretty SEO detail URLs via SuccessStoryPathRewrite middleware,
  list/detail split (list page 4 / story page), detailUrl/backUrl
- New plugins: VITEC Locations (grid/list/map + RTE map text),
  VITEC Customer Logos (color/bw logic, only-show-selected),
  VITEC Card (one plugin for product/story/market/solution
  with reloading FlexForm + custom backend preview renderer)
- Eventlist: layout dropdown (list/grid/teaserbar) in settings
- Hero section CB: Images/Video tabs, background video + overlay
- Product JSON: full category rootline (parents), fixed missing
  ConnectionPool import (all-products crash), category tree map
- Backend preview CSS: container-query responsive (narrow columns)
- Docs: ISO architecture spec, root + extension READMEs

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-24 09:53:33 +02:00

174 lines
3.9 KiB
YAML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: vitec/herosection
group: vitec_custom_components
prefixFields: true
prefixType: vendor
fields:
# ──────────────────────────────────────────────────────────────────────
- identifier: tab_content
type: Tab
label: Content
- identifier: eyebrow
type: Text
max: 50
- 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: cta
type: Link
allowedTypes:
- page
- url
- file
- email
- identifier: cta_label
type: Text
default: 'Learn more'
max: 30
- identifier: Vitec/ButtonStyle
type: Basic
- identifier: hero_layout_variant
type: Select
renderType: selectSingle
default: fullscreen
items:
- label: Fullscreen
value: fullscreen
- label: Medium
value: md
- label: Small
value: sm
- label: Extra Small
value: xs
- identifier: show_logo_wall
type: Checkbox
default: 0
- identifier: debug
type: Checkbox
default: 0
# ──────────────────────────────────────────────────────────────────────
- identifier: tab_images
type: Tab
label: Images
- identifier: hero_bgimage
type: File
minitems: 0
maxitems: 1
allowed: common-image-types
extendedPalette: true
- identifier: hero_image
type: File
minitems: 0
maxitems: 1
allowed: common-image-types
extendedPalette: true
- identifier: hero_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
# ──────────────────────────────────────────────────────────────────────
- identifier: tab_video
type: Tab
label: Video
- identifier: hero_video
type: File
minitems: 0
maxitems: 1
allowed: mp4,webm,ogv,mov,m4v
- identifier: hero_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: hero_video_autoplay
type: Checkbox
default: 0
- identifier: hero_video_loop
type: Checkbox
default: 0
- identifier: hero_video_muted
type: Checkbox
default: 1
# --- Background video with overlay layer ---
- identifier: hero_bgvideo
type: File
label: Background Video
description: 'Fullscreen background video behind the hero content.'
minitems: 0
maxitems: 1
allowed: mp4,webm,ogv,mov,m4v
- identifier: hero_overlay_color
type: Color
label: Overlay Color
description: 'Overlay layer on top of the background video/image.'
- identifier: hero_overlay_opacity
type: Number
label: 'Overlay Opacity (01)'
format: decimal
default: 0.4
range:
lower: 0
upper: 1
slider:
step: 0.05
width: 200