| //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 { } | |