Merge branch 'dev' into Romain

This commit is contained in:
Romain 2022-01-20 17:18:26 +01:00
commit ac3c69e0f6
6 changed files with 43 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import { ListCategoriesComponent } from './pages/list-categories/list-categories
import { RestoPageComponent } from './pages/resto-page/resto-page.component';
import { PageNotFoundComponent } from './pages/page-not-found/page-not-found.component';
import { FiltersPageComponent } from './pages/filters-page/filters-page.component';
import { SigninComponent } from './pages/signin/signin.component';
const routes: Routes = [
{ path: '', redirectTo: 'home', pathMatch: 'full' },
@ -16,6 +17,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' }
];

View File

@ -0,0 +1 @@
<p>signin works!</p>

View File

@ -0,0 +1,25 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SigninComponent } from './signin.component';
describe('SigninComponent', () => {
let component: SigninComponent;
let fixture: ComponentFixture<SigninComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ SigninComponent ]
})
.compileComponents();
});
beforeEach(() => {
fixture = TestBed.createComponent(SigninComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-signin',
templateUrl: './signin.component.html',
styleUrls: ['./signin.component.scss']
})
export class SigninComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}

BIN
src/assets/fond_signin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB