File size: 1,758 Bytes
38fa174
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//import { NgModule } from '@angular/core';
//import { RouterModule, Routes } from '@angular/router';
//import { IntroPageComponent } from './intro-page/intro-page.component';
//import { QuestionAnswerComponent } from './question-answer/question-answer.component';
//import { LlmQuizComponent } from './llm-quiz/llm-quiz.component';
//import { MatchingListComponent } from './matching-list/matching-list.component';
//import { AuthGuard } from './services/auth.guard';

//const routes: Routes = [
//  { path: '', component: IntroPageComponent },
//  { path: 'intro', component: IntroPageComponent },

//  {
//    path: 'auth',
//    children: [
//      {
//        path: 'signin',
//        loadComponent: () =>
//          import('./auth/sign-in/sign-in.component').then(m => m.SignInComponent),
//      },
//      {
//        path: 'signup',
//        loadComponent: () =>
//          import('./auth/sign-up/sign-up.component').then(m => m.SignUpComponent),
//      },
//    ],
//  },

//  { path: 'question-answer', component: QuestionAnswerComponent, canActivate: [AuthGuard] },
//  { path: 'llmquiz', component: LlmQuizComponent, canActivate: [AuthGuard] },
//  { path: 'matchinglist', component: MatchingListComponent, canActivate: [AuthGuard] },
//  { path: 'home', component: IntroPageComponent, canActivate: [AuthGuard] },
//  {
//    path: 'user-preferences',
//    loadComponent: () =>
//      import('./user-preferences/user-preferences.component').then(m => m.UserPreferencesComponent),
//    canActivate: [AuthGuard],
//  },

//  { path: '**', redirectTo: '' },
//];

//@NgModule({
//  imports: [RouterModule.forRoot(routes)],
//  exports: [RouterModule],
//})
//export class AppRoutingModule { }