Created new component and refactored

- Created new component to display the game of life algo
- created an algo info component to combine the algo header for all algos
This commit is contained in:
2026-02-06 09:59:12 +01:00
parent ff1ee9b5f6
commit da43213808
18 changed files with 223 additions and 80 deletions

View File

@@ -4,6 +4,7 @@ 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 {
@@ -37,6 +38,12 @@ export class RouterConstants {
COMPONENT: SortingComponent
};
static readonly GOL = {
PATH: 'algorithms/gol',
LINK: '/algorithms/gol',
COMPONENT: ConwayGol
};
static readonly IMPRINT = {
PATH: 'imprint',
LINK: '/imprint',

View File

@@ -7,4 +7,5 @@
static readonly QUICK_SORT_WIKI = 'https://de.wikipedia.org/wiki/Quicksort'
static readonly HEAP_SORT_WIKI = 'https://de.wikipedia.org/wiki/Heapsort'
static readonly SHAKE_SORT_WIKI = 'https://de.wikipedia.org/wiki/Shakersort'
static readonly CONWAYS_WIKI = 'https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life'
}