

<div {% render 'section-attr' %}>
  <div class='banner-v9'>
    <xo-container {% render 'section-layout' %}>
      <div class='banner-v9__title'>{{ section.settings.title }}</div>
      <xo-grid class='banner-v9__grid'>
        <div style='--xs: 12; --md: 3;' class='banner-v9__left'>
          <div class='banner-v9__text'>{{ section.settings.text1 }}</div>
          <a href='{{ section.settings.url1 }}' class='banner-v9__sm-img {% render 'hover-style' %}'>
            {%- render 'image', image: section.settings.img1 -%}
          </a>
        </div>
        <div style='--xs: 12; --md: 6;' class='banner-v9__mid'>
          <a href='{{ section.settings.url2 }}' class='banner-v9__lg-img {% render 'hover-style' %}'>
            {%- render 'image', image: section.settings.img2 -%}
          </a>
        </div>
        <div style='--xs: 12; --md: 3;' class='banner-v9__right'>
          <a href='{{ section.settings.url3 }}' class='banner-v9__sm-img {% render 'hover-style' %}'>
            {%- render 'image', image: section.settings.img3 -%}
          </a>
          <div class='banner-v9__text'>{{ section.settings.text2 }}</div>
        </div>
      </xo-grid>
    </xo-container>
  </div>
</div>

{% schema %}
{
  "name": "t:sections.banner_v9.name",
  "tag": "section",
  "class": "section",
  "settings": [
    {
      "type": "select",
      "id": "width",
      "label": "t:sections.all.width.label",
      "default": "box",
      "options": [
        {
          "value": "box",
          "label": "t:sections.all.width.options__1.label"
        },
        {
          "value": "wide",
          "label": "t:sections.all.width.options__2.label"
        },
        {
          "value": "fullwidth",
          "label": "t:sections.all.width.options__3.label"
        }
      ]
    },
    {
      "type": "select",
      "id": "hover",
      "label": "t:sections.all.hover.label",
      "default": "scale_up",
      "options": [
        {
          "value": "scale_up",
          "label": "t:sections.all.hover.option__1.label"
        },
        {
          "value": "scale_down",
          "label": "t:sections.all.hover.option__2.label"
        },
        {
          "value": "rotate",
          "label": "t:sections.all.hover.option__3.label"
        },
        {
          "value": "slide_up",
          "label": "t:sections.all.hover.option__4.label"
        },
        {
          "value": "ripple",
          "label": "t:sections.all.hover.option__5.label"
        },
        {
          "value": "black_white",
          "label": "t:sections.all.hover.option__6.label"
        },
        {
          "value": "shake",
          "label": "t:sections.all.hover.option__7.label"
        }
      ]
    },
    {
      "type": "text",
      "id": "title",
      "label": "t:sections.banner_v9.settings.title.label",
      "default": "Title"
    },
    {
      "type": "text",
      "id": "text1",
      "label": "t:sections.banner_v9.settings.text1.label",
      "default": "TEXT 1"
    },
    {
      "type": "image_picker",
      "id": "img1",
      "label": "t:sections.banner_v9.settings.img1.label",
      "info": "Support jpg, jpeg, png, svg, gif"
    },
    {
      "type": "image_picker",
      "id": "img2",
      "label": "t:sections.banner_v9.settings.img2.label",
      "info": "Support jpg, jpeg, png, svg, gif"
    },
    {
      "type": "image_picker",
      "id": "img3",
      "label": "t:sections.banner_v9.settings.img3.label",
      "info": "Support jpg, jpeg, png, svg, gif"
    },
    {
      "type": "text",
      "id": "text2",
      "label": "t:sections.banner_v9.settings.text2.label",
      "default": "TEXT 2"
    },
    {
      "type": "header",
      "content": "t:sections.all.heading.content"
    },
    {
      "type": "color_scheme",
      "id": "color_scheme",
      "label": "t:sections.all.color_scheme.label"
    },
    {
      "type": "color",
      "id": "background_color",
      "label": "t:sections.all.bg_color.label"
    },
    {
      "type": "color_background",
      "id": "background_gradient",
      "label": "t:sections.all.bg_gradient.label"
    },
    {
      "type": "number",
      "id": "padding_top",
      "label": "t:sections.all.padding_top.label",
      "default": 50
    },
    {
      "type": "number",
      "id": "padding_bottom",
      "label": "t:sections.all.padding_bottom.label",
      "default": 50
    }
  ],
  "presets": [
    {
      "name": "t:sections.banner_v9.presets.name"
    }
  ]
}
{% endschema %}
