Introduces a new 'Algorithms' section, replacing the previous 'Hobbies' page. Adds components, services, and models for algorithm categories and a pathfinding visualizer supporting Dijkstra and A* algorithms. Updates navigation and i18n files to reflect the new section and removes all hobbies-related files.
17 lines
770 B
TypeScript
17 lines
770 B
TypeScript
import { Routes } from '@angular/router';
|
|
import {AboutComponent} from './pages/about/about.component';
|
|
import {ProjectsComponent} from './pages/projects/projects.component';
|
|
import {ImprintComponent} from './pages/imprint/imprint.component';
|
|
import {AlgorithmsComponent} from './pages/algorithms/algorithms.component';
|
|
import {PathfindingComponent} from './pages/algorithms/pathfinding/pathfinding.component';
|
|
|
|
export const routes: Routes = [
|
|
{ path: '', component: AboutComponent },
|
|
{ path: 'about', component: AboutComponent},
|
|
{ path: 'projects', component: ProjectsComponent},
|
|
{ path: 'algorithms', component: AlgorithmsComponent},
|
|
{ path: 'algorithms/pathfinding', component: PathfindingComponent },
|
|
{ path: 'imprint', component: ImprintComponent},
|
|
];
|
|
|