diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 791f237..876f5cf 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -5,6 +5,7 @@ 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'; +import { SigninComponent } from './pages/signin/signin.component'; const routes: Routes = [ { path: '', redirectTo: 'home', pathMatch: 'full' }, @@ -14,6 +15,7 @@ const routes: Routes = [ { path: 'Deconnexion', redirectTo: 'home'}, {path: 'restaurants',component: RestoPageComponent}, {path: 'page-not-found',component: PageNotFoundComponent}, + {path: 'signin', component: SigninComponent}, {path: '**', redirectTo: 'page-not-found' } ]; diff --git a/src/app/pages/signin/signin.component.html b/src/app/pages/signin/signin.component.html new file mode 100644 index 0000000..cc1a2e3 --- /dev/null +++ b/src/app/pages/signin/signin.component.html @@ -0,0 +1 @@ +
signin works!
diff --git a/src/app/pages/signin/signin.component.scss b/src/app/pages/signin/signin.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/pages/signin/signin.component.spec.ts b/src/app/pages/signin/signin.component.spec.ts new file mode 100644 index 0000000..b19d8bf --- /dev/null +++ b/src/app/pages/signin/signin.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { SigninComponent } from './signin.component'; + +describe('SigninComponent', () => { + let component: SigninComponent; + let fixture: ComponentFixture