block.json
5 months ago
index.asset.php
5 months ago
index.js
5 months ago
style-index-rtl.css
5 months ago
style-index.css
5 months ago
block.json
103 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "awt/author-pro-newsletter", |
| 5 | "version": "1.0.0", |
| 6 | "title": "Newsletter [Author Pro]", |
| 7 | "category": "theme", |
| 8 | "icon": "email", |
| 9 | "description": "Premium newsletter signup section with Author Pro design system.", |
| 10 | "keywords": [ |
| 11 | "newsletter", |
| 12 | "signup", |
| 13 | "form", |
| 14 | "author-pro" |
| 15 | ], |
| 16 | "textdomain": "author-website-templates", |
| 17 | "editorScript": "file:./index.js", |
| 18 | "attributes": { |
| 19 | "blockId": { |
| 20 | "type": "string", |
| 21 | "default": "" |
| 22 | }, |
| 23 | "align": { |
| 24 | "type": "string", |
| 25 | "default": "full" |
| 26 | }, |
| 27 | "heading": { |
| 28 | "type": "string", |
| 29 | "default": "Join 1 Million+ Readers" |
| 30 | }, |
| 31 | "description": { |
| 32 | "type": "string", |
| 33 | "default": "Get the weekly newsletter. 3 ideas, 2 quotes, 1 question. No spam, just value." |
| 34 | }, |
| 35 | "disclaimer": { |
| 36 | "type": "string", |
| 37 | "default": "We care about your data in our privacy policy." |
| 38 | }, |
| 39 | "buttonText": { |
| 40 | "type": "string", |
| 41 | "default": "Sign Up Free" |
| 42 | }, |
| 43 | "buttonUrl": { |
| 44 | "type": "string", |
| 45 | "default": "#" |
| 46 | }, |
| 47 | "placeholderText": { |
| 48 | "type": "string", |
| 49 | "default": "Your email address" |
| 50 | }, |
| 51 | "useShortcode": { |
| 52 | "type": "boolean", |
| 53 | "default": false |
| 54 | }, |
| 55 | "customShortcode": { |
| 56 | "type": "string", |
| 57 | "default": "" |
| 58 | }, |
| 59 | "sectionBgColor": { |
| 60 | "type": "string", |
| 61 | "default": "" |
| 62 | }, |
| 63 | "headingColor": { |
| 64 | "type": "string", |
| 65 | "default": "" |
| 66 | }, |
| 67 | "textColor": { |
| 68 | "type": "string", |
| 69 | "default": "" |
| 70 | }, |
| 71 | "inputBgColor": { |
| 72 | "type": "string", |
| 73 | "default": "" |
| 74 | }, |
| 75 | "btnBgColor": { |
| 76 | "type": "string", |
| 77 | "default": "" |
| 78 | }, |
| 79 | "btnTextColor": { |
| 80 | "type": "string", |
| 81 | "default": "" |
| 82 | }, |
| 83 | "btnHoverBgColor": { |
| 84 | "type": "string", |
| 85 | "default": "" |
| 86 | }, |
| 87 | "btnHoverTextColor": { |
| 88 | "type": "string", |
| 89 | "default": "" |
| 90 | } |
| 91 | }, |
| 92 | "supports": { |
| 93 | "html": false, |
| 94 | "color": false, |
| 95 | "typography": false, |
| 96 | "spacing": false, |
| 97 | "anchor": true, |
| 98 | "align": [ |
| 99 | "full" |
| 100 | ], |
| 101 | "alignWide": true |
| 102 | } |
| 103 | } |