{# @description One question to a screen, in large type, with the logo in a bar across the top. For asking who somebody is before asking how they want to prove it. #} {# @prop eyebrow:text | description:"Short line above the question. Where the reader is: Step 1 of 2." #} {# @prop title:text | default:"What is your email address?" | description:"The question. Use the title slot when it contains markup, which it does when it is the label of the field below it." #} {# @prop lead:text | description:"The sentence under the question" #} {# @prop level:select['1', '2', '3', '4', '5', '6'] | default:"1" | description:"Heading level. 1 is right when this is the whole page." #} {# @prop divider:text | description:"The word between the answer and the provider buttons. Left empty, it is a translated or." #} {# @prop class:text | description:"Extra classes on the outer section" #} {# @slot:background — A background block, rendered into a layer behind the page #} {# @slot:logo — The application's logo, at the leading end of the top bar #} {# @slot:nav — The trailing end of the top bar. The link to the sign-up page, or the way back a step. #} {# @slot:providers — Buttons that skip the question: third-party providers, a passkey. Drawn under the answer. #} {# @slot:footer — Small print under everything #} {# @slot The answer — One field and its button, or the list of ways to continue. #} {% load i18n %}
{% if background %} {% endif %}
{{ logo }}
{% if nav %}
{{ nav }}
{% endif %}
{% if eyebrow %}

{{ eyebrow }}

{% endif %} {# djlint:off #} {% if title %}{{ title }}{% endif %} {# djlint:on #} {% if lead %}

{{ lead }}

{% endif %}
{{ slot }} {% if providers %} {% if divider %}{{ divider }}{% else %}{% translate "or" %}{% endif %}
{{ providers }}
{% endif %} {% if footer %}
{{ footer }}
{% endif %}