change repo

This commit is contained in:
Ruben Kallinich
2024-07-11 10:44:44 +02:00
commit 4a034b660f
88 changed files with 21963 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { LearningCenterComponent } from './learning-center/learning-center.component';
import { CheckModeComponent } from './check-mode/check-mode.component';
import { ExamModeComponent } from './exam-mode/exam-mode.component';
import { StatistikComponent } from './Popup/statistik/statistik.component';
import { FilterComponent } from './Templates/filter/filter.component';
import { PrivacyPolicyComponent } from './Templates/privacy-policy/privacy-policy.component';
const routes: Routes = [
{path: '', redirectTo: 'home', pathMatch:'full'},
{path: 'home', component: LearningCenterComponent,},
{path: 'learning-mode', loadChildren:() => import('./learning-mode/learning-mode.module').then(m=>m.LearningModeModule)},
{path: 'check-mode/:katalog', component: CheckModeComponent},
{path: 'exam-mode/:katalog', component: ExamModeComponent},
{path: 'statistik', component: StatistikComponent},
{path: 'filter', component:FilterComponent},
{path: 'privacy', component:PrivacyPolicyComponent},
];
@NgModule({
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule]
})
export class AppRoutingModule { }