|
|
@@ -5,6 +5,8 @@ import { TabsComponent } from './tabs/tabs.component'; |
|
|
|
import { DetailsComponent } from './tabs/courses/details/details.component'; |
|
|
|
import { VideoChapterComponent } from './tabs/courses/video-chapter/video-chapter.component'; |
|
|
|
import { NotesDetailsComponent } from './tabs/courses/notes-details/notes-details.component'; |
|
|
|
import { CalendarComponent } from './calendar/calendar.component'; |
|
|
|
import { ProfileComponent } from './profile/profile.component'; |
|
|
|
|
|
|
|
const routes: Routes = [ |
|
|
|
{ path: '', pathMatch: 'full', redirectTo: 'welcome' }, |
|
|
@@ -14,7 +16,9 @@ const routes: Routes = [ |
|
|
|
{ component: DetailsComponent, path: 'course-details' }, |
|
|
|
{ component: DetailsComponent, path: 'course-details/:heading' }, |
|
|
|
{ component: VideoChapterComponent, path: 'video-chapter/:heading' }, |
|
|
|
{ component: NotesDetailsComponent, path: 'notes-details/:heading' } |
|
|
|
{ component: NotesDetailsComponent, path: 'notes-details/:heading' }, |
|
|
|
{ component: CalendarComponent, path: 'calendar' }, |
|
|
|
{ component: ProfileComponent, path: 'profile' }, |
|
|
|
]; |
|
|
|
|
|
|
|
@NgModule({ |
|
|
|