| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/tech-stack", |
| 5 |
"version": "1.0.0", |
| 6 |
"title": "Tech Stack", |
| 7 |
"category": "bkbg-business", |
| 8 |
"icon": "admin-tools", |
| 9 |
"description": "Showcase your technology stack or toolset. Category-grouped, logo images with labels, optional proficiency indicators and hover effects.", |
| 10 |
"keywords": [ |
| 11 |
"tech", |
| 12 |
"stack", |
| 13 |
"tools", |
| 14 |
"technology", |
| 15 |
"software", |
| 16 |
"languages", |
| 17 |
"frameworks", |
| 18 |
"skills" |
| 19 |
], |
| 20 |
"textdomain": "blockenberg", |
| 21 |
"editorScript": "bkbg-tech-stack-editor", |
| 22 |
"editorStyle": "bkbg-tech-stack-style", |
| 23 |
"style": "bkbg-tech-stack-style", |
| 24 |
"viewScript": "bkbg-tech-stack-frontend", |
| 25 |
"supports": { |
| 26 |
"html": false, |
| 27 |
"anchor": true, |
| 28 |
"className": true, |
| 29 |
"align": [ |
| 30 |
"wide", |
| 31 |
"full" |
| 32 |
] |
| 33 |
}, |
| 34 |
"attributes": { |
| 35 |
"categories": { |
| 36 |
"type": "array", |
| 37 |
"default": [ |
| 38 |
{ |
| 39 |
"id": "tc1", |
| 40 |
"label": "Frontend", |
| 41 |
"items": [ |
| 42 |
{ |
| 43 |
"id": "ti1", |
| 44 |
"name": "React", |
| 45 |
"imageUrl": "", |
| 46 |
"imageId": 0, |
| 47 |
"url": "", |
| 48 |
"linkTarget": false, |
| 49 |
"description": "UI library", |
| 50 |
"proficiency": 5 |
| 51 |
}, |
| 52 |
{ |
| 53 |
"id": "ti2", |
| 54 |
"name": "TypeScript", |
| 55 |
"imageUrl": "", |
| 56 |
"imageId": 0, |
| 57 |
"url": "", |
| 58 |
"linkTarget": false, |
| 59 |
"description": "Typed JS", |
| 60 |
"proficiency": 4 |
| 61 |
}, |
| 62 |
{ |
| 63 |
"id": "ti3", |
| 64 |
"name": "Tailwind", |
| 65 |
"imageUrl": "", |
| 66 |
"imageId": 0, |
| 67 |
"url": "", |
| 68 |
"linkTarget": false, |
| 69 |
"description": "CSS framework", |
| 70 |
"proficiency": 5 |
| 71 |
}, |
| 72 |
{ |
| 73 |
"id": "ti4", |
| 74 |
"name": "Next.js", |
| 75 |
"imageUrl": "", |
| 76 |
"imageId": 0, |
| 77 |
"url": "", |
| 78 |
"linkTarget": false, |
| 79 |
"description": "SSR framework", |
| 80 |
"proficiency": 4 |
| 81 |
} |
| 82 |
] |
| 83 |
}, |
| 84 |
{ |
| 85 |
"id": "tc2", |
| 86 |
"label": "Backend", |
| 87 |
"items": [ |
| 88 |
{ |
| 89 |
"id": "ti5", |
| 90 |
"name": "Node.js", |
| 91 |
"imageUrl": "", |
| 92 |
"imageId": 0, |
| 93 |
"url": "", |
| 94 |
"linkTarget": false, |
| 95 |
"description": "JS runtime", |
| 96 |
"proficiency": 4 |
| 97 |
}, |
| 98 |
{ |
| 99 |
"id": "ti6", |
| 100 |
"name": "PostgreSQL", |
| 101 |
"imageUrl": "", |
| 102 |
"imageId": 0, |
| 103 |
"url": "", |
| 104 |
"linkTarget": false, |
| 105 |
"description": "Database", |
| 106 |
"proficiency": 4 |
| 107 |
}, |
| 108 |
{ |
| 109 |
"id": "ti7", |
| 110 |
"name": "Redis", |
| 111 |
"imageUrl": "", |
| 112 |
"imageId": 0, |
| 113 |
"url": "", |
| 114 |
"linkTarget": false, |
| 115 |
"description": "Cache", |
| 116 |
"proficiency": 3 |
| 117 |
}, |
| 118 |
{ |
| 119 |
"id": "ti8", |
| 120 |
"name": "Docker", |
| 121 |
"imageUrl": "", |
| 122 |
"imageId": 0, |
| 123 |
"url": "", |
| 124 |
"linkTarget": false, |
| 125 |
"description": "Containers", |
| 126 |
"proficiency": 4 |
| 127 |
} |
| 128 |
] |
| 129 |
} |
| 130 |
], |
| 131 |
"items": { |
| 132 |
"type": "object" |
| 133 |
} |
| 134 |
}, |
| 135 |
"displayStyle": { |
| 136 |
"type": "string", |
| 137 |
"default": "cards" |
| 138 |
}, |
| 139 |
"columns": { |
| 140 |
"type": "number", |
| 141 |
"default": 4 |
| 142 |
}, |
| 143 |
"columnsTablet": { |
| 144 |
"type": "number", |
| 145 |
"default": 3 |
| 146 |
}, |
| 147 |
"gap": { |
| 148 |
"type": "number", |
| 149 |
"default": 16 |
| 150 |
}, |
| 151 |
"categoryGap": { |
| 152 |
"type": "number", |
| 153 |
"default": 40 |
| 154 |
}, |
| 155 |
"iconSize": { |
| 156 |
"type": "number", |
| 157 |
"default": 48 |
| 158 |
}, |
| 159 |
"showLabel": { |
| 160 |
"type": "boolean", |
| 161 |
"default": true |
| 162 |
}, |
| 163 |
"showDescription": { |
| 164 |
"type": "boolean", |
| 165 |
"default": false |
| 166 |
}, |
| 167 |
"showProficiency": { |
| 168 |
"type": "boolean", |
| 169 |
"default": false |
| 170 |
}, |
| 171 |
"proficiencyStyle": { |
| 172 |
"type": "string", |
| 173 |
"default": "dots" |
| 174 |
}, |
| 175 |
"showCategories": { |
| 176 |
"type": "boolean", |
| 177 |
"default": true |
| 178 |
}, |
| 179 |
"hoverEffect": { |
| 180 |
"type": "string", |
| 181 |
"default": "lift" |
| 182 |
}, |
| 183 |
"grayscale": { |
| 184 |
"type": "boolean", |
| 185 |
"default": false |
| 186 |
}, |
| 187 |
"colorOnHover": { |
| 188 |
"type": "boolean", |
| 189 |
"default": false |
| 190 |
}, |
| 191 |
"cardBg": { |
| 192 |
"type": "string", |
| 193 |
"default": "#ffffff" |
| 194 |
}, |
| 195 |
"cardRadius": { |
| 196 |
"type": "number", |
| 197 |
"default": 12 |
| 198 |
}, |
| 199 |
"cardPadding": { |
| 200 |
"type": "number", |
| 201 |
"default": 20 |
| 202 |
}, |
| 203 |
"cardShadow": { |
| 204 |
"type": "string", |
| 205 |
"default": "sm" |
| 206 |
}, |
| 207 |
"cardBorderColor": { |
| 208 |
"type": "string", |
| 209 |
"default": "#e5e7eb" |
| 210 |
}, |
| 211 |
"showBorder": { |
| 212 |
"type": "boolean", |
| 213 |
"default": true |
| 214 |
}, |
| 215 |
"labelColor": { |
| 216 |
"type": "string", |
| 217 |
"default": "#374151" |
| 218 |
}, |
| 219 |
"labelTypo": { |
| 220 |
"type": "object", |
| 221 |
"default": {} |
| 222 |
}, |
| 223 |
"descTypo": { |
| 224 |
"type": "object", |
| 225 |
"default": {} |
| 226 |
}, |
| 227 |
"labelSize": { |
| 228 |
"type": "number", |
| 229 |
"default": 13 |
| 230 |
}, |
| 231 |
"descColor": { |
| 232 |
"type": "string", |
| 233 |
"default": "#9ca3af" |
| 234 |
}, |
| 235 |
"descSize": { |
| 236 |
"type": "number", |
| 237 |
"default": 11 |
| 238 |
}, |
| 239 |
"categoryLabelSize": { |
| 240 |
"type": "number", |
| 241 |
"default": 12 |
| 242 |
}, |
| 243 |
"categoryLabelColor": { |
| 244 |
"type": "string", |
| 245 |
"default": "#9ca3af" |
| 246 |
}, |
| 247 |
"accentColor": { |
| 248 |
"type": "string", |
| 249 |
"default": "#6c3fb5" |
| 250 |
}, |
| 251 |
"animate": { |
| 252 |
"type": "boolean", |
| 253 |
"default": true |
| 254 |
}, |
| 255 |
"bgColor": { |
| 256 |
"type": "string", |
| 257 |
"default": "" |
| 258 |
}, |
| 259 |
"paddingTop": { |
| 260 |
"type": "number", |
| 261 |
"default": 40 |
| 262 |
}, |
| 263 |
"paddingBottom": { |
| 264 |
"type": "number", |
| 265 |
"default": 40 |
| 266 |
}, |
| 267 |
"labelFontWeight": { |
| 268 |
"type": "string", |
| 269 |
"default": "600" |
| 270 |
}, |
| 271 |
"descFontWeight": { |
| 272 |
"type": "string", |
| 273 |
"default": "400" |
| 274 |
}, |
| 275 |
"labelLineHeight": { |
| 276 |
"type": "number", |
| 277 |
"default": 1.3 |
| 278 |
}, |
| 279 |
"descLineHeight": { |
| 280 |
"type": "number", |
| 281 |
"default": 1.5 |
| 282 |
} |
| 283 |
} |
| 284 |
} |