modif connexion

This commit is contained in:
Romain Verger 2022-03-02 12:40:21 +01:00
parent c082030aed
commit 55d122eeea
6 changed files with 11 additions and 11 deletions

View File

@ -1,4 +1,4 @@
<app-search-bar></app-search-bar>
<app-nav-bar></app-nav-bar>
<app-search-bar *ngIf="router.url != '/signin'"></app-search-bar>
<app-nav-bar *ngIf="router.url != '/signin'"></app-nav-bar>
<router-outlet></router-outlet>
<app-footer ></app-footer>
<app-footer *ngIf="router.url != '/signin'"></app-footer>

View File

@ -11,7 +11,7 @@ export class AppComponent {
title = 'simpleat';
dontShow: boolean = false;
constructor(private router:Router, private apiBackService : ApiBackService){
constructor(public router:Router, private apiBackService : ApiBackService){
this.router.events.subscribe(e=>{
//console.log(e);
if(e instanceof NavigationEnd){

View File

@ -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">
<img src="../../assets/Logo_footer.png">

View File

@ -1,5 +1,5 @@
<nav class="navbar-expand-lg navbar-light">
<div *ngIf="route.url != '/signin'" class="container-fluid">
<div class="container-fluid">
<button class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
@ -10,7 +10,7 @@
<span class="navbar-toggler-icon"></span>
</button>
<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="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>
@ -19,7 +19,7 @@
</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">
</div>

View File

@ -1,6 +1,6 @@
<nav class="navbar navbar-light p-0">
<div *ngIf="route.url != '/signin'" class="container-fluid d-flex align-items-center pt-3">
<div *ngIf="route.url != '/signin'" class="logo ps-4">
<div class="container-fluid d-flex align-items-center pt-3">
<div class="logo ps-4">
<img src="assets/images-header/LOGO2.png" alt="logo">
</div>
<form style="width: 30%;" class="d-flex align-items-center pe-2 pt-2">