banner

display a banner with a background image, a title, a text and a button

Picture:

 

{ "title": "Banner", "type": "object", "properties": { "title": { "type": "object", "title": "Title", "properties": { "de": { "type": "string", "description": "value for German" }, "fr": { "type": "string", "description": "value for French" } } }, "img_desktop": { "type": "object", "title": "Desktop Image (path)", "properties": { "de": { "type": "string", "description": "path for German" }, "fr": { "type": "string", "description": "path for French" } } }, "img_mobile": { "type": "object", "title": "Mobile Image (path)", "properties": { "de": { "type": "string", "description": "path for German" }, "fr": { "type": "string", "description": "path for French" } } }, "text_html": { "type": "object", "title": "Text", "properties": { "de": { "type": "string", "format": "html", "options": { "wysiwyg": true }, "description": "html text for German" }, "fr": { "type": "string", "format": "html", "options": { "wysiwyg": true }, "description": "html text for French" } } }, "text_color": { "title": "Text color", "type": "string", "format": "color", "description": "Color for the text (use hex format like #ff0000, If empty, default color)" }, "text_alignment": { "title": "Text alignment", "type": "string", "enum": [ "left", "center", "right" ], "description": "Text position" }, "button_label": { "type": "object", "title": "Button Label", "properties": { "de": { "type": "string", "description": "value for German" }, "fr": { "type": "string", "description": "value for French" } } }, "button_color": { "title": "Button color", "type": "string", "format": "color", "description": "Color for the text (use hex format like #ff0000, If empty, default color)" }, "fine_print": { "type": "object", "title": "Fine print", "description": "Desktop positioning lower end / Mobile : out of the banner below", "properties": { "de": { "type": "string", "description": "value for German" }, "fr": { "type": "string", "description": "value for French" } } }, "link": { "type": "object", "title": "Banner target (URL)", "properties": { "de": { "type": "string", "description": "target URL in German" }, "fr": { "type": "string", "description": "target URL in French" } } }, "accessor": { "type": "string", "description": "hits accessor (typically leave empty)" } } }

Complete Layout Block: