

<div {%- render 'section-attr' -%}>
  <div class='banner-v9'>
    <div class='banner-v9-inner'>
      <xo-tween
        target='.banner-v9__text'
        from='{ y: "100%" }'
        to='{ y: "0%" }'
        duration='0.6'
        ease='outCubic'
        delay='0.3'
        stagger='0.1'
      >
        <div class='banner-v9-content-wrapper'>
          <div class='banner-v9-content1 banner-v9__content__wrapper'>
            <div class='banner-v9__text banner-v9__text1'>{{ section.settings.text1 }}</div>
          </div>
          <div class='banner-v9-content__bottom'>
            <div class='banner-v9-content2'>
              <div class='banner-v9__content__wrapper'>
                <div class='banner-v9__text banner-v9__text2'>{{ section.settings.text2 }}</div>
              </div>
              <div class='banner-v9__content__wrapper'>
                <div class='banner-v9__text banner-v9__text3'>{{ section.settings.text3 }}</div>
              </div>
              <div class='banner-v9__content__wrapper'>
                <div class='banner-v9__text banner-v9__text4'>{{ section.settings.text4 }}</div>
              </div>
            </div>
            <div class='banner-v9-content3'>
              <div class='banner-v9__content__wrapper'>
                <a href='{{ section.settings.url1 }}' class='banner-v9__text banner-v9__text5'>{{ section.settings.text5 }}</a>
              </div>
              <div class='banner-v9__content__wrapper'>
                <a href='{{ section.settings.url2 }}' class='banner-v9__text banner-v9__text6'>{{ section.settings.text6 }}</a>
              </div>
            </div>
          </div>
        </div>
      </xo-tween>
      <xo-tween
        from='{ y: "20%", scale: 1.2 }'
        to='{ y: "0%", scale: 1 }'
        ease='outCubic'
        duration='1.4'
      >
        <div class='banner-v9__img'>
          {%- render 'image', image: section.settings.image, lazyload: false -%}
        </div>
      </xo-tween>

      <xo-tween
        from='{ y: "-10%", rotate: "5deg", scaleX: 2.5, scaleY: 1.5 }'
        to='{ y: "-100%", rotate: 0, scaleX: 1, scaleY: 1 }'
        ease='outQuart'
        duration='1.5'
      >
        <div class='banner-v9__overlay'></div>
      </xo-tween>
    </div>
  </div>
</div>

{% schema %}
{
  "name": "t:sections.banner_v9.name",
  "tag": "section",
  "class": "section",
  "settings": [
    {
      "type": "image_picker",
      "id": "image",
      "label": "t:sections.banner_v9.settings.image.label",
      "info": "t:sections.banner_v9.settings.image.info"
    },
    {
      "type": "header",
      "content": "t:sections.banner_v9.settings.header1.content"
    },
    {
      "type": "text",
      "id": "text1",
      "label": "t:sections.banner_v9.settings.text1.label",
      "default": "Paisana is a statement of life."
    },
    {
      "type": "header",
      "content": "t:sections.banner_v9.settings.header2.content"
    },
    {
      "type": "text",
      "id": "text2",
      "label": "t:sections.banner_v9.settings.text2.label",
      "default": "Creative studio crafting"
    },
    {
      "type": "text",
      "id": "text3",
      "label": "t:sections.banner_v9.settings.text3.label",
      "default": "beautiful experiences and"
    },
    {
      "type": "text",
      "id": "text4",
      "label": "t:sections.banner_v9.settings.text4.label",
      "default": "products for the greatest brands."
    },
    {
      "type": "header",
      "content": "t:sections.banner_v9.settings.header2.content"
    },
    {
      "type": "text",
      "id": "text5",
      "label": "t:sections.banner_v9.settings.text5.label",
      "default": "LinkedIn"
    },
    {
      "type": "url",
      "id": "url1",
      "label": "t:sections.banner_v9.settings.url1.label",
      "default": "/collections/all"
    },
    {
      "type": "text",
      "id": "text6",
      "label": "t:sections.banner_v9.settings.text6.label",
      "default": "Instagram"
    },
    {
      "type": "url",
      "id": "url2",
      "label": "t:sections.banner_v9.settings.url2.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": "select",
      "id": "background_type",
      "label": "t:sections.all.background_type.label",
      "options": [
        {
          "value": "color",
          "label": "t:sections.all.background_type.option__1.label"
        },
        {
          "value": "gradient",
          "label": "t:sections.all.background_type.option__2.label"
        },
        {
          "value": "image",
          "label": "t:sections.all.background_type.option__3.label"
        },
        {
          "value": "video",
          "label": "t:sections.all.background_type.option__4.label"
        }
      ],
      "default": "color"
    },
    {
      "type": "color",
      "id": "background_color",
      "label": "t:sections.all.background_color.label",
      "alpha": true,
      "visible_if": "{{ section.settings.background_type == 'color' }}"
    },
    {
      "type": "color_background",
      "id": "background_gradient",
      "label": "t:sections.all.background_gradient.label",
      "visible_if": "{{ section.settings.background_type == 'gradient' }}"
    },
    {
      "type": "number",
      "id": "background_margin",
      "label": "t:sections.all.background_margin.label",
      "default": 0
    },
    {
      "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 %}
