Commit f882a37f authored by Mat's avatar Mat
Browse files

Adaptation de la navigation latérale

parent edcb1979
......@@ -38,7 +38,8 @@
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="{{ path('potage_offre_ajax_display') }}">Les offres</a>
<a class="dropdown-item disabled" href="#">Les infoslettres</a>
<a class="dropdown-item" href="{{ path('potage_lettre_ajax_display') }}">Les infoslettres</a>
<a class="dropdown-item" href="{{ path('potage_info_ajax_display') }}">Les infos</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item disabled" href="#">Les commandes</a>
......
......@@ -16,9 +16,7 @@
</div>
<span id="rebours"></span>
</form>
<b>
<a href="{{ path('potage_offre_ajax_display') }}" class="nav-laterale right text-secondary">Les offres<i class="fas fa-long-arrow-alt-right fa-fw"></i></a>
</b>
<a href="{{ path('potage_offre_ajax_display') }}" class="nav-laterale right text-secondary">Les offres <i class="fas fa-long-arrow-alt-right fa-fw"></i></a>
</nav>
{% endblock %}
......
......@@ -5,7 +5,10 @@
{% endblock %}
{% block searchbar %}
<nav class="navbar navbar-expand-lg navbar-light bg-light navbar-search"></nav>
<nav class="navbar navbar-expand-lg navbar-light bg-light navbar-search">
<a href="{{ path('potage_offre_ajax_display') }}" class="nav-laterale left text-secondary"><i class="fas fa-long-arrow-alt-left fa-fw"></i> Les offres</a>
</nav>
{% endblock %}
{% block headerContent %}
......
......@@ -15,10 +15,8 @@
aria-label="LargeSearch" aria-describedby="inputGroup-sizing-sm">
</div>
</form>#}
<b>
<a href="{{ path('potage_legume_ajax_display') }}" class="nav-laterale left text-secondary"><i class="fas fa-long-arrow-alt-left fa-fw"></i>Les légumes</a>
<a href="#" class="nav-laterale right text-secondary">Les infolettres<i class="fas fa-long-arrow-alt-right fa-fw"></i></a>
</b>
<a href="{{ path('potage_legume_ajax_display') }}" class="nav-laterale left text-secondary"><i class="fas fa-long-arrow-alt-left fa-fw"></i>Les légumes</a>
<a href="{{ path('potage_lettre_ajax_display') }}" class="nav-laterale right text-secondary">Les infolettres<i class="fas fa-long-arrow-alt-right fa-fw"></i></a>
</nav>
{% endblock %}
......
......@@ -16,12 +16,10 @@
</div>
</form>
<div class="nav-laterale left">
<b>
<a href="{{ path('potage_legume_ajax_display') }}" class="text-secondary">
<i class="fas fa-long-arrow-alt-up fa-fw" style="transform: rotate(-45deg);"></i>Les légumes</a>
<a href="{{ path('potage_offre_ajax_display') }}" class="text-secondary">
<i class="fas fa-long-arrow-alt-up fa-fw"></i> Toutes les offres</a>
</b>
<a href="{{ path('potage_legume_ajax_display') }}" class="text-secondary">
<i class="fas fa-long-arrow-alt-up fa-fw" style="transform: rotate(-45deg);"></i>Les légumes</a>
<a href="{{ path('potage_offre_ajax_display') }}" class="text-secondary">
<i class="fas fa-long-arrow-alt-up fa-fw"></i> Toutes les offres</a>
</div>
</nav>
{% endblock %}
......
......@@ -33,6 +33,7 @@ nav.navbar-search {
position: absolute;
bottom: 0.3em;
text-shadow: 0px 0px 4px white;
font-weight: bold;
}
.nav-laterale.left {
left: 0.3em;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment