{% liquid if section.settings.line_1 != blank assign line_1 = section.settings.line_1 else assign line_1 = 'distributors.line_1' | t endif if section.settings.brand != blank assign brand = section.settings.brand else assign brand = 'distributors.brand' | t endif if section.settings.line_2 != blank assign line_2 = section.settings.line_2 else assign line_2 = 'distributors.line_2' | t endif if section.settings.text != blank assign text = section.settings.text else assign text = 'distributors.text' | t endif if section.settings.button_label != blank assign button_label = section.settings.button_label else assign button_label = 'distributors.button' | t endif assign photo_alt = 'distributors.photo_alt' | t %}
{% if section.settings.image != blank %} {{ section.settings.image | image_url: width: 1720 | image_tag: class: 'distributors__photo-image', alt: photo_alt, widths: '480, 800, 1200, 1720', sizes: '(max-width: 1024px) 92vw, 45vw', loading: 'lazy' }} {% else %} {{ photo_alt | escape }} {% endif %} {{ 'distributors.wordmark' | t }}

{{ line_1 | escape }} {{ brand | escape }} {{ line_2 | escape }}

{% if text != blank %}

{{ text | escape }}

{% endif %} {% if button_label != blank %} {% if section.settings.button_link != blank %} {{ button_label | escape }} {% else %} {{ button_label | escape }} {% endif %} {% endif %}
{% schema %} { "name": "t:distributors.name", "tag": "section", "class": "distributors-section", "disabled_on": { "groups": ["header", "footer"] }, "settings": [ { "type": "text", "id": "line_1", "label": "t:distributors.line_1", "default": "Lleva" }, { "type": "text", "id": "brand", "label": "t:distributors.brand", "default": "Seasons" }, { "type": "text", "id": "line_2", "label": "t:distributors.line_2", "default": "a más personas" }, { "type": "textarea", "id": "text", "label": "t:distributors.text", "default": "Súmate como distribuidor y forma parte de una marca mexicana de skincare que acompaña a cada persona a encontrar productos pensados para su rutina, sus necesidades y su forma de cuidarse." }, { "type": "text", "id": "button_label", "label": "t:distributors.button_label", "default": "Regístrate" }, { "type": "url", "id": "button_link", "label": "t:distributors.button_link" }, { "type": "image_picker", "id": "image", "label": "t:distributors.image", "info": "t:distributors.image_info" } ], "presets": [ { "name": "t:distributors.name" } ] } {% endschema %}