{#- abai-school home hero: a «board». With site.hero: the photo across the page in a rounded frame and, over its lower left corner, a dark board card with the name (the text always sits on the card's own solid colour, never on the photo). Without it: the board alone, with the large emblem. Optional: hero_eyebrow (replaces the greeting), hero_stats (true: figures of an authority's portal, blocks/portal-stats.html from base). -#} {% from "blocks/picture.html" import picture %} {% set c = site.contacts %}
{% if site.hero %}
{{ picture(site.hero, '(min-width: 90rem) 84rem, 94vw', 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 %}