| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/interview-block", |
| 5 |
"title": "Interview Q&A", |
| 6 |
"category": "bkbg-blog", |
| 7 |
"icon": "format-chat", |
| 8 |
"description": "Magazine-style interview Q&A with styled questions and answers, speaker info, and multiple visual styles.", |
| 9 |
"keywords": [ |
| 10 |
"interview", |
| 11 |
"qa", |
| 12 |
"question", |
| 13 |
"answer", |
| 14 |
"quote", |
| 15 |
"conversation" |
| 16 |
], |
| 17 |
"textdomain": "blockenberg", |
| 18 |
"editorScript": "bkbg-interview-block-editor", |
| 19 |
"style": "bkbg-interview-block-style", |
| 20 |
"viewScript": "bkbg-interview-block-frontend", |
| 21 |
"attributes": { |
| 22 |
"items": { |
| 23 |
"type": "array", |
| 24 |
"default": [ |
| 25 |
{ |
| 26 |
"question": "What inspired you to start this company?", |
| 27 |
"answer": "It started with a simple problem we faced personally. We couldn't find a tool that did exactly what we needed, so we built it ourselves — and discovered many others had the same frustration." |
| 28 |
}, |
| 29 |
{ |
| 30 |
"question": "How do you stay ahead of the competition?", |
| 31 |
"answer": "We obsess over our customers. Every feature we ship comes directly from real user pain points. We'd rather do fewer things exceptionally well than many things mediocrely." |
| 32 |
}, |
| 33 |
{ |
| 34 |
"question": "What does the future look like for your industry?", |
| 35 |
"answer": "We're at an inflection point. The next few years will separate the companies that truly understand their users from those that simply follow trends." |
| 36 |
} |
| 37 |
] |
| 38 |
}, |
| 39 |
"intervieweeName": { |
| 40 |
"type": "string", |
| 41 |
"default": "Jane Smith" |
| 42 |
}, |
| 43 |
"intervieweeRole": { |
| 44 |
"type": "string", |
| 45 |
"default": "CEO & Co-Founder" |
| 46 |
}, |
| 47 |
"intervieweeAvatarUrl": { |
| 48 |
"type": "string", |
| 49 |
"default": "" |
| 50 |
}, |
| 51 |
"intervieweeAvatarId": { |
| 52 |
"type": "number", |
| 53 |
"default": 0 |
| 54 |
}, |
| 55 |
"interviewerName": { |
| 56 |
"type": "string", |
| 57 |
"default": "" |
| 58 |
}, |
| 59 |
"showSpeakerHeader": { |
| 60 |
"type": "boolean", |
| 61 |
"default": true |
| 62 |
}, |
| 63 |
"layout": { |
| 64 |
"type": "string", |
| 65 |
"default": "classic" |
| 66 |
}, |
| 67 |
"questionPrefix": { |
| 68 |
"type": "string", |
| 69 |
"default": "Q" |
| 70 |
}, |
| 71 |
"answerPrefix": { |
| 72 |
"type": "string", |
| 73 |
"default": "A" |
| 74 |
}, |
| 75 |
"showPrefixLabel": { |
| 76 |
"type": "boolean", |
| 77 |
"default": true |
| 78 |
}, |
| 79 |
"showDivider": { |
| 80 |
"type": "boolean", |
| 81 |
"default": true |
| 82 |
}, |
| 83 |
"questionColor": { |
| 84 |
"type": "string", |
| 85 |
"default": "#111827" |
| 86 |
}, |
| 87 |
"answerColor": { |
| 88 |
"type": "string", |
| 89 |
"default": "#374151" |
| 90 |
}, |
| 91 |
"prefixColor": { |
| 92 |
"type": "string", |
| 93 |
"default": "#ffffff" |
| 94 |
}, |
| 95 |
"prefixBg": { |
| 96 |
"type": "string", |
| 97 |
"default": "#7c3aed" |
| 98 |
}, |
| 99 |
"accentColor": { |
| 100 |
"type": "string", |
| 101 |
"default": "#7c3aed" |
| 102 |
}, |
| 103 |
"dividerColor": { |
| 104 |
"type": "string", |
| 105 |
"default": "#f3f4f6" |
| 106 |
}, |
| 107 |
"bgColor": { |
| 108 |
"type": "string", |
| 109 |
"default": "" |
| 110 |
}, |
| 111 |
"cardBg": { |
| 112 |
"type": "string", |
| 113 |
"default": "#ffffff" |
| 114 |
}, |
| 115 |
"cardBorderColor": { |
| 116 |
"type": "string", |
| 117 |
"default": "#e5e7eb" |
| 118 |
}, |
| 119 |
"headerBg": { |
| 120 |
"type": "string", |
| 121 |
"default": "#f9fafb" |
| 122 |
}, |
| 123 |
"nameColor": { |
| 124 |
"type": "string", |
| 125 |
"default": "#111827" |
| 126 |
}, |
| 127 |
"roleColor": { |
| 128 |
"type": "string", |
| 129 |
"default": "#6b7280" |
| 130 |
}, |
| 131 |
"questionSize": { |
| 132 |
"type": "number", |
| 133 |
"default": 18 |
| 134 |
}, |
| 135 |
"questionTypo": { |
| 136 |
"type": "object", |
| 137 |
"default": {} |
| 138 |
}, |
| 139 |
"answerSize": { |
| 140 |
"type": "number", |
| 141 |
"default": 16 |
| 142 |
}, |
| 143 |
"answerTypo": { |
| 144 |
"type": "object", |
| 145 |
"default": {} |
| 146 |
}, |
| 147 |
"prefixSize": { |
| 148 |
"type": "number", |
| 149 |
"default": 13 |
| 150 |
}, |
| 151 |
"nameSize": { |
| 152 |
"type": "number", |
| 153 |
"default": 18 |
| 154 |
}, |
| 155 |
"questionWeight": { |
| 156 |
"type": "string", |
| 157 |
"default": "700" |
| 158 |
}, |
| 159 |
"borderRadius": { |
| 160 |
"type": "number", |
| 161 |
"default": 12 |
| 162 |
}, |
| 163 |
"maxWidth": { |
| 164 |
"type": "number", |
| 165 |
"default": 800 |
| 166 |
}, |
| 167 |
"paddingTop": { |
| 168 |
"type": "number", |
| 169 |
"default": 48 |
| 170 |
}, |
| 171 |
"paddingBottom": { |
| 172 |
"type": "number", |
| 173 |
"default": 48 |
| 174 |
} |
| 175 |
}, |
| 176 |
"supports": { |
| 177 |
"html": false, |
| 178 |
"align": [ |
| 179 |
"wide", |
| 180 |
"full" |
| 181 |
] |
| 182 |
} |
| 183 |
} |
| 184 |
|