block.json
68 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "awt/child-author-page-title", |
| 5 | "title": "Page Title Section (Child Author)", |
| 6 | "category": "author-website-templates", |
| 7 | "icon": "heading", |
| 8 | "description": "Page title/hero section for inner pages with heading, subheading, and decorative wave", |
| 9 | "keywords": [ |
| 10 | "page", |
| 11 | "title", |
| 12 | "hero", |
| 13 | "heading", |
| 14 | "child-author" |
| 15 | ], |
| 16 | "textdomain": "author-website-templates", |
| 17 | "editorScript": "file:./index.js", |
| 18 | "render": "file:./render.php", |
| 19 | "attributes": { |
| 20 | "align": { |
| 21 | "type": "string", |
| 22 | "default": "full" |
| 23 | }, |
| 24 | "heading": { |
| 25 | "type": "string", |
| 26 | "default": "So Nice to Meet You!" |
| 27 | }, |
| 28 | "subHeading": { |
| 29 | "type": "string", |
| 30 | "default": "I'm Danielle Steel, a writer of silly stories and a lover of big adventures." |
| 31 | }, |
| 32 | "sectionBgColor": { |
| 33 | "type": "string", |
| 34 | "default": "rgba(0, 198, 255, 0.1)" |
| 35 | }, |
| 36 | "curveColor": { |
| 37 | "type": "string", |
| 38 | "default": "#FFFDF5" |
| 39 | }, |
| 40 | "headingColor": { |
| 41 | "type": "string", |
| 42 | "default": "" |
| 43 | }, |
| 44 | "textColor": { |
| 45 | "type": "string", |
| 46 | "default": "" |
| 47 | }, |
| 48 | "blockId": { |
| 49 | "type": "string", |
| 50 | "default": "" |
| 51 | }, |
| 52 | "titleStyle": { |
| 53 | "type": "string", |
| 54 | "default": "fun" |
| 55 | }, |
| 56 | "badgeText": { |
| 57 | "type": "string", |
| 58 | "default": "Biography" |
| 59 | } |
| 60 | }, |
| 61 | "supports": { |
| 62 | "html": false, |
| 63 | "align": [ |
| 64 | "full" |
| 65 | ] |
| 66 | }, |
| 67 | "style": "file:./index.css" |
| 68 | } |