block.json
112 lines
| 1 | { |
| 2 | "apiVersion": 3, |
| 3 | "name": "awt/author-pro-book-hero", |
| 4 | "version": "1.0.2", |
| 5 | "title": "Book Hero [Author Pro]", |
| 6 | "category": "author-website-templates", |
| 7 | "icon": "book-alt", |
| 8 | "description": "A dynamic hero section for the single book template.", |
| 9 | "supports": { |
| 10 | "html": false, |
| 11 | "anchor": true, |
| 12 | "align": [ |
| 13 | "full" |
| 14 | ] |
| 15 | }, |
| 16 | "textdomain": "author-website-templates", |
| 17 | "attributes": { |
| 18 | "blockId": { |
| 19 | "type": "string" |
| 20 | }, |
| 21 | "anchor": { |
| 22 | "type": "string" |
| 23 | }, |
| 24 | "showBreadcrumbs": { |
| 25 | "type": "boolean", |
| 26 | "default": true |
| 27 | }, |
| 28 | "showStats": { |
| 29 | "type": "boolean", |
| 30 | "default": true |
| 31 | }, |
| 32 | "showBadge": { |
| 33 | "type": "boolean", |
| 34 | "default": true |
| 35 | }, |
| 36 | "showReviewCount": { |
| 37 | "type": "boolean", |
| 38 | "default": true |
| 39 | }, |
| 40 | "badgeText": { |
| 41 | "type": "string", |
| 42 | "default": "#1 New York Times Bestseller" |
| 43 | }, |
| 44 | "subTitle": { |
| 45 | "type": "string", |
| 46 | "default": "" |
| 47 | }, |
| 48 | "formatsText": { |
| 49 | "type": "string", |
| 50 | "default": "Available in Hardcover, Paperback, Audiobook & Kindle" |
| 51 | }, |
| 52 | "formatsTitle": { |
| 53 | "type": "string", |
| 54 | "default": "Available Formats" |
| 55 | }, |
| 56 | "pagesLabel": { |
| 57 | "type": "string", |
| 58 | "default": "Pages" |
| 59 | }, |
| 60 | "yearLabel": { |
| 61 | "type": "string", |
| 62 | "default": "Year" |
| 63 | }, |
| 64 | "languageLabel": { |
| 65 | "type": "string", |
| 66 | "default": "Language" |
| 67 | }, |
| 68 | "reviewLinkText": { |
| 69 | "type": "string", |
| 70 | "default": "Read %s Reviews" |
| 71 | }, |
| 72 | "sectionBg": { |
| 73 | "type": "string", |
| 74 | "default": "" |
| 75 | }, |
| 76 | "titleColor": { |
| 77 | "type": "string", |
| 78 | "default": "" |
| 79 | }, |
| 80 | "primaryColor": { |
| 81 | "type": "string", |
| 82 | "default": "" |
| 83 | }, |
| 84 | "secondaryColor": { |
| 85 | "type": "string", |
| 86 | "default": "" |
| 87 | }, |
| 88 | "accentColor": { |
| 89 | "type": "string", |
| 90 | "default": "" |
| 91 | }, |
| 92 | "btnBg": { |
| 93 | "type": "string", |
| 94 | "default": "" |
| 95 | }, |
| 96 | "btnText": { |
| 97 | "type": "string", |
| 98 | "default": "" |
| 99 | }, |
| 100 | "btnHoverBg": { |
| 101 | "type": "string", |
| 102 | "default": "" |
| 103 | }, |
| 104 | "btnHoverText": { |
| 105 | "type": "string", |
| 106 | "default": "" |
| 107 | } |
| 108 | }, |
| 109 | "editorScript": "file:./index.js", |
| 110 | "render": "file:./render.php", |
| 111 | "style": "file:./style.css" |
| 112 | } |