From 0afb2c0046b55c123eafb4ab9ee77efa68d12463 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sat, 06 Jun 2026 17:15:31 +0000
Subject: [PATCH] =Starting the Favourites.js setup, converting previous Northeh stuff to new Registrar, fixing up Square.php integration to match

---
 src/gmbreviews/block.json |   68 ++++++++++++++++++++++++++++++++++
 1 files changed, 68 insertions(+), 0 deletions(-)

diff --git a/src/gmbreviews/block.json b/src/gmbreviews/block.json
new file mode 100644
index 0000000..78634fd
--- /dev/null
+++ b/src/gmbreviews/block.json
@@ -0,0 +1,68 @@
+{
+	"$schema": "https://schemas.wp.org/trunk/block.json",
+	"apiVersion": 3,
+	"name": "jvb/gmbreviews",
+	"title": "GMB Reviews",
+	"category": "jvb",
+	"description": "Display top-rated Google My Business reviews with statistics and action buttons",
+	"keywords": ["reviews", "google", "testimonials", "gmb", "ratings"],
+	"textdomain": "jvb",
+	"attributes": {
+		"inheritUser": {
+			"type": "boolean",
+			"default": false
+		},
+		"count": {
+			"type": "number",
+			"default": 5
+		},
+		"showRating": {
+			"type": "boolean",
+			"default": true
+		},
+		"showDate": {
+			"type": "boolean",
+			"default": true
+		},
+		"showReviewLink": {
+			"type": "boolean",
+			"default": true
+		},
+		"showViewAllLink": {
+			"type": "boolean",
+			"default": true
+		},
+		"showStats": {
+			"type": "boolean",
+			"default": true
+		},
+		"minStars": {
+			"type": "number",
+			"default": 4,
+			"minimum": 1,
+			"maximum": 5
+		}
+	},
+	"supports": {
+		"html": false,
+		"align": true,
+		"color": {
+			"text": true,
+			"background": true,
+			"link": true
+		},
+		"spacing": {
+			"margin": true,
+			"padding": true
+		},
+		"typography": {
+			"fontSize": true,
+			"lineHeight": true
+		}
+	},
+	"render": "file:./render.php",
+	"editorScript": "file:./index.js",
+	"editorStyle": "file:./index.css",
+	"style": "file:./style-index.css",
+	"viewScript": "file:./view.js"
+}

--
Gitblit v1.10.0