{% import "./text.html" %} {% import "./image-icon.html" %} {% import "./carousel.html" %} {% macro testimonialComponent(data = {}) %} {% set args = { "visible" : true, "customer" : "", "company" : "", "image": "", "title" : "", "text" : "", "layout" : { "show_image": true, "show_name" : true, "show_company" : true, "show_title" : true }, "contentClass": "", "alignment" : 'start', "class" : '' } %} {% do args.update(data) %} {% set itemClass = ['testimonial-item'] %} {% do args.class ? itemClass.append(args.class) : '' %} {% if !!args.visible %}
{{ args.text }}