{{ 'section-banner-v4.css' | asset_url | stylesheet_tag }}

<div {% render 'section-attr' %}>
  {% render 'section-bg-image' %}
  <xo-container
    {% render 'section-layout' %}
  >
    <div class='banner-v53'>
      <xo-grid style='--xs: 1; --md: 1; --lg: 2; --xo-grid-col-gap: {{ section.settings.gap }}px; --xo-grid-row-gap: {{ section.settings.gap }}px'>
        <div class='banner-v53__left'>
          <xo-animate xo-cascade class='banner-v53__item'>
            <a class='{% render 'hover-style' %} banner-v53__img' href='{{ section.settings.link1 }}'>
              {% render 'image', image: section.settings.image1 %}
            </a>
            <div class='banner-v53__content'>
              <div class='banner-v166__subtitle'>{{ section.settings.subtitle1 }}</div>
              <h3 class='banner-v53__title banner-v53__title--large'>{{ section.settings.title1 }}</h3>
              {% render 'button',
                text: section.settings.button1_text,
                link: section.settings.link1,
                mode: section.settings.button1_mode,
                style: section.settings.button1_style,
                size: section.settings.button1_size,
                radius: section.settings.button1_radius,
                padding: section.settings.button1_padding
              %}
            </div>
          </xo-animate>
        </div>
        <div class='banner-v53__right' style='--gap: {{ section.settings.gap }}px'>
          <xo-animate xo-cascade class='banner-v53__item'>
            <a class='{% render 'hover-style' %} banner-v53__img' href='{{ section.settings.link2 }}'>
              {% render 'image', image: section.settings.image2 %}
            </a>
            <div class='banner-v53__content'>
              <div class='banner-v166__subtitle'>{{ section.settings.subtitle2 }}</div>
              <h3 class='banner-v53__title'>{{ section.settings.title2 }}</h3>
              {% render 'button',
                text: section.settings.button2_text,
                link: section.settings.link2,
                mode: section.settings.button2_mode,
                style: section.settings.button2_style,
                size: section.settings.button2_size,
                radius: section.settings.button2_radius,
                padding: section.settings.button2_padding
              %}
            </div>
          </xo-animate>
          <xo-animate xo-cascade class='banner-v53__item'>
            <a class='{% render 'hover-style' %} banner-v53__img' href='{{ section.settings.link4 }}'>
              {% render 'image', image: section.settings.image4 %}
            </a>
            <div class='banner-v53__content banner-v53__content--top-center'>
              <h3 class='banner-v53__title banner-v53__title--centered'>{{ section.settings.title4 }}</h3>
              <div class='banner-v166__subtitle'>{{ section.settings.subtitle4 }}</div>
            </div>
          </xo-animate>
          <xo-animate xo-cascade class='banner-v53__item'>
            <a class='{% render 'hover-style' %} banner-v53__img' href='{{ section.settings.link3 }}'>
              {% render 'image', image: section.settings.image3 %}
            </a>
            <div class='banner-v53__content'>
              <div class='banner-v166__subtitle'>{{ section.settings.subtitle3 }}</div>
              <h3 class='banner-v53__title'>{{ section.settings.title3 }}</h3>
              {% render 'button',
                text: section.settings.button3_text,
                link: section.settings.link3,
                mode: section.settings.button3_mode,
                style: section.settings.button3_style,
                size: section.settings.button3_size,
                radius: section.settings.button3_radius,
                padding: section.settings.button3_padding
              %}
            </div>
          </xo-animate>
        </div>
      </xo-grid>
    </div>
  </xo-container>
</div>

{% schema %}
{
  "name": "t:sections.banner_v4.name",
  "tag": "section",
  "class": "section",
  "settings": [
    {
      "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": "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": "range",
      "id": "gap",
      "min": 0,
      "max": 100,
      "step": 1,
      "unit": "px",
      "label": "t:sections.banner_v4.settings.gap.label",
      "default": 0
    },
    {
      "type": "header",
      "content": "t:sections.banner_v4.settings.header.content1"
    },
    {
      "type": "image_picker",
      "id": "image1",
      "label": "t:sections.banner_v4.settings.image.label",
      "info": "t:sections.banner_v4.settings.image.info1"
    },
    {
      "type": "text",
      "id": "subtitle1",
      "default": "Street style",
      "label": "t:sections.banner_v4.settings.subtitle.label"
    },
    {
      "type": "text",
      "id": "title1",
      "label": "t:sections.banner_v4.settings.title.label",
      "default": "Sneaker Shop"
    },
    {
      "type": "url",
      "id": "link1",
      "label": "t:sections.banner_v4.settings.link.label",
      "default": "/collections/all"
    },
    {
      "type": "header",
      "content": "t:sections.all.button_heading.content"
    },
    {
      "type": "text",
      "id": "button1_text",
      "label": "t:sections.all.button_text.label",
      "default": "ALL PRODUCTS"
    },
    {
      "type": "select",
      "id": "button1_mode",
      "label": "t:sections.all.button_mode.label",
      "options": [
        {
          "value": "light",
          "label": "t:sections.all.button_mode.option__1.label"
        },
        {
          "value": "dark",
          "label": "t:sections.all.button_mode.option__2.label"
        },
        {
          "value": "accent",
          "label": "t:sections.all.button_mode.option__3.label"
        }
      ],
      "default": "light"
    },
    {
      "type": "select",
      "id": "button1_style",
      "label": "t:sections.all.button_style.label",
      "options": [
        {
          "value": "primary",
          "label": "t:sections.all.button_style.option__1.label"
        },
        {
          "value": "secondary",
          "label": "t:sections.all.button_style.option__2.label"
        },
        {
          "value": "tertiary",
          "label": "t:sections.all.button_style.option__3.label"
        },
        {
          "value": "link",
          "label": "t:sections.all.button_style.option__4.label"
        }
      ],
      "default": "secondary"
    },
    {
      "type": "select",
      "id": "button1_size",
      "label": "t:sections.all.button_size.label",
      "options": [
        {
          "value": "xs",
          "label": "t:sections.all.button_size.option__0.label"
        },
        {
          "value": "sm",
          "label": "t:sections.all.button_size.option__1.label"
        },
        {
          "value": "md",
          "label": "t:sections.all.button_size.option__2.label"
        },
        {
          "value": "lg",
          "label": "t:sections.all.button_size.option__3.label"
        }
      ],
      "default": "sm"
    },
    {
      "type": "range",
      "id": "button1_radius",
      "label": "t:sections.all.button_radius.label",
      "max": 4,
      "min": 0,
      "step": 0.2,
      "unit": "rem",
      "default": 0.8
    },
    {
      "type": "range",
      "id": "button1_padding",
      "label": "t:sections.all.button_padding.label",
      "info": "t:sections.all.button_padding.info",
      "max": 10,
      "min": 0,
      "step": 0.2,
      "unit": "rem",
      "default": 1.4
    },
    {
      "type": "header",
      "content": "t:sections.banner_v4.settings.header.content2"
    },
    {
      "type": "image_picker",
      "id": "image2",
      "label": "t:sections.banner_v4.settings.image.label",
      "info": "t:sections.banner_v4.settings.image.info2"
    },
    {
      "type": "text",
      "id": "subtitle2",
      "default": "Street style",
      "label": "t:sections.banner_v4.settings.subtitle.label"
    },
    {
      "type": "text",
      "id": "title2",
      "label": "t:sections.banner_v4.settings.title.label",
      "default": "Watches Shop"
    },
    {
      "type": "url",
      "id": "link2",
      "label": "t:sections.banner_v4.settings.link.label",
      "default": "/collections/all"
    },
    {
      "type": "header",
      "content": "t:sections.all.button_heading.content"
    },
    {
      "type": "text",
      "id": "button2_text",
      "label": "t:sections.all.button_text.label",
      "default": "ALL PRODUCTS"
    },
    {
      "type": "select",
      "id": "button2_mode",
      "label": "t:sections.all.button_mode.label",
      "options": [
        {
          "value": "light",
          "label": "t:sections.all.button_mode.option__1.label"
        },
        {
          "value": "dark",
          "label": "t:sections.all.button_mode.option__2.label"
        },
        {
          "value": "accent",
          "label": "t:sections.all.button_mode.option__3.label"
        }
      ],
      "default": "light"
    },
    {
      "type": "select",
      "id": "button2_style",
      "label": "t:sections.all.button_style.label",
      "options": [
        {
          "value": "primary",
          "label": "t:sections.all.button_style.option__1.label"
        },
        {
          "value": "secondary",
          "label": "t:sections.all.button_style.option__2.label"
        },
        {
          "value": "tertiary",
          "label": "t:sections.all.button_style.option__3.label"
        },
        {
          "value": "link",
          "label": "t:sections.all.button_style.option__4.label"
        }
      ],
      "default": "secondary"
    },
    {
      "type": "select",
      "id": "button2_size",
      "label": "t:sections.all.button_size.label",
      "options": [
        {
          "value": "xs",
          "label": "t:sections.all.button_size.option__0.label"
        },
        {
          "value": "sm",
          "label": "t:sections.all.button_size.option__1.label"
        },
        {
          "value": "md",
          "label": "t:sections.all.button_size.option__2.label"
        },
        {
          "value": "lg",
          "label": "t:sections.all.button_size.option__3.label"
        }
      ],
      "default": "sm"
    },
    {
      "type": "range",
      "id": "button2_radius",
      "label": "t:sections.all.button_radius.label",
      "max": 4,
      "min": 0,
      "step": 0.2,
      "unit": "rem",
      "default": 0.8
    },
    {
      "type": "range",
      "id": "button2_padding",
      "label": "t:sections.all.button_padding.label",
      "info": "t:sections.all.button_padding.info",
      "max": 10,
      "min": 0,
      "step": 0.2,
      "unit": "rem",
      "default": 1.4
    },
    {
      "type": "header",
      "content": "t:sections.banner_v4.settings.header.content3"
    },
    {
      "type": "image_picker",
      "id": "image3",
      "label": "t:sections.banner_v4.settings.image.label",
      "info": "t:sections.banner_v4.settings.image.info3"
    },
    {
      "type": "text",
      "id": "subtitle3",
      "default": "Street style",
      "label": "t:sections.banner_v4.settings.subtitle.label"
    },
    {
      "type": "text",
      "id": "title3",
      "label": "t:sections.banner_v4.settings.title.label",
      "default": "Sneaker Shop"
    },
    {
      "type": "url",
      "id": "link3",
      "label": "t:sections.banner_v4.settings.link.label",
      "default": "/collections/all"
    },
    {
      "type": "header",
      "content": "t:sections.all.button_heading.content"
    },
    {
      "type": "text",
      "id": "button3_text",
      "label": "t:sections.all.button_text.label",
      "default": "ALL PRODUCTS"
    },
    {
      "type": "select",
      "id": "button3_mode",
      "label": "t:sections.all.button_mode.label",
      "options": [
        {
          "value": "light",
          "label": "t:sections.all.button_mode.option__1.label"
        },
        {
          "value": "dark",
          "label": "t:sections.all.button_mode.option__2.label"
        },
        {
          "value": "accent",
          "label": "t:sections.all.button_mode.option__3.label"
        }
      ],
      "default": "light"
    },
    {
      "type": "select",
      "id": "button3_style",
      "label": "t:sections.all.button_style.label",
      "options": [
        {
          "value": "primary",
          "label": "t:sections.all.button_style.option__1.label"
        },
        {
          "value": "secondary",
          "label": "t:sections.all.button_style.option__2.label"
        },
        {
          "value": "tertiary",
          "label": "t:sections.all.button_style.option__3.label"
        },
        {
          "value": "link",
          "label": "t:sections.all.button_style.option__4.label"
        }
      ],
      "default": "secondary"
    },
    {
      "type": "select",
      "id": "button3_size",
      "label": "t:sections.all.button_size.label",
      "options": [
        {
          "value": "xs",
          "label": "t:sections.all.button_size.option__0.label"
        },
        {
          "value": "sm",
          "label": "t:sections.all.button_size.option__1.label"
        },
        {
          "value": "md",
          "label": "t:sections.all.button_size.option__2.label"
        },
        {
          "value": "lg",
          "label": "t:sections.all.button_size.option__3.label"
        }
      ],
      "default": "sm"
    },
    {
      "type": "range",
      "id": "button3_radius",
      "label": "t:sections.all.button_radius.label",
      "max": 4,
      "min": 0,
      "step": 0.2,
      "unit": "rem",
      "default": 0.8
    },
    {
      "type": "range",
      "id": "button3_padding",
      "label": "t:sections.all.button_padding.label",
      "info": "t:sections.all.button_padding.info",
      "max": 10,
      "min": 0,
      "step": 0.2,
      "unit": "rem",
      "default": 1.4
    },
    {
      "type": "header",
      "content": "t:sections.banner_v4.settings.header.content4"
    },
    {
      "type": "image_picker",
      "id": "image4",
      "label": "t:sections.banner_v4.settings.image.label",
      "info": "t:sections.banner_v4.settings.image.info4"
    },
    {
      "type": "text",
      "id": "title4",
      "label": "t:sections.banner_v4.settings.title.label",
      "default": "Sneaker Shop"
    },
    {
      "type": "text",
      "id": "subtitle4",
      "default": "Street style",
      "label": "t:sections.banner_v4.settings.subtitle.label"
    },
    {
      "type": "url",
      "id": "link4",
      "label": "t:sections.banner_v4.settings.link.label",
      "default": "/collections/all"
    },
    {
      "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": "image_picker",
      "id": "background_image_desktop",
      "label": "t:sections.all.background_image_desktop.label"
    },
    {
      "type": "image_picker",
      "id": "background_image_mobile",
      "label": "t:sections.all.background_image_mobile.label"
    },
    {
      "type": "checkbox",
      "id": "use_parallax",
      "label": "t:sections.all.use_parallax.label",
      "default": true
    },
    {
      "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_v4.presets.name"
    }
  ]
}
{% endschema %}
