website/_includes/header.html
2022-09-09 18:11:19 +02:00

33 lines
1.4 KiB
HTML

<navbar class="navbar site-header pt-2 pb-2 pl-0 pr-0 p-sm-0 sticky-top">
<div class="container">
<a class="site-title" href="{{ site.baseurl }}/">
{%- capture alt_logo_extended_dark %}
{%- t meta.alt.logo_extended_dark %}
{%- endcapture %}
{% asset logo-extended.webp @magick:double height='30' alt="{{ alt_logo_extended_dark }}" %}
</a>
<nav class="my-2 d-none d-lg-block">
<a class="text-white" id="button-search" href="#search-input"><i class="fa fa-search"></i></a>
<a class="p-2 text-white" href="{% translate_link aboutus %}">{% t buttons.about_us %}</a>
<a class="p-2 text-white" href="{% translate_link services-and-products %}">{% t buttons.services_and_products %}</a>
<a class="btn btn-primary ml-3 text-white" href="{% translate_link contactus %}">{% t buttons.contactsus %}</a>
{% if site.lang == "it" %}
<a class="ml-3 text-decoration-none" href="{% translate_link {{ page.namespace }} en %}">🇬🇧</a>
{% else %}
<a class="ml-3 text-decoration-none" href="{% translate_link {{ page.namespace }} it %}">🇮🇹</a>
{% endif %}
</nav>
<a class="d-block d-lg-none" href="javascript:openNav();">
<i class="fa-menu"></i>
</a>
</div>
</navbar>