diff --git a/src/pages/singular-product.js b/src/pages/singular-product.js index 3975cb5..9bc6a10 100644 --- a/src/pages/singular-product.js +++ b/src/pages/singular-product.js @@ -59,6 +59,17 @@ export const query = graphql` } product_title product_type + image_highlight_group { + highlighted_image { + dimensions { + height + width + } + url + } + image_highlight_description + } + image_highlight_heading } } } diff --git a/src/schemas/product.json b/src/schemas/product.json index 460399d..311ffc9 100644 --- a/src/schemas/product.json +++ b/src/schemas/product.json @@ -129,5 +129,35 @@ "label" : "Button Destination" } } + }, + "Image Highlight Section": { + "image_highlight_heading": { + "type": "Text", + "config": { + "label": "Image Highlight Heading" + } + }, + "image_highlight_group": { + "type": "Group", + "config": { + "fields": { + "highlighted_image": { + "type": "Image", + "config": { + "constraint": {}, + "thumbnails": [], + "label": "Highlighted Image" + } + }, + "image_highlight_description": { + "type": "Text", + "config": { + "label": "Image Highlight Description" + } + } + }, + "label": "Image Highlight Group" + } + } } } \ No newline at end of file