diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 0297262..fc28081 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -1,10 +1,40 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; +import { PageAccountComponent } from './pages/page-account/page-account.component'; +import { PageAccueilComponent } from './pages/page-accueil/page-accueil.component'; +import { PageAddMemberComponent } from './pages/page-add-member/page-add-member.component'; +import { PageAgendaComponent } from './pages/page-agenda/page-agenda.component'; +import { PageDashboardComponent } from './pages/page-dashboard/page-dashboard.component'; +import { PageDeleteMemberComponent } from './pages/page-delete-member/page-delete-member.component'; +import { PageForgotPasswordComponent } from './pages/page-forgot-password/page-forgot-password.component'; +import { PageMenuSemaineComponent } from './pages/page-menu-semaine/page-menu-semaine.component'; +import { PageNotFoundComponent } from './pages/page-not-found/page-not-found.component'; +import { PageRepertoireComponent } from './pages/page-repertoire/page-repertoire.component'; +import { PageResetPasswordComponent } from './pages/page-reset-password/page-reset-password.component'; +import { PageSignupComponent } from './pages/page-signup/page-signup.component'; +import { PageToDoListComponent } from './pages/page-to-do-list/page-to-do-list.component'; +import { PageUpdateMemberComponent } from './pages/page-update-member/page-update-member.component'; -const routes: Routes = []; +const routes: Routes = [ + { path: '', redirectTo: 'home', pathMatch: 'full' }, + { path: 'compte', component: PageAccountComponent }, + { path: 'accueil', component: PageAccueilComponent }, + { path: 'ajout-membre', component: PageAddMemberComponent }, + { path: 'agenda', component: PageAgendaComponent }, + { path: 'tableau-de-bord', component: PageDashboardComponent }, + { path: 'supprimer-membre', component: PageDeleteMemberComponent }, + { path: 'password-oublie', component: PageForgotPasswordComponent }, + { path: 'menu', component: PageMenuSemaineComponent }, + { path: 'repertoire', component: PageRepertoireComponent }, + { path: 'reinitialisation-password', component: PageResetPasswordComponent }, + { path: 'creation-compte', component: PageSignupComponent }, + { path: 'to-do-list', component: PageToDoListComponent }, + { path: 'modifier-membre', component: PageUpdateMemberComponent }, + { path: '**', component: PageNotFoundComponent }, +]; @NgModule({ imports: [RouterModule.forRoot(routes)], - exports: [RouterModule] + exports: [RouterModule], }) -export class AppRoutingModule { } +export class AppRoutingModule {} diff --git a/src/app/components/header/header.component.html b/src/app/components/header/header.component.html index 4f5a95d..347e558 100644 --- a/src/app/components/header/header.component.html +++ b/src/app/components/header/header.component.html @@ -1 +1,10 @@ -
header works!
+ \ No newline at end of file diff --git a/src/app/components/header/header.component.scss b/src/app/components/header/header.component.scss index e69de29..d03081d 100644 --- a/src/app/components/header/header.component.scss +++ b/src/app/components/header/header.component.scss @@ -0,0 +1,4 @@ +.navbar-brand { + position: absolute; + margin-left: 10%; +} diff --git a/src/app/components/side-bar/side-bar.component.html b/src/app/components/side-bar/side-bar.component.html index 354c895..2d7f65e 100644 --- a/src/app/components/side-bar/side-bar.component.html +++ b/src/app/components/side-bar/side-bar.component.html @@ -1 +1,11 @@ -side-bar works!
+ diff --git a/src/app/pages/page-account/page-account.component.html b/src/app/pages/page-account/page-account.component.html index ea9a0aa..2d3d7d1 100644 --- a/src/app/pages/page-account/page-account.component.html +++ b/src/app/pages/page-account/page-account.component.html @@ -1 +1,2 @@ -page-account works!
+page-accueil works!
+page-add-member works!
+page-agenda works!
+page-dashboard works!
+page-delete-member works!
+page-forgot-password works!
+page-menu-semaine works!
+page-not-found works!
+Error 404 Page Not FOUND!!!!!!!!!!!
\ No newline at end of file diff --git a/src/app/pages/page-repertoire/page-repertoire.component.html b/src/app/pages/page-repertoire/page-repertoire.component.html index 18ca94a..2d3d7d1 100644 --- a/src/app/pages/page-repertoire/page-repertoire.component.html +++ b/src/app/pages/page-repertoire/page-repertoire.component.html @@ -1 +1,2 @@ -page-repertoire works!
+page-reset-password works!
+page-signup works!
+page-to-do-list works!
+page-update-member works!
+