diff --git a/package-lock.json b/package-lock.json
index a0f5544..9f0907b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2499,6 +2499,16 @@
"read-package-json-fast": "^2.0.1"
}
},
+ "node_modules/@popperjs/core": {
+ "version": "2.11.2",
+ "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.2.tgz",
+ "integrity": "sha512-92FRmppjjqz29VMJ2dn+xdyXZBrMlE42AV6Kq6BwjWV7CNUW1hs2FtxSNLQE+gJhaZ6AAmYuO9y8dshhcBl7vA==",
+ "peer": true,
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/popperjs"
+ }
+ },
"node_modules/@schematics/angular": {
"version": "13.0.4",
"resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-13.0.4.tgz",
@@ -14295,6 +14305,12 @@
"read-package-json-fast": "^2.0.1"
}
},
+ "@popperjs/core": {
+ "version": "2.11.2",
+ "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.2.tgz",
+ "integrity": "sha512-92FRmppjjqz29VMJ2dn+xdyXZBrMlE42AV6Kq6BwjWV7CNUW1hs2FtxSNLQE+gJhaZ6AAmYuO9y8dshhcBl7vA==",
+ "peer": true
+ },
"@schematics/angular": {
"version": "13.0.4",
"resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-13.0.4.tgz",
diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts
index a1367e7..791f237 100644
--- a/src/app/app-routing.module.ts
+++ b/src/app/app-routing.module.ts
@@ -3,13 +3,18 @@ import { RouterModule, Routes } from '@angular/router';
import { FavorisUserComponent } from './pages/favoris-user/favoris-user.component';
import { HomePageComponent } from './pages/home-page/home-page.component';
import { ListCategoriesComponent } from './pages/list-categories/list-categories.component';
+import { RestoPageComponent } from './pages/resto-page/resto-page.component';
+import { PageNotFoundComponent } from './pages/page-not-found/page-not-found.component';
const routes: Routes = [
{ path: '', redirectTo: 'home', pathMatch: 'full' },
{ path: 'home', component: HomePageComponent },
{ path: 'categories', component: ListCategoriesComponent },
{ path: 'favoris', component: FavorisUserComponent },
- { path: 'Deconnexion', redirectTo: 'home'}
+ { path: 'Deconnexion', redirectTo: 'home'},
+ {path: 'restaurants',component: RestoPageComponent},
+ {path: 'page-not-found',component: PageNotFoundComponent},
+ {path: '**', redirectTo: 'page-not-found' }
];
@NgModule({
diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index 23fb0d4..9f2d7d9 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -12,6 +12,8 @@ import { HomePageComponent } from './pages/home-page/home-page.component';
import { HttpClientModule } from '@angular/common/http';
import { ListCategoriesComponent } from './pages/list-categories/list-categories.component';
+import { RestoPageComponent } from './pages/resto-page/resto-page.component';
+import { PageNotFoundComponent } from './pages/page-not-found/page-not-found.component';
@NgModule({
declarations: [
@@ -22,7 +24,9 @@ import { ListCategoriesComponent } from './pages/list-categories/list-categories
CardRestoComponent,
FooterComponent,
HomePageComponent,
- ListCategoriesComponent
+ ListCategoriesComponent,
+ RestoPageComponent,
+ PageNotFoundComponent
],
imports: [
BrowserModule,
diff --git a/src/app/card-category/card-category.component.html b/src/app/card-category/card-category.component.html
index ad8e421..6b51e8c 100644
--- a/src/app/card-category/card-category.component.html
+++ b/src/app/card-category/card-category.component.html
@@ -1,7 +1,10 @@
-
-
-
-
{{ categoryData.libelle }}
-
Go somewhere
+
+
+
+
-
\ No newline at end of file
+
+
\ No newline at end of file
diff --git a/src/app/card-category/card-category.component.scss b/src/app/card-category/card-category.component.scss
index e69de29..8a2edff 100644
--- a/src/app/card-category/card-category.component.scss
+++ b/src/app/card-category/card-category.component.scss
@@ -0,0 +1,16 @@
+
+@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
+
+
+.card-body{
+ background-color: #CE0000;
+}
+
+.btn{
+ display: block;
+ color: #fff;
+ width: 100%;
+ font-size: 1.5em;
+ font-weight: bold;
+}
+
diff --git a/src/app/pages/home-page/home-page.component.html b/src/app/pages/home-page/home-page.component.html
index 4ae502f..936fa07 100644
--- a/src/app/pages/home-page/home-page.component.html
+++ b/src/app/pages/home-page/home-page.component.html
@@ -1,3 +1,7 @@
-
-
+
Catégories :
+
+
diff --git a/src/app/pages/home-page/home-page.component.scss b/src/app/pages/home-page/home-page.component.scss
index e69de29..b0748b5 100644
--- a/src/app/pages/home-page/home-page.component.scss
+++ b/src/app/pages/home-page/home-page.component.scss
@@ -0,0 +1,20 @@
+.parent{
+ width: auto;
+ margin: 3em 10em 0 10em ;
+
+}
+.separation{
+ display: flex;
+ justify-content: flex-start;
+ border-bottom: 2px solid #CE0000;
+ max-width: 83%;
+}
+
+.titre{
+
+ display: flex;
+ justify-content: flex-start;
+ margin: 0 0 0.5em 8.2em;
+ color: #CE0000;
+
+}
\ No newline at end of file
diff --git a/src/app/pages/page-not-found/page-not-found.component.html b/src/app/pages/page-not-found/page-not-found.component.html
new file mode 100644
index 0000000..cc75e49
--- /dev/null
+++ b/src/app/pages/page-not-found/page-not-found.component.html
@@ -0,0 +1 @@
+
page-not-found works!
diff --git a/src/app/pages/page-not-found/page-not-found.component.scss b/src/app/pages/page-not-found/page-not-found.component.scss
new file mode 100644
index 0000000..e69de29
diff --git a/src/app/pages/page-not-found/page-not-found.component.spec.ts b/src/app/pages/page-not-found/page-not-found.component.spec.ts
new file mode 100644
index 0000000..aa242a9
--- /dev/null
+++ b/src/app/pages/page-not-found/page-not-found.component.spec.ts
@@ -0,0 +1,25 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { PageNotFoundComponent } from './page-not-found.component';
+
+describe('PageNotFoundComponent', () => {
+ let component: PageNotFoundComponent;
+ let fixture: ComponentFixture
;
+
+ beforeEach(async () => {
+ await TestBed.configureTestingModule({
+ declarations: [ PageNotFoundComponent ]
+ })
+ .compileComponents();
+ });
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(PageNotFoundComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/pages/page-not-found/page-not-found.component.ts b/src/app/pages/page-not-found/page-not-found.component.ts
new file mode 100644
index 0000000..5faa15b
--- /dev/null
+++ b/src/app/pages/page-not-found/page-not-found.component.ts
@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ selector: 'app-page-not-found',
+ templateUrl: './page-not-found.component.html',
+ styleUrls: ['./page-not-found.component.scss']
+})
+export class PageNotFoundComponent implements OnInit {
+
+ constructor() { }
+
+ ngOnInit(): void {
+ }
+
+}
diff --git a/src/app/pages/resto-page/resto-page.component.html b/src/app/pages/resto-page/resto-page.component.html
new file mode 100644
index 0000000..6f4530c
--- /dev/null
+++ b/src/app/pages/resto-page/resto-page.component.html
@@ -0,0 +1,3 @@
+Catégories :
+
+
diff --git a/src/app/pages/resto-page/resto-page.component.scss b/src/app/pages/resto-page/resto-page.component.scss
new file mode 100644
index 0000000..9f66cf0
--- /dev/null
+++ b/src/app/pages/resto-page/resto-page.component.scss
@@ -0,0 +1,15 @@
+.separation{
+ display: flex;
+ justify-content: flex-start;
+ border-bottom: 2px solid #CE0000;
+ max-width: 83%;
+}
+
+.titre{
+
+ display: flex;
+ justify-content: flex-start;
+ margin: 0 0 0.5em 8.2em;
+ color: #CE0000;
+
+}
\ No newline at end of file
diff --git a/src/app/pages/resto-page/resto-page.component.spec.ts b/src/app/pages/resto-page/resto-page.component.spec.ts
new file mode 100644
index 0000000..f04e14e
--- /dev/null
+++ b/src/app/pages/resto-page/resto-page.component.spec.ts
@@ -0,0 +1,25 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { RestoPageComponent } from './resto-page.component';
+
+describe('RestoPageComponent', () => {
+ let component: RestoPageComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async () => {
+ await TestBed.configureTestingModule({
+ declarations: [ RestoPageComponent ]
+ })
+ .compileComponents();
+ });
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(RestoPageComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/pages/resto-page/resto-page.component.ts b/src/app/pages/resto-page/resto-page.component.ts
new file mode 100644
index 0000000..a0a5221
--- /dev/null
+++ b/src/app/pages/resto-page/resto-page.component.ts
@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ selector: 'app-resto-page',
+ templateUrl: './resto-page.component.html',
+ styleUrls: ['./resto-page.component.scss']
+})
+export class RestoPageComponent implements OnInit {
+
+ constructor() { }
+
+ ngOnInit(): void {
+ }
+
+}
diff --git a/src/assets/ImagesCategory/Americain.png b/src/assets/ImagesCategory/Americain.png
new file mode 100644
index 0000000..c2844e1
Binary files /dev/null and b/src/assets/ImagesCategory/Americain.png differ
diff --git a/src/assets/ImagesCategory/Asiatique.png b/src/assets/ImagesCategory/Asiatique.png
new file mode 100644
index 0000000..86984fe
Binary files /dev/null and b/src/assets/ImagesCategory/Asiatique.png differ
diff --git a/src/assets/ImagesCategory/Boulangerie.png b/src/assets/ImagesCategory/Boulangerie.png
new file mode 100644
index 0000000..8a78e97
Binary files /dev/null and b/src/assets/ImagesCategory/Boulangerie.png differ
diff --git a/src/assets/ImagesCategory/Brasserie.png b/src/assets/ImagesCategory/Brasserie.png
new file mode 100644
index 0000000..e752c3f
Binary files /dev/null and b/src/assets/ImagesCategory/Brasserie.png differ
diff --git a/src/assets/ImagesCategory/Chinois.png b/src/assets/ImagesCategory/Chinois.png
new file mode 100644
index 0000000..b7218d6
Binary files /dev/null and b/src/assets/ImagesCategory/Chinois.png differ
diff --git a/src/assets/ImagesCategory/Crêperie.png b/src/assets/ImagesCategory/Crêperie.png
new file mode 100644
index 0000000..521cf82
Binary files /dev/null and b/src/assets/ImagesCategory/Crêperie.png differ
diff --git a/src/assets/ImagesCategory/Français.png b/src/assets/ImagesCategory/Français.png
new file mode 100644
index 0000000..7e609a2
Binary files /dev/null and b/src/assets/ImagesCategory/Français.png differ
diff --git a/src/assets/ImagesCategory/Fruits de Mer.png b/src/assets/ImagesCategory/Fruits de Mer.png
new file mode 100644
index 0000000..33c5346
Binary files /dev/null and b/src/assets/ImagesCategory/Fruits de Mer.png differ
diff --git a/src/assets/ImagesCategory/Hamburger.png b/src/assets/ImagesCategory/Hamburger.png
new file mode 100644
index 0000000..5b3f3af
Binary files /dev/null and b/src/assets/ImagesCategory/Hamburger.png differ
diff --git a/src/assets/ImagesCategory/Indien.png b/src/assets/ImagesCategory/Indien.png
new file mode 100644
index 0000000..61b7a48
Binary files /dev/null and b/src/assets/ImagesCategory/Indien.png differ
diff --git a/src/assets/ImagesCategory/Italien.png b/src/assets/ImagesCategory/Italien.png
new file mode 100644
index 0000000..981e5ed
Binary files /dev/null and b/src/assets/ImagesCategory/Italien.png differ
diff --git a/src/assets/ImagesCategory/Japonais.png b/src/assets/ImagesCategory/Japonais.png
new file mode 100644
index 0000000..02c2140
Binary files /dev/null and b/src/assets/ImagesCategory/Japonais.png differ
diff --git a/src/assets/ImagesCategory/Kebab.png b/src/assets/ImagesCategory/Kebab.png
new file mode 100644
index 0000000..0f8932b
Binary files /dev/null and b/src/assets/ImagesCategory/Kebab.png differ
diff --git a/src/assets/ImagesCategory/Marocain.png b/src/assets/ImagesCategory/Marocain.png
new file mode 100644
index 0000000..73b9663
Binary files /dev/null and b/src/assets/ImagesCategory/Marocain.png differ
diff --git a/src/assets/ImagesCategory/Pizza.png b/src/assets/ImagesCategory/Pizza.png
new file mode 100644
index 0000000..68e25e1
Binary files /dev/null and b/src/assets/ImagesCategory/Pizza.png differ
diff --git a/src/assets/ImagesCategory/Steack.png b/src/assets/ImagesCategory/Steack.png
new file mode 100644
index 0000000..5206077
Binary files /dev/null and b/src/assets/ImagesCategory/Steack.png differ
diff --git a/src/assets/ImagesCategory/Supermarché.png b/src/assets/ImagesCategory/Supermarché.png
new file mode 100644
index 0000000..b0fac01
Binary files /dev/null and b/src/assets/ImagesCategory/Supermarché.png differ
diff --git a/src/assets/ImagesCategory/Sushis.png b/src/assets/ImagesCategory/Sushis.png
new file mode 100644
index 0000000..85c22a6
Binary files /dev/null and b/src/assets/ImagesCategory/Sushis.png differ
diff --git a/src/assets/ImagesCategory/Thaï.png b/src/assets/ImagesCategory/Thaï.png
new file mode 100644
index 0000000..88b2400
Binary files /dev/null and b/src/assets/ImagesCategory/Thaï.png differ
diff --git a/src/assets/ImagesCategory/Vietnamien.png b/src/assets/ImagesCategory/Vietnamien.png
new file mode 100644
index 0000000..65ecb3b
Binary files /dev/null and b/src/assets/ImagesCategory/Vietnamien.png differ
diff --git a/src/styles.scss b/src/styles.scss
index d698093..8b32511 100644
--- a/src/styles.scss
+++ b/src/styles.scss
@@ -6,3 +6,5 @@
margin : 0;
padding: 0;
}
+
+@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');