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 adcaf0e..e8da6fd 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -8,11 +8,18 @@ import { NavigationEnd, Router } from '@angular/router'; }) 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/pages/signin/signin.component.html b/src/app/pages/signin/signin.component.html index ab233b4..0a30940 100644 --- a/src/app/pages/signin/signin.component.html +++ b/src/app/pages/signin/signin.component.html @@ -1,5 +1,5 @@
-
+
Merci de vous connecter

@@ -32,12 +32,12 @@ -

+

diff --git a/src/app/pages/signin/signin.component.scss b/src/app/pages/signin/signin.component.scss index 990fcc1..54d6f98 100644 --- a/src/app/pages/signin/signin.component.scss +++ b/src/app/pages/signin/signin.component.scss @@ -6,14 +6,13 @@ } .form-signin { - width: 500px; - //max-width: 330px; + max-width: 500px; padding: 15px; margin: auto; + margin-top: 20vh; background-color: #f0f0f0; border-radius: 15px; box-shadow: 10px 10px 10px grey; - margin-top: 25vh; } .form-floating:focus-within {