Skip to content

Commit

Permalink
#28 [WIP] added speaker accordion component
Browse files Browse the repository at this point in the history
  • Loading branch information
artifactdev committed Jan 26, 2020
1 parent aff4423 commit 3827007
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 2 deletions.
7 changes: 7 additions & 0 deletions devday/src/app/classes/speaker.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export interface Speaker {
id : string;
name : string;
contact : string;
summary : string;
sessionIds : string[]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p>speaker-accordion works!</p>
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { SpeakerAccordionComponent } from './speaker-accordion.component';

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

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ SpeakerAccordionComponent ]
})
.compileComponents();
}));

beforeEach(() => {
fixture = TestBed.createComponent(SpeakerAccordionComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'app-speaker-accordion',
templateUrl: './speaker-accordion.component.html',
styleUrls: ['./speaker-accordion.component.scss']
})
export class SpeakerAccordionComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
7 changes: 5 additions & 2 deletions devday/src/app/modules/components.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { SessionGridComponent } from '../components/session-grid/session-grid.co
import { TextareaComponent } from '../components/textarea/textarea.component';
import { IconLinkComponent } from '../components/icon-link/icon-link.component';
import { NotificationComponent } from '../components/notification/notification.component';
import { SpeakerAccordionComponent } from '../components/speaker-accordion/speaker-accordion.component';

@NgModule({
declarations: [
Expand All @@ -25,7 +26,8 @@ import { NotificationComponent } from '../components/notification/notification.c
SessionGridComponent,
TextareaComponent,
IconLinkComponent,
NotificationComponent
NotificationComponent,
SpeakerAccordionComponent
],
imports: [
CommonModule,
Expand All @@ -43,7 +45,8 @@ import { NotificationComponent } from '../components/notification/notification.c
SessionGridComponent,
TextareaComponent,
IconLinkComponent,
NotificationComponent
NotificationComponent,
SpeakerAccordionComponent
]
})
export class ComponentsModule { }

0 comments on commit 3827007

Please sign in to comment.