diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index b1f37e8b..564f5daa 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -14,6 +14,9 @@ import { AuthGuard } from './services/auth.guard'; import { EditUserComponent } from './pages/edit-user/edit-user.component'; import { SuggestAgendaComponent } from './pages/suggest-agenda/suggest-agenda.component'; import { ParticipateComponent } from './pages/participate/participate.component'; +import { ProgramacaoComponent } from './pages/programacao/programacao.component'; +import { AgoraComponent } from './pages/agora/agora.component'; +import { TransmissoesComponent } from './pages/transmissoes/transmissoes.component'; const routes: Routes = [ { path: 'login', component: LoginComponent }, @@ -28,7 +31,10 @@ const routes: Routes = [ { path: 'participate', component: ParticipateComponent }, { path: 'profile', component: ProfileComponent, canActivate: [AuthGuard], }, { path: 'editUser/:id', component: EditUserComponent, canActivate: [AuthGuard], }, - { path: '', component: HomePageComponent, canActivate: [AuthGuard], } + { path: '', component: HomePageComponent, canActivate: [AuthGuard], }, + { path: 'programacao', component: ProgramacaoComponent}, + { path: 'agora', component: AgoraComponent}, + { path: 'transmissoes', component: TransmissoesComponent} ]; @NgModule({ diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 85123e85..b8086993 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -22,6 +22,8 @@ import { CheckCodeRestPasswordComponent } from './pages/check-code-rest-password import { AuthGuard } from './services/auth.guard'; import { AuthService } from './services/auth.service'; import { EditUserComponent } from './pages/edit-user/edit-user.component'; +import { AgoraComponent } from './pages/agora/agora.component'; +import { ProgramacaoComponent } from './pages/programacao/programacao.component'; import { SuggestAgendaComponent } from './pages/suggest-agenda/suggest-agenda.component'; import { ParticipateComponent } from './pages/participate/participate.component'; @@ -42,6 +44,8 @@ import { ParticipateComponent } from './pages/participate/participate.component' ResetPasswordComponent, CheckCodeRestPasswordComponent, EditUserComponent, + AgoraComponent, + ProgramacaoComponent, SuggestAgendaComponent, ParticipateComponent, ], diff --git a/src/app/components/background/background.component.html b/src/app/components/background/background.component.html index 1ce3a450..1da517b1 100644 --- a/src/app/components/background/background.component.html +++ b/src/app/components/background/background.component.html @@ -4,14 +4,19 @@
agora works!
diff --git a/src/app/pages/agora/agora.component.spec.ts b/src/app/pages/agora/agora.component.spec.ts new file mode 100644 index 00000000..a11174b6 --- /dev/null +++ b/src/app/pages/agora/agora.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AgoraComponent } from './agora.component'; + +describe('AgoraComponent', () => { + let component: AgoraComponent; + let fixture: ComponentFixtureprogramacao works!
diff --git a/src/app/pages/programacao/programacao.component.spec.ts b/src/app/pages/programacao/programacao.component.spec.ts new file mode 100644 index 00000000..dc125793 --- /dev/null +++ b/src/app/pages/programacao/programacao.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ProgramacaoComponent } from './programacao.component'; + +describe('ProgramacaoComponent', () => { + let component: ProgramacaoComponent; + let fixture: ComponentFixturetransmissoes works!
diff --git a/src/app/pages/transmissoes/transmissoes.component.spec.ts b/src/app/pages/transmissoes/transmissoes.component.spec.ts new file mode 100644 index 00000000..03f6da3a --- /dev/null +++ b/src/app/pages/transmissoes/transmissoes.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { TransmissoesComponent } from './transmissoes.component'; + +describe('TransmissoesComponent', () => { + let component: TransmissoesComponent; + let fixture: ComponentFixture