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

<section {% render 'section-attr' %}>
  {% render 'section-bg-image' %}
  <xo-container>
    <div class='banner-v262'>
      <h1 class='banner-v262__heading'>{{ section.settings.title }}</h1>
      <div class='banner-v262__description'>{{ section.settings.subtitle }}</div>
    </div>
  </xo-container>
</section>

{% schema %}
{
  "name": "t:sections.banner_v14.name",
  "tag": "section",
  "class": "section",
  "settings": [
    {
      "type": "text",
      "id": "title",
      "label": "t:sections.banner_v14.settings.title.label",
      "info": "Insert <br> to break the line."
    },
    {
      "type": "text",
      "id": "subtitle",
      "label": "t:sections.banner_v14.settings.subtitle.label",
      "info": "Insert <br> to break the line."
    },
    {
      "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_v14.presets.name"
    }
  ]
}
{% endschema %}
