| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/portfolio-grid", |
| 5 |
"version": "1.0.0", |
| 6 |
"title": "Portfolio Grid", |
| 7 |
"category": "bkbg-business", |
| 8 |
"icon": "portfolio", |
| 9 |
"description": "Project showcase cards with category filter, hover overlay, tech tags and CTA links. Perfect for portfolio, case studies, and work samples.", |
| 10 |
"keywords": [ |
| 11 |
"portfolio", |
| 12 |
"projects", |
| 13 |
"cases", |
| 14 |
"work", |
| 15 |
"filter", |
| 16 |
"gallery", |
| 17 |
"grid" |
| 18 |
], |
| 19 |
"textdomain": "blockenberg", |
| 20 |
"editorScript": "bkbg-portfolio-grid-editor", |
| 21 |
"editorStyle": "bkbg-portfolio-grid-style", |
| 22 |
"style": "bkbg-portfolio-grid-style", |
| 23 |
"viewScript": "bkbg-portfolio-grid-frontend", |
| 24 |
"supports": { |
| 25 |
"html": false, |
| 26 |
"anchor": true, |
| 27 |
"className": true, |
| 28 |
"align": [ |
| 29 |
"wide", |
| 30 |
"full" |
| 31 |
] |
| 32 |
}, |
| 33 |
"attributes": { |
| 34 |
"items": { |
| 35 |
"type": "array", |
| 36 |
"default": [ |
| 37 |
{ |
| 38 |
"id": "pg1", |
| 39 |
"imageUrl": "", |
| 40 |
"imageId": 0, |
| 41 |
"title": "Brand Identity Design", |
| 42 |
"category": "Design", |
| 43 |
"description": "A complete visual identity system for a tech startup \u2014 logo, typography, color, and motion.", |
| 44 |
"techTags": "Figma, Illustrator", |
| 45 |
"linkUrl": "#", |
| 46 |
"linkLabel": "View project", |
| 47 |
"linkTarget": false, |
| 48 |
"featured": false |
| 49 |
}, |
| 50 |
{ |
| 51 |
"id": "pg2", |
| 52 |
"imageUrl": "", |
| 53 |
"imageId": 0, |
| 54 |
"title": "E-commerce Platform", |
| 55 |
"category": "Development", |
| 56 |
"description": "Full-stack storefront with real-time inventory and Stripe checkout integration.", |
| 57 |
"techTags": "React, Node.js, Stripe", |
| 58 |
"linkUrl": "#", |
| 59 |
"linkLabel": "View project", |
| 60 |
"linkTarget": false, |
| 61 |
"featured": false |
| 62 |
}, |
| 63 |
{ |
| 64 |
"id": "pg3", |
| 65 |
"imageUrl": "", |
| 66 |
"imageId": 0, |
| 67 |
"title": "Mobile Banking App", |
| 68 |
"category": "Design", |
| 69 |
"description": "UX/UI design for a neobank: onboarding flows, transaction history and dark mode.", |
| 70 |
"techTags": "Figma, Principle", |
| 71 |
"linkUrl": "#", |
| 72 |
"linkLabel": "View project", |
| 73 |
"linkTarget": false, |
| 74 |
"featured": true |
| 75 |
}, |
| 76 |
{ |
| 77 |
"id": "pg4", |
| 78 |
"imageUrl": "", |
| 79 |
"imageId": 0, |
| 80 |
"title": "SaaS Dashboard", |
| 81 |
"category": "Development", |
| 82 |
"description": "Analytics dashboard with real-time charts, role-based access and CSV export.", |
| 83 |
"techTags": "Vue, D3.js, Laravel", |
| 84 |
"linkUrl": "#", |
| 85 |
"linkLabel": "View project", |
| 86 |
"linkTarget": false, |
| 87 |
"featured": false |
| 88 |
} |
| 89 |
], |
| 90 |
"items": { |
| 91 |
"type": "object" |
| 92 |
} |
| 93 |
}, |
| 94 |
"columns": { |
| 95 |
"type": "number", |
| 96 |
"default": 2 |
| 97 |
}, |
| 98 |
"columnsTablet": { |
| 99 |
"type": "number", |
| 100 |
"default": 2 |
| 101 |
}, |
| 102 |
"gap": { |
| 103 |
"type": "number", |
| 104 |
"default": 24 |
| 105 |
}, |
| 106 |
"filterEnabled": { |
| 107 |
"type": "boolean", |
| 108 |
"default": true |
| 109 |
}, |
| 110 |
"filterStyle": { |
| 111 |
"type": "string", |
| 112 |
"default": "pills" |
| 113 |
}, |
| 114 |
"showAllLabel": { |
| 115 |
"type": "string", |
| 116 |
"default": "All" |
| 117 |
}, |
| 118 |
"showDescription": { |
| 119 |
"type": "boolean", |
| 120 |
"default": true |
| 121 |
}, |
| 122 |
"showTechTags": { |
| 123 |
"type": "boolean", |
| 124 |
"default": true |
| 125 |
}, |
| 126 |
"showCta": { |
| 127 |
"type": "boolean", |
| 128 |
"default": true |
| 129 |
}, |
| 130 |
"hoverStyle": { |
| 131 |
"type": "string", |
| 132 |
"default": "overlay" |
| 133 |
}, |
| 134 |
"imageRatio": { |
| 135 |
"type": "string", |
| 136 |
"default": "3/2" |
| 137 |
}, |
| 138 |
"borderRadius": { |
| 139 |
"type": "number", |
| 140 |
"default": 14 |
| 141 |
}, |
| 142 |
"cardShadow": { |
| 143 |
"type": "string", |
| 144 |
"default": "md" |
| 145 |
}, |
| 146 |
"tagSize": { |
| 147 |
"type": "number", |
| 148 |
"default": 11 |
| 149 |
}, |
| 150 |
"ctaSize": { |
| 151 |
"type": "number", |
| 152 |
"default": 14 |
| 153 |
}, |
| 154 |
"accentColor": { |
| 155 |
"type": "string", |
| 156 |
"default": "#6c3fb5" |
| 157 |
}, |
| 158 |
"titleColor": { |
| 159 |
"type": "string", |
| 160 |
"default": "#111827" |
| 161 |
}, |
| 162 |
"descColor": { |
| 163 |
"type": "string", |
| 164 |
"default": "#6b7280" |
| 165 |
}, |
| 166 |
"cardBg": { |
| 167 |
"type": "string", |
| 168 |
"default": "#ffffff" |
| 169 |
}, |
| 170 |
"tagBg": { |
| 171 |
"type": "string", |
| 172 |
"default": "#f3f4f6" |
| 173 |
}, |
| 174 |
"tagColor": { |
| 175 |
"type": "string", |
| 176 |
"default": "#374151" |
| 177 |
}, |
| 178 |
"overlayCoverBg": { |
| 179 |
"type": "string", |
| 180 |
"default": "rgba(17,24,39,0.82)" |
| 181 |
}, |
| 182 |
"overlayTextColor": { |
| 183 |
"type": "string", |
| 184 |
"default": "#ffffff" |
| 185 |
}, |
| 186 |
"animate": { |
| 187 |
"type": "boolean", |
| 188 |
"default": true |
| 189 |
}, |
| 190 |
"bgColor": { |
| 191 |
"type": "string", |
| 192 |
"default": "" |
| 193 |
}, |
| 194 |
"paddingTop": { |
| 195 |
"type": "number", |
| 196 |
"default": 40 |
| 197 |
}, |
| 198 |
"paddingBottom": { |
| 199 |
"type": "number", |
| 200 |
"default": 40 |
| 201 |
}, |
| 202 |
"titleTypo": { |
| 203 |
"type": "object", |
| 204 |
"default": {} |
| 205 |
}, |
| 206 |
"descTypo": { |
| 207 |
"type": "object", |
| 208 |
"default": {} |
| 209 |
} |
| 210 |
} |
| 211 |
} |