Renommage du composant 'Home' en 'Dashboard'

This commit is contained in:
Julien Gautier
2023-10-03 16:28:03 +02:00
parent 340228e698
commit 2ccc9fc858
12 changed files with 65 additions and 63 deletions
+6 -6
View File
@@ -1,14 +1,14 @@
import { Routes } from '@angular/router';
import { AuthComponent, CalculatorComponent, HomeComponent, LogbookComponent, ProfileComponent } from 'src/app/components';
import { AuthResolver, NoAuthGuard } from 'src/app/core/services';
import { AuthComponent, CalculatorComponent, DashboardComponent, LogbookComponent, ProfileComponent } from 'src/app/components';
import { NoAuthGuard } from 'src/app/core/services';
export const FRONT_ROUTES: Routes = [
{ path: 'authenticate', component: AuthComponent, canActivate: [ NoAuthGuard ] },
{ path: 'calculator', component: CalculatorComponent },
{ path: 'dashboard', component: HomeComponent},
{ path: 'dashboard', component: DashboardComponent},
{ path: 'logbook', component: LogbookComponent },
{ path: 'profile', component: ProfileComponent },
{ path: 'login', component: AuthComponent, canActivate: [ NoAuthGuard ] },
{ path: 'register', component: AuthComponent, canActivate: [ NoAuthGuard ] },
{ path: 'authenticate', component: AuthComponent, canActivate: [ NoAuthGuard ] }
{ path: 'profile', component: ProfileComponent },
{ path: 'register', component: AuthComponent, canActivate: [ NoAuthGuard ] }
];