2022-01-29 13:42:09 +00:00
|
|
|
<nav aria-label="navigation-section" class="navbar w-full relative" role="navigation">
|
|
|
|
<div class="w-full flex flex-row items-center justify-between py-1.5 px-8 text-garage-gray bg-garage-orange bg-opacity-20">
|
2022-01-27 14:03:27 +00:00
|
|
|
<div class="navbar-brand">
|
|
|
|
<a class="hover:rounded-full hover:bg-white" href="{{config.base_url}}">
|
2022-01-27 17:10:37 +00:00
|
|
|
<img class="px-2 transform duration-150 focus:bg-white hover:bg-white hover:shadow rounded-lg"
|
|
|
|
src="{{ config.extra.organization.logo_horizontal }}" width="120px">
|
2022-01-27 14:03:27 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
2022-01-29 13:42:09 +00:00
|
|
|
<input type="checkbox" id="navMenuToggleBtn" value="0"/>
|
|
|
|
<label for="navMenuToggleBtn" class="md:hidden p-1.5 hover:bg-white rounded-lg hover:shadow cursor-pointer" style="margin-top:0.08rem;">
|
|
|
|
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h7"></path></svg>
|
|
|
|
</label>
|
|
|
|
<div class="hidden py-4 md:py-0 z-40 md:block absolute md:static top-12 left-0 right-0 navbar-menu bg-gray-100 shadow-md md:shadow-none md:bg-transparent" id="navMenu">
|
2022-01-27 17:10:37 +00:00
|
|
|
<div class="flex items-center justify-center space-x-2">
|
2022-01-27 14:03:27 +00:00
|
|
|
{% for item in config.extra.navbar_items %}
|
|
|
|
{% if lang == item.code %}
|
|
|
|
{% for nav in item.nav_items %}
|
2022-01-27 17:10:37 +00:00
|
|
|
<a class="font-semibold focus:bg-white hover:bg-white hover:shadow px-3 py-1 rounded-lg"
|
2022-01-27 14:03:27 +00:00
|
|
|
href="{{ nav.url | replace(from='$BASE_URL', to=config.base_url) }}">
|
|
|
|
{{ nav.name }}
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
2022-01-31 17:43:17 +00:00
|
|
|
<a
|
2022-01-27 14:03:27 +00:00
|
|
|
id="nav-search-btn"
|
2022-01-31 17:43:17 +00:00
|
|
|
href="javascript:openSearchModal()"
|
2022-01-27 14:03:27 +00:00
|
|
|
type="button"
|
|
|
|
title="Open Search (alt + S)"
|
|
|
|
class="focus:bg-white hover:bg-white hover:shadow px-4 py-2 rounded-lg">
|
2022-01-31 17:43:17 +00:00
|
|
|
<svg id="nav-search-btn-icon" class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
|
|
|
|
</svg>
|
|
|
|
</a>
|
2022-01-27 17:10:37 +00:00
|
|
|
<a
|
|
|
|
href="https://garagehq.deuxfleurs.fr/_releases.html"
|
2022-01-28 00:20:33 +00:00
|
|
|
class="group flex items-center justify-center space-x-1 font-semibold shadow hover:shadow px-2 py-1.5 rounded text-white transition-all duration-500 bg-gradient-to-tl from-garage-orange via-orange-500 to-orange-300 bg-size-200 bg-pos-0 hover:bg-pos-100">
|
|
|
|
<svg class="w-6 h-6 animate-pulse" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M9 19l3 3m0 0l3-3m-3 3V10"></path></svg>
|
2022-01-29 13:42:09 +00:00
|
|
|
<span class="hidden md:inline">Download</span>
|
2022-01-27 17:10:37 +00:00
|
|
|
</a>
|
2022-01-27 14:03:27 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|