Ajout des sources

This commit is contained in:
Julien Gautier
2023-09-12 21:46:56 +02:00
parent fa2288b8ed
commit 747948a422
235 changed files with 45064 additions and 0 deletions
+14
View File
@@ -0,0 +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';
export const FRONT_ROUTES: Routes = [
{ path: 'calculator', component: CalculatorComponent },
{ path: 'dashboard', component: HomeComponent},
{ 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 ] }
];