Paulus Schoutsen d1ba03c328
Update get started link in hero to align with top nav (#34038)
We changed it from /getting-started/ to point to /installation/ but forgot to update the hero.
2024-07-31 12:36:21 +02:00

22 lines
718 B
HTML

<h1>Awaken<br><span class="line2">your home</span></h1>
<p class="lead">
{{ site.description }}
</p>
{%- assign tot = 0 -%}
{%- for comp in site.integrations -%}
{%- if comp.ha_category -%}
{%- if comp.ha_category.first -%}
{%- assign tot = tot | plus: comp.ha_category.size -%}
{%- else -%}
{%- assign tot = tot | plus: 1 -%}
{%- endif -%}
{%- endif %}
{%- endfor -%}
<p class='hero-buttons'>
<a href='/installation/' class="primary">Get started <iconify-icon inline icon='mdi:arrow-right'></iconify-icon></a><br/>
<a href='https://demo.home-assistant.io' target='_blank'>View live demos</a>
<a href='/integrations/'>Browse {{ tot | minus: 1 | divided_by: 100 | round | times: 100 }}+ integrations</a>
</p>