modif connexion
This commit is contained in:
parent
c082030aed
commit
55d122eeea
@ -1,4 +1,4 @@
|
|||||||
<app-search-bar></app-search-bar>
|
<app-search-bar *ngIf="router.url != '/signin'"></app-search-bar>
|
||||||
<app-nav-bar></app-nav-bar>
|
<app-nav-bar *ngIf="router.url != '/signin'"></app-nav-bar>
|
||||||
<router-outlet></router-outlet>
|
<router-outlet></router-outlet>
|
||||||
<app-footer ></app-footer>
|
<app-footer *ngIf="router.url != '/signin'"></app-footer>
|
||||||
|
@ -11,7 +11,7 @@ export class AppComponent {
|
|||||||
title = 'simpleat';
|
title = 'simpleat';
|
||||||
dontShow: boolean = false;
|
dontShow: boolean = false;
|
||||||
|
|
||||||
constructor(private router:Router, private apiBackService : ApiBackService){
|
constructor(public router:Router, private apiBackService : ApiBackService){
|
||||||
this.router.events.subscribe(e=>{
|
this.router.events.subscribe(e=>{
|
||||||
//console.log(e);
|
//console.log(e);
|
||||||
if(e instanceof NavigationEnd){
|
if(e instanceof NavigationEnd){
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<footer *ngIf="route.url != '/signin'" class="d-flex">
|
<footer class="d-flex">
|
||||||
|
|
||||||
<div class = "logo d-inline-flex align-items-center">
|
<div class = "logo d-inline-flex align-items-center">
|
||||||
<img src="../../assets/Logo_footer.png">
|
<img src="../../assets/Logo_footer.png">
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<nav class="navbar-expand-lg navbar-light">
|
<nav class="navbar-expand-lg navbar-light">
|
||||||
<div *ngIf="route.url != '/signin'" class="container-fluid">
|
<div class="container-fluid">
|
||||||
<button class="navbar-toggler"
|
<button class="navbar-toggler"
|
||||||
type="button"
|
type="button"
|
||||||
data-bs-toggle="collapse"
|
data-bs-toggle="collapse"
|
||||||
@ -10,7 +10,7 @@
|
|||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
</button>
|
</button>
|
||||||
<div class="collapse navbar-collapse justify-content-end" id="nav">
|
<div class="collapse navbar-collapse justify-content-end" id="nav">
|
||||||
<div *ngIf="route.url != '/signin'" class="navbar-nav ">
|
<div class="navbar-nav ">
|
||||||
<a routerLink="home" routerLinkActive="active-custom" class="nav-link p-4 pe-5 " style="font-size: 21px;">Accueil</a>
|
<a routerLink="home" routerLinkActive="active-custom" class="nav-link p-4 pe-5 " style="font-size: 21px;">Accueil</a>
|
||||||
<a routerLink="categories" routerLinkActive="active-custom" class="nav-link p-4 pe-5" style="font-size: 21px;">Categories</a>
|
<a routerLink="categories" routerLinkActive="active-custom" class="nav-link p-4 pe-5" style="font-size: 21px;">Categories</a>
|
||||||
<a routerLink="filtres" routerLinkActive="active-custom" class="nav-link p-4 pe-5" style="font-size: 21px;">Filtres</a>
|
<a routerLink="filtres" routerLinkActive="active-custom" class="nav-link p-4 pe-5" style="font-size: 21px;">Filtres</a>
|
||||||
@ -19,7 +19,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="route.url != '/signin'" id="image-header">
|
<div id="image-header">
|
||||||
<img src="assets/images-header/bandeau2.png" alt="fond_header">
|
<img src="assets/images-header/bandeau2.png" alt="fond_header">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<nav class="navbar navbar-light p-0">
|
<nav class="navbar navbar-light p-0">
|
||||||
<div *ngIf="route.url != '/signin'" class="container-fluid d-flex align-items-center pt-3">
|
<div class="container-fluid d-flex align-items-center pt-3">
|
||||||
<div *ngIf="route.url != '/signin'" class="logo ps-4">
|
<div class="logo ps-4">
|
||||||
<img src="assets/images-header/LOGO2.png" alt="logo">
|
<img src="assets/images-header/LOGO2.png" alt="logo">
|
||||||
</div>
|
</div>
|
||||||
<form style="width: 30%;" class="d-flex align-items-center pe-2 pt-2">
|
<form style="width: 30%;" class="d-flex align-items-center pe-2 pt-2">
|
||||||
|
Loading…
Reference in New Issue
Block a user