- Created new component to display the game of life algo - created an algo info component to combine the algo header for all algos
54 lines
1.4 KiB
TypeScript
54 lines
1.4 KiB
TypeScript
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';
|
|
import {SortingComponent} from '../pages/algorithms/sorting/sorting.component';
|
|
import {ConwayGol} from '../pages/algorithms/conway-gol/conway-gol';
|
|
|
|
export class RouterConstants {
|
|
|
|
static readonly ABOUT = {
|
|
PATH: 'about',
|
|
LINK: '/about',
|
|
COMPONENT: AboutComponent
|
|
};
|
|
|
|
static readonly PROJECTS = {
|
|
PATH: 'projects',
|
|
LINK: '/projects',
|
|
COMPONENT: ProjectsComponent
|
|
};
|
|
|
|
static readonly ALGORITHMS = {
|
|
PATH: 'algorithms',
|
|
LINK: '/algorithms',
|
|
COMPONENT: AlgorithmsComponent
|
|
};
|
|
|
|
static readonly PATHFINDING = {
|
|
PATH: 'algorithms/pathfinding',
|
|
LINK: '/algorithms/pathfinding',
|
|
COMPONENT: PathfindingComponent
|
|
};
|
|
|
|
static readonly SORTING = {
|
|
PATH: 'algorithms/sorting',
|
|
LINK: '/algorithms/sorting',
|
|
COMPONENT: SortingComponent
|
|
};
|
|
|
|
static readonly GOL = {
|
|
PATH: 'algorithms/gol',
|
|
LINK: '/algorithms/gol',
|
|
COMPONENT: ConwayGol
|
|
};
|
|
|
|
static readonly IMPRINT = {
|
|
PATH: 'imprint',
|
|
LINK: '/imprint',
|
|
COMPONENT: ImprintComponent
|
|
};
|
|
}
|
|
|