diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index c8960c9..d079fbb 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -13,6 +13,7 @@ export const routes: Routes = [ { path: RouterConstants.GOL.PATH, component: RouterConstants.GOL.COMPONENT}, { path: RouterConstants.LABYRINTH.PATH, component: RouterConstants.LABYRINTH.COMPONENT}, { path: RouterConstants.FRACTAL.PATH, component: RouterConstants.FRACTAL.COMPONENT}, - { path: RouterConstants.FRACTAL3d.PATH, component: RouterConstants.FRACTAL3d.COMPONENT} + { path: RouterConstants.FRACTAL3d.PATH, component: RouterConstants.FRACTAL3d.COMPONENT}, + { path: RouterConstants.PENDULUM.PATH, component: RouterConstants.PENDULUM.COMPONENT} ]; diff --git a/src/app/constants/RouterConstants.ts b/src/app/constants/RouterConstants.ts index 6b9b9d9..ac1efab 100644 --- a/src/app/constants/RouterConstants.ts +++ b/src/app/constants/RouterConstants.ts @@ -8,6 +8,7 @@ import {ConwayGolComponent} from '../pages/algorithms/conway-gol/conway-gol.comp import {LabyrinthComponent} from '../pages/algorithms/pathfinding/labyrinth/labyrinth.component'; import {FractalComponent} from '../pages/algorithms/fractal/fractal.component'; import {Fractal3dComponent} from '../pages/algorithms/fractal3d/fractal3d.component'; +import PendulumComponent from '../pages/algorithms/pendulum/pendulum.component'; export class RouterConstants { @@ -65,6 +66,12 @@ export class RouterConstants { COMPONENT: Fractal3dComponent }; + static readonly PENDULUM = { + PATH: 'algorithms/pendulum', + LINK: '/algorithms/pendulum', + COMPONENT: PendulumComponent + }; + static readonly IMPRINT = { PATH: 'imprint', LINK: '/imprint', diff --git a/src/app/constants/UrlConstants.ts b/src/app/constants/UrlConstants.ts index 640b9d5..cc33dc8 100644 --- a/src/app/constants/UrlConstants.ts +++ b/src/app/constants/UrlConstants.ts @@ -17,4 +17,5 @@ static readonly MANDELBULB_WIKI = 'https://de.wikipedia.org/wiki/Mandelknolle' static readonly MANDELBOX_WIKI = 'https://de.wikipedia.org/wiki/Mandelbox' static readonly JULIA3D_WIKI = 'https://de.wikipedia.org/wiki/Mandelknolle' + static readonly DOUBLE_PENDULUM_WIKI = 'https://de.wikipedia.org/wiki/Doppelpendel' } diff --git a/src/app/pages/algorithms/conway-gol/conway-gol.component.html b/src/app/pages/algorithms/conway-gol/conway-gol.component.html index 7bb078b..d0cfcc0 100644 --- a/src/app/pages/algorithms/conway-gol/conway-gol.component.html +++ b/src/app/pages/algorithms/conway-gol/conway-gol.component.html @@ -35,8 +35,8 @@ }
{{ 'SORTING.EXECUTION_TIME' | translate }}: {{ executionTime }} ms
-