| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/event-card", |
| 5 |
"title": "Event Card", |
| 6 |
"category": "bkbg-business", |
| 7 |
"icon": "calendar-alt", |
| 8 |
"description": "Event display card with date, time, venue, description, speakers, call-to-action button, and Event JSON-LD structured data.", |
| 9 |
"keywords": [ |
| 10 |
"event", |
| 11 |
"calendar", |
| 12 |
"schedule", |
| 13 |
"conference", |
| 14 |
"webinar", |
| 15 |
"schema" |
| 16 |
], |
| 17 |
"textdomain": "blockenberg", |
| 18 |
"editorScript": "bkbg-event-card-editor", |
| 19 |
"editorStyle": "bkbg-event-card-style", |
| 20 |
"style": "bkbg-event-card-style", |
| 21 |
"viewScript": "bkbg-event-card-frontend", |
| 22 |
"supports": { |
| 23 |
"html": false, |
| 24 |
"anchor": true, |
| 25 |
"className": true, |
| 26 |
"align": [ |
| 27 |
"wide" |
| 28 |
] |
| 29 |
}, |
| 30 |
"attributes": { |
| 31 |
"eventName": { |
| 32 |
"type": "string", |
| 33 |
"default": "Annual Design Summit 2026" |
| 34 |
}, |
| 35 |
"description": { |
| 36 |
"type": "string", |
| 37 |
"default": "Join designers, developers, and product leaders for a day of inspiring talks, hands-on workshops, and networking." |
| 38 |
}, |
| 39 |
"imageUrl": { |
| 40 |
"type": "string", |
| 41 |
"default": "" |
| 42 |
}, |
| 43 |
"imageId": { |
| 44 |
"type": "number", |
| 45 |
"default": 0 |
| 46 |
}, |
| 47 |
"startDate": { |
| 48 |
"type": "string", |
| 49 |
"default": "2026-06-15" |
| 50 |
}, |
| 51 |
"startTime": { |
| 52 |
"type": "string", |
| 53 |
"default": "09:00" |
| 54 |
}, |
| 55 |
"endDate": { |
| 56 |
"type": "string", |
| 57 |
"default": "2026-06-15" |
| 58 |
}, |
| 59 |
"endTime": { |
| 60 |
"type": "string", |
| 61 |
"default": "18:00" |
| 62 |
}, |
| 63 |
"timezone": { |
| 64 |
"type": "string", |
| 65 |
"default": "America/New_York" |
| 66 |
}, |
| 67 |
"venueName": { |
| 68 |
"type": "string", |
| 69 |
"default": "Javits Center" |
| 70 |
}, |
| 71 |
"venueAddress": { |
| 72 |
"type": "string", |
| 73 |
"default": "429 11th Ave, New York, NY 10001" |
| 74 |
}, |
| 75 |
"eventType": { |
| 76 |
"type": "string", |
| 77 |
"default": "In-Person" |
| 78 |
}, |
| 79 |
"eventUrl": { |
| 80 |
"type": "string", |
| 81 |
"default": "#" |
| 82 |
}, |
| 83 |
"ticketUrl": { |
| 84 |
"type": "string", |
| 85 |
"default": "#" |
| 86 |
}, |
| 87 |
"ticketLabel": { |
| 88 |
"type": "string", |
| 89 |
"default": "Get Tickets" |
| 90 |
}, |
| 91 |
"badges": { |
| 92 |
"type": "string", |
| 93 |
"default": "Free,Workshops,Networking" |
| 94 |
}, |
| 95 |
"organizer": { |
| 96 |
"type": "string", |
| 97 |
"default": "" |
| 98 |
}, |
| 99 |
"layoutStyle": { |
| 100 |
"type": "string", |
| 101 |
"default": "horizontal" |
| 102 |
}, |
| 103 |
"accentColor": { |
| 104 |
"type": "string", |
| 105 |
"default": "#6c3fb5" |
| 106 |
}, |
| 107 |
"cardBg": { |
| 108 |
"type": "string", |
| 109 |
"default": "#ffffff" |
| 110 |
}, |
| 111 |
"cardBorder": { |
| 112 |
"type": "string", |
| 113 |
"default": "#e5e7eb" |
| 114 |
}, |
| 115 |
"cardRadius": { |
| 116 |
"type": "number", |
| 117 |
"default": 16 |
| 118 |
}, |
| 119 |
"cardShadow": { |
| 120 |
"type": "boolean", |
| 121 |
"default": true |
| 122 |
}, |
| 123 |
"btnBg": { |
| 124 |
"type": "string", |
| 125 |
"default": "#6c3fb5" |
| 126 |
}, |
| 127 |
"btnColor": { |
| 128 |
"type": "string", |
| 129 |
"default": "#ffffff" |
| 130 |
}, |
| 131 |
"btnRadius": { |
| 132 |
"type": "number", |
| 133 |
"default": 8 |
| 134 |
}, |
| 135 |
"schemaEnabled": { |
| 136 |
"type": "boolean", |
| 137 |
"default": true |
| 138 |
}, |
| 139 |
"eventNameFontSize": { "type": "number", "default": 22 }, |
| 140 |
"eventNameFontWeight": { "type": "string", "default": "800" }, |
| 141 |
"eventNameLineHeight": { "type": "number", "default": 1.2 }, |
| 142 |
"descFontSize": { "type": "number", "default": 14 }, |
| 143 |
"descFontWeight": { "type": "string", "default": "400" }, |
| 144 |
"descLineHeight": { "type": "number", "default": 1.6 }, |
| 145 |
"typoName": { "type": "object", "default": {} }, |
| 146 |
"typoDesc": { "type": "object", "default": {} }, |
| 147 |
"typoBadge": { "type": "object", "default": {} }, |
| 148 |
"typoMeta": { "type": "object", "default": {} }, |
| 149 |
"typoBtn": { "type": "object", "default": {} } |
| 150 |
} |
| 151 |
} |
| 152 |
|