{{ 'section-main-password-footer.css' | asset_url | stylesheet_tag }}

<div {% render 'section-attr' %}>
  <div class='password-footer'>
    <p>{{ section.settings.have_own_store }}</p>
    {% assign text = section.settings.login_here %}
    {% assign link = section.settings.login_here_lin %}
    {% render 'button', text: text, link: routes.account_login_url, size: 'sm', style: 'link' %}
  </div>
</div>

{% schema %}
{
  "name": "t:sections.main_password_footer.name",
  "settings": [
    {
      "type": "text",
      "id": "have_own_store",
      "label": "Have own store",
      "default": "Are you the store owner?"
    },
    {
      "type": "text",
      "id": "login_here",
      "label": "Login here",
      "default": "Login here"
    },
    {
      "type": "url",
      "id": "login_here_link",
      "label": "Link"
    },
    {
      "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
    }
  ]
}
{% endschema %}
