{# @description The landing page's opener: a hero as tall as the window, carrying the portal's name and what it is for. With a picture it is dimmed and the copy turns light. Without one it draws a background in the theme's own colours, so a portal that configures nothing still gets a finished hero. #} {# @prop eyebrow:text | description:"Short line above the title." #} {# @prop title:text | description:"The page's heading." #} {# @prop lead:text | description:"The sentence under the title." #} {# @prop image:text | description:"URL of a background picture. Left out, the hero draws the theme's colours." #} {# @prop logo:boolean | description:"Show the portal's logo above the title. Only without a picture: the logo is drawn for a light surface." #} {# @prop allow_registration:boolean | description:"Offer account creation under the buttons." #} {# @slot:actions — Replaces the two buttons. #} {% load i18n %} {% if image %} {% else %} {% endif %} {% if logo and not image %} {% endif %} {% if actions %} {{ actions }} {% else %} {% endif %} {% if allow_registration %} {% translate "New here?" %} {% translate "Create account" %} {% endif %} {% translate "Sign in" %}