Skip to content

Commit

Permalink
adicionando componente de transmissão
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Akio <[email protected]>
  • Loading branch information
savioc2 and eric-kingu committed Nov 15, 2023
1 parent 9ada894 commit f042af5
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 7 deletions.
11 changes: 5 additions & 6 deletions src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ import { CheckCodeRestPasswordComponent } from './pages/check-code-rest-password
import { ResetPasswordComponent } from './pages/reset-password/reset-password.component';
import { AuthGuard } from './services/auth.guard';
import { EditUserComponent } from './pages/edit-user/edit-user.component';
<<<<<<< HEAD
import { ProgramacaoComponent } from './pages/programacao/programacao.component';
import { AgoraComponent } from './pages/agora/agora.component';
=======
import { SuggestAgendaComponent } from './pages/suggest-agenda/suggest-agenda.component';
import { ParticipateComponent } from './pages/participate/participate.component';
>>>>>>> c6e17862938e0f0a21bd8a1c130a93c1eb4e0b27
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 },
Expand All @@ -35,7 +33,8 @@ const routes: Routes = [
{ path: 'editUser/:id', component: EditUserComponent, canActivate: [AuthGuard], },
{ path: '', component: HomePageComponent, canActivate: [AuthGuard], },
{ path: 'programacao', component: ProgramacaoComponent},
{ path: 'agora', component: AgoraComponent}
{ path: 'agora', component: AgoraComponent},
{ path: 'transmissoes', component: TransmissoesComponent}
];

@NgModule({
Expand Down
3 changes: 2 additions & 1 deletion src/app/components/background/background.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
<a routerLink="" class="px-2">Início</a>|
<a routerLink="/agora" class="px-2">Agora na TV</a>|
<a routerLink="/programacao" class="px-2">Programação</a>|
<a routerLink="" class="pl-2">Transmissões</a>
<a routerLink="/transmissoes" class="pl-2">Transmissões</a>

</nav>
<img alt="hamburguer" (click)="toggleMenu()" src="../../../assets/hamburguer.svg">
</div>
Expand Down
Empty file.
1 change: 1 addition & 0 deletions src/app/pages/transmissoes/transmissoes.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p>transmissoes works!</p>
23 changes: 23 additions & 0 deletions src/app/pages/transmissoes/transmissoes.component.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { TransmissoesComponent } from './transmissoes.component';

describe('TransmissoesComponent', () => {
let component: TransmissoesComponent;
let fixture: ComponentFixture<TransmissoesComponent>;

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [TransmissoesComponent]
})
.compileComponents();

fixture = TestBed.createComponent(TransmissoesComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});
11 changes: 11 additions & 0 deletions src/app/pages/transmissoes/transmissoes.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { Component } from '@angular/core';

@Component({
selector: 'app-transmissoes',
templateUrl: './transmissoes.component.html',
styleUrls: ['./transmissoes.component.css']

})
export class TransmissoesComponent {

}

0 comments on commit f042af5

Please sign in to comment.