diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 57c15c4..dfdd5df 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -7,6 +7,7 @@ import { VideoChapterComponent } from './tabs/courses/video-chapter/video-chapte import { NotesDetailsComponent } from './tabs/courses/notes-details/notes-details.component'; import { CalendarComponent } from './calendar/calendar.component'; import { ProfileComponent } from './profile/profile.component'; +import { AttendanceComponent } from './tabs/more/attendance/attendance.component'; const routes: Routes = [ { path: '', pathMatch: 'full', redirectTo: 'welcome' }, @@ -19,6 +20,7 @@ const routes: Routes = [ { component: NotesDetailsComponent, path: 'notes-details/:heading' }, { component: CalendarComponent, path: 'calendar' }, { component: ProfileComponent, path: 'profile' }, + { component: AttendanceComponent, path: 'attendance'}, ]; @NgModule({ diff --git a/src/app/app.module.ts b/src/app/app.module.ts index c4bc11e..0a03753 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -20,6 +20,7 @@ import { ServiceWorkerModule } from '@angular/service-worker'; import { environment } from '../environments/environment'; import { CalendarComponent } from './calendar/calendar.component'; import { ProfileComponent } from './profile/profile.component'; +import { AttendanceComponent } from './tabs/more/attendance/attendance.component'; @NgModule({ declarations: [ @@ -35,6 +36,7 @@ import { ProfileComponent } from './profile/profile.component'; NotesDetailsComponent, CalendarComponent, ProfileComponent, + AttendanceComponent, ], imports: [ BrowserModule, diff --git a/src/app/tabs/more/attendance/attendance.component.html b/src/app/tabs/more/attendance/attendance.component.html new file mode 100644 index 0000000..ea9bd5f --- /dev/null +++ b/src/app/tabs/more/attendance/attendance.component.html @@ -0,0 +1 @@ +

attendance works!

diff --git a/src/app/tabs/more/attendance/attendance.component.scss b/src/app/tabs/more/attendance/attendance.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/tabs/more/attendance/attendance.component.spec.ts b/src/app/tabs/more/attendance/attendance.component.spec.ts new file mode 100644 index 0000000..8cf7ea9 --- /dev/null +++ b/src/app/tabs/more/attendance/attendance.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AttendanceComponent } from './attendance.component'; + +describe('AttendanceComponent', () => { + let component: AttendanceComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ AttendanceComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(AttendanceComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/tabs/more/attendance/attendance.component.ts b/src/app/tabs/more/attendance/attendance.component.ts new file mode 100644 index 0000000..79bd49f --- /dev/null +++ b/src/app/tabs/more/attendance/attendance.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-attendance', + templateUrl: './attendance.component.html', + styleUrls: ['./attendance.component.scss'] +}) +export class AttendanceComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +}