| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/job-listing", |
| 5 |
"title": "Job Listing", |
| 6 |
"category": "bkbg-business", |
| 7 |
"icon": "businessman", |
| 8 |
"description": "Display a job posting card with title, company, location, salary, job type, skills, apply CTA, and rich styling options.", |
| 9 |
"keywords": [ |
| 10 |
"job", |
| 11 |
"listing", |
| 12 |
"career", |
| 13 |
"hiring", |
| 14 |
"vacancy", |
| 15 |
"work", |
| 16 |
"employment", |
| 17 |
"position" |
| 18 |
], |
| 19 |
"textdomain": "blockenberg", |
| 20 |
"editorScript": "bkbg-job-listing-editor", |
| 21 |
"style": "bkbg-job-listing-style", |
| 22 |
"viewScript": "bkbg-job-listing-frontend", |
| 23 |
"attributes": { |
| 24 |
"jobTitle": { |
| 25 |
"type": "string", |
| 26 |
"default": "Senior Frontend Developer" |
| 27 |
}, |
| 28 |
"company": { |
| 29 |
"type": "string", |
| 30 |
"default": "Acme Corp" |
| 31 |
}, |
| 32 |
"department": { |
| 33 |
"type": "string", |
| 34 |
"default": "Engineering" |
| 35 |
}, |
| 36 |
"location": { |
| 37 |
"type": "string", |
| 38 |
"default": "New York, NY" |
| 39 |
}, |
| 40 |
"locationType": { |
| 41 |
"type": "string", |
| 42 |
"default": "hybrid" |
| 43 |
}, |
| 44 |
"jobType": { |
| 45 |
"type": "string", |
| 46 |
"default": "full-time" |
| 47 |
}, |
| 48 |
"salaryMin": { |
| 49 |
"type": "string", |
| 50 |
"default": "80,000" |
| 51 |
}, |
| 52 |
"salaryMax": { |
| 53 |
"type": "string", |
| 54 |
"default": "120,000" |
| 55 |
}, |
| 56 |
"salaryCurrency": { |
| 57 |
"type": "string", |
| 58 |
"default": "$" |
| 59 |
}, |
| 60 |
"salaryPeriod": { |
| 61 |
"type": "string", |
| 62 |
"default": "year" |
| 63 |
}, |
| 64 |
"showSalary": { |
| 65 |
"type": "boolean", |
| 66 |
"default": true |
| 67 |
}, |
| 68 |
"postedDate": { |
| 69 |
"type": "string", |
| 70 |
"default": "" |
| 71 |
}, |
| 72 |
"showPostedDate": { |
| 73 |
"type": "boolean", |
| 74 |
"default": true |
| 75 |
}, |
| 76 |
"deadline": { |
| 77 |
"type": "string", |
| 78 |
"default": "" |
| 79 |
}, |
| 80 |
"showDeadline": { |
| 81 |
"type": "boolean", |
| 82 |
"default": false |
| 83 |
}, |
| 84 |
"description": { |
| 85 |
"type": "string", |
| 86 |
"default": "We are looking for an experienced frontend developer to join our growing team. You will work closely with designers and backend engineers to build world-class user interfaces." |
| 87 |
}, |
| 88 |
"showDescription": { |
| 89 |
"type": "boolean", |
| 90 |
"default": true |
| 91 |
}, |
| 92 |
"skills": { |
| 93 |
"type": "string", |
| 94 |
"default": "React, TypeScript, CSS, REST APIs" |
| 95 |
}, |
| 96 |
"showSkills": { |
| 97 |
"type": "boolean", |
| 98 |
"default": true |
| 99 |
}, |
| 100 |
"applyLabel": { |
| 101 |
"type": "string", |
| 102 |
"default": "Apply Now" |
| 103 |
}, |
| 104 |
"applyUrl": { |
| 105 |
"type": "string", |
| 106 |
"default": "#" |
| 107 |
}, |
| 108 |
"applyNewTab": { |
| 109 |
"type": "boolean", |
| 110 |
"default": false |
| 111 |
}, |
| 112 |
"showApplyBtn": { |
| 113 |
"type": "boolean", |
| 114 |
"default": true |
| 115 |
}, |
| 116 |
"secondaryLabel": { |
| 117 |
"type": "string", |
| 118 |
"default": "Learn More" |
| 119 |
}, |
| 120 |
"secondaryUrl": { |
| 121 |
"type": "string", |
| 122 |
"default": "" |
| 123 |
}, |
| 124 |
"showSecondaryBtn": { |
| 125 |
"type": "boolean", |
| 126 |
"default": false |
| 127 |
}, |
| 128 |
"logoUrl": { |
| 129 |
"type": "string", |
| 130 |
"default": "" |
| 131 |
}, |
| 132 |
"logoId": { |
| 133 |
"type": "number", |
| 134 |
"default": 0 |
| 135 |
}, |
| 136 |
"logoAlt": { |
| 137 |
"type": "string", |
| 138 |
"default": "" |
| 139 |
}, |
| 140 |
"showLogo": { |
| 141 |
"type": "boolean", |
| 142 |
"default": true |
| 143 |
}, |
| 144 |
"logoSize": { |
| 145 |
"type": "number", |
| 146 |
"default": 56 |
| 147 |
}, |
| 148 |
"featured": { |
| 149 |
"type": "boolean", |
| 150 |
"default": false |
| 151 |
}, |
| 152 |
"featuredLabel": { |
| 153 |
"type": "string", |
| 154 |
"default": "Featured" |
| 155 |
}, |
| 156 |
"featuredColor": { |
| 157 |
"type": "string", |
| 158 |
"default": "#f59e0b" |
| 159 |
}, |
| 160 |
"featuredTextColor": { |
| 161 |
"type": "string", |
| 162 |
"default": "#ffffff" |
| 163 |
}, |
| 164 |
"urgent": { |
| 165 |
"type": "boolean", |
| 166 |
"default": false |
| 167 |
}, |
| 168 |
"cardBg": { |
| 169 |
"type": "string", |
| 170 |
"default": "#ffffff" |
| 171 |
}, |
| 172 |
"cardBorderRadius": { |
| 173 |
"type": "number", |
| 174 |
"default": 12 |
| 175 |
}, |
| 176 |
"cardPadding": { |
| 177 |
"type": "number", |
| 178 |
"default": 28 |
| 179 |
}, |
| 180 |
"showShadow": { |
| 181 |
"type": "boolean", |
| 182 |
"default": true |
| 183 |
}, |
| 184 |
"showBorder": { |
| 185 |
"type": "boolean", |
| 186 |
"default": false |
| 187 |
}, |
| 188 |
"borderColor": { |
| 189 |
"type": "string", |
| 190 |
"default": "#e5e7eb" |
| 191 |
}, |
| 192 |
"titleColor": { |
| 193 |
"type": "string", |
| 194 |
"default": "#1e1e1e" |
| 195 |
}, |
| 196 |
"titleSize": { |
| 197 |
"type": "number", |
| 198 |
"default": 22 |
| 199 |
}, |
| 200 |
"titleTypo": { |
| 201 |
"type": "object", |
| 202 |
"default": {} |
| 203 |
}, |
| 204 |
"typoCompany": { |
| 205 |
"type": "object", |
| 206 |
"default": {} |
| 207 |
}, |
| 208 |
"typoDesc": { |
| 209 |
"type": "object", |
| 210 |
"default": {} |
| 211 |
}, |
| 212 |
"typoSkill": { |
| 213 |
"type": "object", |
| 214 |
"default": {} |
| 215 |
}, |
| 216 |
"typoBadge": { |
| 217 |
"type": "object", |
| 218 |
"default": {} |
| 219 |
}, |
| 220 |
"typoPill": { |
| 221 |
"type": "object", |
| 222 |
"default": {} |
| 223 |
}, |
| 224 |
"typoMeta": { |
| 225 |
"type": "object", |
| 226 |
"default": {} |
| 227 |
}, |
| 228 |
"typoBtn": { |
| 229 |
"type": "object", |
| 230 |
"default": {} |
| 231 |
}, |
| 232 |
"companyColor": { |
| 233 |
"type": "string", |
| 234 |
"default": "#6c3fb5" |
| 235 |
}, |
| 236 |
"metaColor": { |
| 237 |
"type": "string", |
| 238 |
"default": "#6b7280" |
| 239 |
}, |
| 240 |
"bodyColor": { |
| 241 |
"type": "string", |
| 242 |
"default": "#374151" |
| 243 |
}, |
| 244 |
"primaryBtnBg": { |
| 245 |
"type": "string", |
| 246 |
"default": "#6c3fb5" |
| 247 |
}, |
| 248 |
"primaryBtnText": { |
| 249 |
"type": "string", |
| 250 |
"default": "#ffffff" |
| 251 |
}, |
| 252 |
"primaryBtnRadius": { |
| 253 |
"type": "number", |
| 254 |
"default": 8 |
| 255 |
}, |
| 256 |
"jobTypeBg": { |
| 257 |
"type": "string", |
| 258 |
"default": "#ede9fe" |
| 259 |
}, |
| 260 |
"jobTypeText": { |
| 261 |
"type": "string", |
| 262 |
"default": "#6c3fb5" |
| 263 |
}, |
| 264 |
"skillBg": { |
| 265 |
"type": "string", |
| 266 |
"default": "#f3f4f6" |
| 267 |
}, |
| 268 |
"skillText": { |
| 269 |
"type": "string", |
| 270 |
"default": "#374151" |
| 271 |
}, |
| 272 |
"dividerColor": { |
| 273 |
"type": "string", |
| 274 |
"default": "#e5e7eb" |
| 275 |
}, |
| 276 |
"showDivider": { |
| 277 |
"type": "boolean", |
| 278 |
"default": true |
| 279 |
} |
| 280 |
}, |
| 281 |
"supports": { |
| 282 |
"html": false, |
| 283 |
"align": [ |
| 284 |
"wide", |
| 285 |
"full" |
| 286 |
] |
| 287 |
} |
| 288 |
} |
| 289 |
|