{#- Home hero. With site.hero: the photo beside the text panel (right half from 48rem, above it on a phone). Without it: the brand colour with the ornament pattern and a large emblem. Optional: hero_overlap (quick links follow and overlap the bottom edge), hero_eyebrow (replaces the greeting), hero_stats (true: figures of an authority's portal, blocks/portal-stats.html). -#} {% from "blocks/picture.html" import picture %} {% set c = site.contacts %}
{% if site.hero %}
{{ picture(site.hero, '(min-width: 48rem) 50vw, 100vw', true) }}
{% endif %}

{{ hero_eyebrow or t('home.welcome') }}

{{ site.name }}

{% if site.kind_label %}

{{ site.kind_label }}

{% endif %} {% if site.tagline %}

{{ site.tagline }}

{% endif %} {% if hero_stats %}{% include "blocks/portal-stats.html" %}{% endif %} {% if c and c.phone %}

{% set icon = 'phone' %}{% set icon_cls = '' %}{% include "blocks/icon.html" %}{{ t('contacts.phone') }}: {{ c.phone }}

{% endif %}
{% if not site.hero %}
{% set emblem_cls = 'emblem--hero' %}{% include "blocks/emblem.html" %}
{% endif %}