lien admin dans navbar

This commit is contained in:
Vincent Ramiere 2022-03-22 12:49:35 +01:00
parent 4f5e6cd180
commit 200221dc5c

View File

@ -1,12 +1,12 @@
<nav class="navbar sticky-top navbar-expand-lg navbar-light bg-light shadow "> <nav class="navbar sticky-top navbar-expand-lg navbar-light bg-light shadow ">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand" href="#">🪴 La Belle Plante</a> <a class="navbar-brand" href="#">🪴 La Belle Plante</a>
<button class="navbar-toggler" <button class="navbar-toggler"
type="button" type="button"
data-bs-toggle="collapse" data-bs-toggle="collapse"
data-bs-target="#navbarNavAltMarkup" data-bs-target="#navbarNavAltMarkup"
aria-controls="navbarNavAltMarkup" aria-controls="navbarNavAltMarkup"
aria-expanded="false" aria-expanded="false"
aria-label="Toggle navigation"> aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> </button>
@ -17,6 +17,7 @@
<a routerLink="account/signin" routerLinkActive="active-custom" class="nav-link">Se connecter</a> <a routerLink="account/signin" routerLinkActive="active-custom" class="nav-link">Se connecter</a>
<a routerLink="account/user" routerLinkActive="active-custom" class="nav-link">Mon compte</a> <a routerLink="account/user" routerLinkActive="active-custom" class="nav-link">Mon compte</a>
<a class="nav-link">Panier</a> <a class="nav-link">Panier</a>
<a routerLink="admin" routerLinkActive="active-custom" class="nav-link">Admin</a>
<a class="nav-link disabled">Plus d'option bientôt</a> <a class="nav-link disabled">Plus d'option bientôt</a>
<a class="nav-link disabled" *ngIf="likeCounter == 0"> Pas de plante likée</a> <a class="nav-link disabled" *ngIf="likeCounter == 0"> Pas de plante likée</a>
<a class="nav-link disabled" *ngIf="likeCounter == 1">Plante likée : {{ likeCounter }}</a> <a class="nav-link disabled" *ngIf="likeCounter == 1">Plante likée : {{ likeCounter }}</a>