|
1 | 1 | import { NgModule } from '@angular/core';
|
2 | 2 | import { Routes, RouterModule } from '@angular/router';
|
3 |
| -import { GettingStartedComponent } from './components/optionsSidebar/getting-started/getting-started.component'; |
4 |
| -import { ReportsComponent } from './components/optionsSidebar/reports/reports.component'; |
5 |
| -import { TimeClockComponent } from './components/optionsSidebar/time-clock/time-clock.component'; |
6 |
| -import { TimeEntriesComponent } from './components/optionsSidebar/time-entries/time-entries.component'; |
7 |
| -import { TimeOffComponent } from './components/optionsSidebar/time-off/time-off.component'; |
| 3 | +import { GettingStartedComponent } from './components/options-sidebar/getting-started/getting-started.component'; |
| 4 | +import { ReportsComponent } from './components/options-sidebar/reports/reports.component'; |
| 5 | +import { TimeClockComponent } from './components/options-sidebar/time-clock/time-clock.component'; |
| 6 | +import { TimeEntriesComponent } from './components/options-sidebar/time-entries/time-entries.component'; |
| 7 | +import { TimeOffComponent } from './components/options-sidebar/time-off/time-off.component'; |
8 | 8 |
|
9 | 9 |
|
10 | 10 | const routes: Routes = [
|
11 |
| - {path: 'gettingStarted', component: GettingStartedComponent}, |
| 11 | + {path: 'getting-started', component: GettingStartedComponent}, |
12 | 12 | {path: 'reports', component: ReportsComponent},
|
13 |
| - {path: 'timeClock', component: TimeClockComponent}, |
14 |
| - {path: 'timeEntries', component: TimeEntriesComponent}, |
15 |
| - {path: 'timeOff', component: TimeOffComponent}, |
16 |
| - {path: '', pathMatch: 'full', redirectTo: 'gettingStarted'}, |
17 |
| - {path: '**', pathMatch: 'full', redirectTo: 'gettingStarted'}, |
| 13 | + {path: 'time-clock', component: TimeClockComponent}, |
| 14 | + {path: 'time-entries', component: TimeEntriesComponent}, |
| 15 | + {path: 'time-off', component: TimeOffComponent}, |
| 16 | + {path: '', pathMatch: 'full', redirectTo: 'getting-started'}, |
| 17 | + {path: '**', pathMatch: 'full', redirectTo: 'getting-started'}, |
18 | 18 | ];
|
19 | 19 |
|
20 | 20 | @NgModule({
|
|
0 commit comments