|
| 1 | +{ |
| 2 | + "version": 1, |
| 3 | + "component": "ImageCtaRow", |
| 4 | + "slug": "image-cta-row", |
| 5 | + "output": "artifacts/image-cta-row", |
| 6 | + "confluence": { |
| 7 | + "url": "https://verndale.atlassian.net/wiki/spaces/CN/pages/6727237711", |
| 8 | + "pageId": "6727237711" |
| 9 | + }, |
| 10 | + "templates": [ |
| 11 | + { |
| 12 | + "role": "datasource", |
| 13 | + "parentPath": "/sitecore/templates/Project/Training App Router/Hackathon", |
| 14 | + "name": "Image CTA Row", |
| 15 | + "sections": [ |
| 16 | + { |
| 17 | + "name": "Content", |
| 18 | + "fields": [ |
| 19 | + { |
| 20 | + "name": "imageCtaRowHeading", |
| 21 | + "title": "Image CTA Row Heading", |
| 22 | + "sitecoreType": "Single-Line Text", |
| 23 | + "required": true, |
| 24 | + "helpText": "Required. Component must not render if empty." |
| 25 | + }, |
| 26 | + { |
| 27 | + "name": "imageCtaRowBodyText", |
| 28 | + "title": "Image CTA Row Body Text", |
| 29 | + "sitecoreType": "Multi-Line Text", |
| 30 | + "helpText": "Optional supporting copy. Omit when empty." |
| 31 | + }, |
| 32 | + { |
| 33 | + "name": "primaryLink", |
| 34 | + "title": "Primary Link", |
| 35 | + "sitecoreType": "General Link", |
| 36 | + "required": true, |
| 37 | + "helpText": "Required. Provides both CTA destination and visible button label." |
| 38 | + }, |
| 39 | + { |
| 40 | + "name": "openInModal", |
| 41 | + "title": "Open In Modal", |
| 42 | + "sitecoreType": "Checkbox", |
| 43 | + "helpText": "Default unchecked. Controls CTA behavior only." |
| 44 | + }, |
| 45 | + { |
| 46 | + "name": "imageCtaRowImage", |
| 47 | + "title": "Image CTA Row Image", |
| 48 | + "sitecoreType": "Image", |
| 49 | + "required": true, |
| 50 | + "helpText": "Required. Same asset used across breakpoints. Alt text must be authored on the selected image." |
| 51 | + }, |
| 52 | + { |
| 53 | + "name": "theme", |
| 54 | + "title": "Theme", |
| 55 | + "sitecoreType": "Droplist", |
| 56 | + "required": true, |
| 57 | + "defaultValue": "light", |
| 58 | + "optionSource": { |
| 59 | + "searchRoot": "/sitecore/content/Training App Router", |
| 60 | + "itemTemplate": "Option", |
| 61 | + "valueField": "value", |
| 62 | + "options": [ |
| 63 | + { "name": "light", "displayName": "Light", "value": "light" }, |
| 64 | + { "name": "dark", "displayName": "Dark", "value": "dark" } |
| 65 | + ], |
| 66 | + "fallback": { |
| 67 | + "path": "/sitecore/content/Training App Router/Basic Site/Data/Theme" |
| 68 | + } |
| 69 | + }, |
| 70 | + "helpText": "Default light. Values should be light=Light and dark=Dark." |
| 71 | + }, |
| 72 | + { |
| 73 | + "name": "fullBleedIllustration", |
| 74 | + "title": "Full-bleed Illustration", |
| 75 | + "sitecoreType": "Checkbox", |
| 76 | + "helpText": "Default unchecked. Desktop-only presentation flag." |
| 77 | + } |
| 78 | + ] |
| 79 | + } |
| 80 | + ] |
| 81 | + }, |
| 82 | + { |
| 83 | + "parentPath": "/sitecore/templates/Project/Training App Router/Hackathon", |
| 84 | + "name": "Option", |
| 85 | + "sections": [ |
| 86 | + { |
| 87 | + "name": "Data", |
| 88 | + "fields": [ |
| 89 | + { |
| 90 | + "name": "value", |
| 91 | + "title": "Value", |
| 92 | + "sitecoreType": "Single-Line Text" |
| 93 | + } |
| 94 | + ] |
| 95 | + } |
| 96 | + ] |
| 97 | + } |
| 98 | + ], |
| 99 | + "rendering": { |
| 100 | + "name": "Image CTA Row", |
| 101 | + "componentName": "ImageCtaRow", |
| 102 | + "datasourceTemplate": "Image CTA Row" |
| 103 | + }, |
| 104 | + "sitecorePaths": { |
| 105 | + "renderingRoot": "/sitecore/layout/Renderings/Project/Training App Router" |
| 106 | + } |
| 107 | +} |
0 commit comments