page 404
This commit is contained in:
parent
8d5cd03d33
commit
080a694838
12572
package-lock.json
generated
12572
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,2 +1,12 @@
|
|||||||
<app-header></app-header>
|
<app-header></app-header>
|
||||||
<p>Error 404 Page Not FOUND!!!!!!!!!!!</p>
|
|
||||||
|
<div>
|
||||||
|
|
||||||
|
<p> Page introuvable</p>
|
||||||
|
<a routerLink="" routerLinkActive="!active"><br><br>
|
||||||
|
Je retourne à l'accueil<br><br><br><br><br><br><br><br><br><br><br><br></a>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -0,0 +1,22 @@
|
|||||||
|
|
||||||
|
|
||||||
|
a.hover {
|
||||||
|
color :rgb(219, 200, 28)
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: rgb(32, 114, 45);
|
||||||
|
}
|
||||||
|
|
||||||
|
div {
|
||||||
|
text-align: center;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
// si on préfère une image en fond
|
||||||
|
// background-image: url("../../../assets/images/404.jpg");
|
||||||
|
// background-size: cover;
|
||||||
|
|
||||||
|
background-image: linear-gradient(to left top, #051937, #004d7a, #008793, #e2ebe7, #f8faf5);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -1,5 +1,6 @@
|
|||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-page-not-found',
|
selector: 'app-page-not-found',
|
||||||
templateUrl: './page-not-found.component.html',
|
templateUrl: './page-not-found.component.html',
|
||||||
@ -7,9 +8,28 @@ import { Component, OnInit } from '@angular/core';
|
|||||||
})
|
})
|
||||||
export class PageNotFoundComponent implements OnInit {
|
export class PageNotFoundComponent implements OnInit {
|
||||||
|
|
||||||
constructor() { }
|
|
||||||
|
|
||||||
ngOnInit(): void {
|
constructor() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* version alternative pour mettre une redirection automatique
|
||||||
|
---------------
|
||||||
|
---------------
|
||||||
|
import { Router } from '@angular/router';
|
||||||
|
----------------
|
||||||
|
constructor(private routeur: Router) { }
|
||||||
|
----------------
|
||||||
|
ngOnInit(): void {
|
||||||
|
setTimeout(
|
||||||
|
() => {
|
||||||
|
this.routeur.navigate(["accueil"]);
|
||||||
|
}, 3000
|
||||||
|
);
|
||||||
|
} } */
|
||||||
|
@ -20,7 +20,7 @@ export class AuthService {
|
|||||||
signup(membre: Membre): Observable<any> {
|
signup(membre: Membre): Observable<any> {
|
||||||
console.log(membre);
|
console.log(membre);
|
||||||
|
|
||||||
return this.http.post(`${this.apiUrl}/creation-compte`, membre);
|
return this.http.post(`${this.apiUrl}/membres/signup`, membre);
|
||||||
}
|
}
|
||||||
|
|
||||||
signin(email: string, password: string): Observable<any> {
|
signin(email: string, password: string): Observable<any> {
|
||||||
|
BIN
src/assets/images/404.jpg
Normal file
BIN
src/assets/images/404.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
Loading…
Reference in New Issue
Block a user