block.json
2 years ago
view.asset.php
2 months ago
view.css
4 years ago
view.js
2 months ago
view.rtl.css
4 years ago
block.json
63 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "jetpack/contact-info", |
| 5 | "title": "Contact Info", |
| 6 | "description": "Add an email address, phone number, and physical address with improved markup for better SEO results.", |
| 7 | "keywords": [ |
| 8 | "email", |
| 9 | "phone", |
| 10 | "address" |
| 11 | ], |
| 12 | "version": "12.5.0", |
| 13 | "textdomain": "jetpack", |
| 14 | "category": "grow", |
| 15 | "icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z'/></svg>", |
| 16 | "supports": { |
| 17 | "align": [ |
| 18 | "wide", |
| 19 | "full" |
| 20 | ], |
| 21 | "html": false, |
| 22 | "color": { |
| 23 | "link": true, |
| 24 | "gradients": true |
| 25 | }, |
| 26 | "spacing": { |
| 27 | "padding": true, |
| 28 | "margin": true |
| 29 | }, |
| 30 | "typography": { |
| 31 | "fontSize": true, |
| 32 | "lineHeight": true |
| 33 | } |
| 34 | }, |
| 35 | "example": { |
| 36 | "attributes": {}, |
| 37 | "innerBlocks": [ |
| 38 | { |
| 39 | "name": "jetpack/email", |
| 40 | "attributes": { |
| 41 | "email": "hello@yourjetpack.blog" |
| 42 | } |
| 43 | }, |
| 44 | { |
| 45 | "name": "jetpack/phone", |
| 46 | "attributes": { |
| 47 | "phone": "123-456-7890" |
| 48 | } |
| 49 | }, |
| 50 | { |
| 51 | "name": "jetpack/address", |
| 52 | "attributes": { |
| 53 | "address": "987 Photon Drive", |
| 54 | "city": "Speedyville", |
| 55 | "region": "CA", |
| 56 | "postal": "12345", |
| 57 | "country": "USA" |
| 58 | } |
| 59 | } |
| 60 | ] |
| 61 | }, |
| 62 | "editorScript": "jetpack-blocks-editor" |
| 63 | } |