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

<div class='banner-v6'>
  <section class='banner-v6__lottie-container'>
    <div class='banner-v6__animation'>
      <xo-video-cover class='banner-v6__video' loop xo-autoplay='true' xo-src='{{ section.settings.video_url }}'></xo-video-cover>
    </div>
    <div class='banner-v6__subtext'>
      <div class='banner-v6__sub'>{{ section.settings.subtext1 }}</div>
      <div class='banner-v6__sub'>{{ section.settings.subtext2 }}</div>
      <div class='banner-v6__sub'>{{ section.settings.subtext3 }}</div>
    </div>
    <section class='banner-v6__marquee'>
      <div class='banner-v6__marquee-inner'>
        <div class='marquee-v6__marquee-part'>{{ section.settings.text_marquee }}</div>
      </div>
    </section>
  </section>
  <section class='banner-v6__gradient'></section>
  <section class='banner-v6__website-content'>
    <div class='banner-v6__end-lottie'></div>
    <div class='banner-v6__text1'>{{ section.settings.text1 }}</div>
    <div class='banner-v6__text2'>{{ section.settings.text2 }}</div>
  </section>
</div>

{% schema %}
{
  "name": "t:sections.banner_v6.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"
        },
        {
          "value": "sidepadding",
          "label": "t:sections.all.width.options__4.label"
        }
      ]
    },
    {
      "type": "textarea",
      "id": "video_url",
      "label": "t:sections.banner_v6.settings.video_url.label"
    },
    {
      "type": "text",
      "id": "text_marquee",
      "label": "t:sections.banner_v6.settings.text_marquee.label",
      "default": "Overtake time with us"
    },
    {
      "type": "text",
      "id": "subtext1",
      "label": "t:sections.banner_v6.settings.subtext1.label",
      "default": "modern"
    },
    {
      "type": "text",
      "id": "subtext2",
      "label": "t:sections.banner_v6.settings.subtext2.label",
      "default": "high quality"
    },
    {
      "type": "text",
      "id": "subtext3",
      "label": "t:sections.banner_v6.settings.subtext3.label",
      "default": "trending"
    },
    {
      "type": "header",
      "content": "t:sections.banner_v6.settings.header1.label"
    },
    {
      "type": "text",
      "id": "text1",
      "label": "t:sections.banner_v6.settings.text1.label",
      "default": "This is ESE"
    },
    {
      "type": "text",
      "id": "text2",
      "label": "t:sections.banner_v6.settings.text2.label",
      "default": "Lorem ipsum dolor sit amet consectetur adipisicing elit. Veritatis sequi blanditiis repellat, illum explicabo quo similique harum alias nemo dolorem?"
    }
  ],
  "presets": [
    {
      "name": "t:sections.banner_v6.presets.name"
    }
  ]
}
{% endschema %}
