|
|
@@ -2,7 +2,7 @@ import { NgModule } from '@angular/core'; |
|
|
|
import { Routes, RouterModule } from '@angular/router'; |
|
|
|
import { WelcomeComponent } from './welcome/welcome.component'; |
|
|
|
import { TabsComponent } from './tabs/tabs.component'; |
|
|
|
import { DetailsComponent } from './tabs/courses/details/details.component'; |
|
|
|
import { CourseDetailsComponent } from './tabs/courses/course-details/course-details.component'; |
|
|
|
import { VideoChapterComponent } from './tabs/courses/video-chapter/video-chapter.component'; |
|
|
|
import { VideoNotesComponent } from './tabs/courses/video-chapter/video-notes/video-notes.component'; |
|
|
|
import { CalendarComponent } from './calendar/calendar.component'; |
|
|
@@ -15,8 +15,7 @@ const routes: Routes = [ |
|
|
|
{ component: WelcomeComponent, path: 'welcome' }, |
|
|
|
{ component: TabsComponent, path: 'tabs' }, |
|
|
|
{ component: TabsComponent, path: 'tabs/:subpage' }, |
|
|
|
{ component: DetailsComponent, path: 'course-details' }, |
|
|
|
{ component: DetailsComponent, path: 'course-details/:heading' }, |
|
|
|
{ component: CourseDetailsComponent, path: 'course-details/:heading' }, |
|
|
|
{ component: ChapterNotesComponent, path: 'chapter-notes/:heading' }, |
|
|
|
{ component: VideoChapterComponent, path: 'video-chapter/:heading' }, |
|
|
|
{ component: VideoNotesComponent, path: 'video-notes/:heading' }, |
|
|
|