diff --git a/views/blocks/contact-info/block.json b/views/blocks/contact-info/block.json new file mode 100644 index 0000000..b0f05b7 --- /dev/null +++ b/views/blocks/contact-info/block.json @@ -0,0 +1,27 @@ +{ + "name": "acf/contact-info", + "title": "Contact Info Block", + "description": "Show contact information with icons and optional form.", + "style": [ + "file:./contact-info.css" + ], + "category": "vdi-block", + "icon": "feedback", + "keywords": [ + "contact info", + "contact form" + ], + "acf": { + "mode": "auto", + "renderTemplate": "contact-info.php" + }, + "supports": { + "align": true, + "anchor": true, + "color": false, + "html": false, + "jsx": true, + "mode": true, + "multiple": false + } +} diff --git a/views/blocks/contact-info/contact-info.css b/views/blocks/contact-info/contact-info.css new file mode 100644 index 0000000..e69de29 diff --git a/views/blocks/contact-info/contact-info.php b/views/blocks/contact-info/contact-info.php new file mode 100644 index 0000000..ec736f9 --- /dev/null +++ b/views/blocks/contact-info/contact-info.php @@ -0,0 +1,27 @@ + $classes, + ) + ); +} else { + $wrapper = 'class="' . $classes . '"'; +} +?> + +
> + +