diff --git a/src/app/app.component.html b/src/app/app.component.html
index 9ed91c3..cc2f543 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -1,4 +1,4 @@
-
-
+
+
-
+
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index 1768ea4..e8da6fd 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -1,4 +1,5 @@
import { Component } from '@angular/core';
+import { NavigationEnd, Router } from '@angular/router';
@Component({
selector: 'app-root',
@@ -7,4 +8,19 @@ import { Component } from '@angular/core';
})
export class AppComponent {
title = 'simpleat';
+ dontShow: boolean = false;
+
+ constructor(private router:Router){
+ this.router.events.subscribe(e=>{
+ //console.log(e);
+ if(e instanceof NavigationEnd){
+ console.log(e.url)
+ if (e.url == "/signin") {
+ this.dontShow = false;
+ } else {
+ this.dontShow = true;
+ }
+ }
+ })
+ }
}
diff --git a/src/app/card-resto/card-resto.component.html b/src/app/card-resto/card-resto.component.html
index 7ade5b9..c4d50c4 100644
--- a/src/app/card-resto/card-resto.component.html
+++ b/src/app/card-resto/card-resto.component.html
@@ -2,14 +2,14 @@
style="width: 22rem;">
{{restaurant.nom }}
-
+
\ No newline at end of file
+
diff --git a/src/app/footer/footer.component.html b/src/app/footer/footer.component.html
index dd586aa..c0ed86d 100644
--- a/src/app/footer/footer.component.html
+++ b/src/app/footer/footer.component.html
@@ -1,14 +1,14 @@