Skip to content

Commit

Permalink
navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Goulven.Furet authored and Goulven.Furet committed Nov 28, 2023
1 parent db24240 commit 5c4eec7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
12 changes: 6 additions & 6 deletions ui/src/main/resources/templates/inc/navbar-product.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ <h6 class="d-block mb-3 text-primary">Special</h6>


<li class="nav-item dropdown">
<a href="${url}" th:text="${product.brandAndModel()}" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" id="supportDropdown" aria-expanded="false"> <span class="fas fa-angle-down nav-link-arrow ms-1"></span></a>
<div class="dropdown-menu dropdown-megamenu px-0 py-2 p-lg-4" aria-labelledby="frontPagesDropdown">
<a href="${url}" th:text="${product.brandAndModel()}" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" id="productDropdown" aria-expanded="false"> <span class="fas fa-angle-down nav-link-arrow ms-1"></span></a>
<div class="dropdown-menu dropdown-megamenu px-0 py-2 p-lg-4" aria-labelledby="productDropdown">
<div class="row">
<div class="">
<ul class="list-style-none mb-4">
<li class="mb-2 megamenu-item"><a class="megamenu-link" href="./html/pages/about.html">Ecoscore et compensation environnementale</a></li>
<li class="mb-2 megamenu-item"><a class="megamenu-link" href="./html/pages/pricing.html">Informations produit</a></li>
<li class="mb-2 megamenu-item"><a class="megamenu-link" href="./html/pages/profile.html">Prix neufs et occasions</a></li>
<li class="mb-2 megamenu-item"><a class="megamenu-link" href="./html/pages/contact.html">Caracteristiques techniques</a></li>
<li class="mb-2 megamenu-item"><a class="megamenu-link" href="#markerEcoscore">Ecoscore et compensation environnementale</a></li>
<li class="mb-2 megamenu-item"><a class="megamenu-link" href="#markerInfosProduits">Informations produit</a></li>
<li class="mb-2 megamenu-item"><a class="megamenu-link" href="#markerPrices">Prix neufs et occasions</a></li>
<li class="mb-2 megamenu-item"><a class="megamenu-link" href="#markerCaracteristiques">Caracteristiques techniques</a></li>
</ul>

</div>
Expand Down
12 changes: 7 additions & 5 deletions ui/src/main/resources/templates/product.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

<main>

<div class="section section-lg pt-5 pt-md-7 bg-gray-200">
<div class="section section-lg pt-5 bg-gray-200">

<div class="container">
<div class="card shadow p-4">
Expand All @@ -64,7 +64,7 @@
<div th:if="${null != product.bestPrice()}" class="row mt-3">

<!--/* Best price */-->
<div class="col-sm-12 col-md-12 col-lg-6 mb-3">
<div id="markerEcoscore" class="col-sm-12 col-md-12 col-lg-6 mb-3">
<th:block th:insert="~{inc/product-ecoscore.html}"></th:block>
</div>

Expand All @@ -81,7 +81,7 @@


<div class = "row mt-3">
<div class="col-lg-6">
<div id="markerInfosProduits" class="col-lg-6">
<!-- Identity -->
<th:block th:insert="~{inc/product-referentiel-attributes.html}"></th:block>
</div>
Expand All @@ -107,11 +107,13 @@
*/-->

<!--/* Product all prices */-->
<th:block th:insert="~{inc/product-all-prices.html}"></th:block>
<div id="markerPrices">
<th:block th:insert="~{inc/product-all-prices.html}"></th:block>
</div>

<div class="row mt-3">
<!--/* Referentiel attributes */-->
<div class="col-lg-12">
<div id="markerCaracteristiques" class="col-lg-12">
<!--/* Fonctionnalites */-->
<div class="mt-3" th:if="${product.attributes.features.size > 0}" th:insert="~{inc/product-features.html}"></div>
</div>
Expand Down

0 comments on commit 5c4eec7

Please sign in to comment.