diff --git a/src/app/app.config.ts b/src/app/app.config.ts index 61d27a7..0c10b46 100644 --- a/src/app/app.config.ts +++ b/src/app/app.config.ts @@ -1,5 +1,5 @@ import {ApplicationConfig, inject, provideAppInitializer, provideBrowserGlobalErrorListeners, provideZonelessChangeDetection} from '@angular/core'; -import { provideRouter } from '@angular/router'; +import { provideRouter, withInMemoryScrolling } from '@angular/router'; import { routes } from './app.routes'; import {provideAnimations} from '@angular/platform-browser/animations'; @@ -17,7 +17,12 @@ export const appConfig: ApplicationConfig = { providers: [ provideBrowserGlobalErrorListeners(), provideZonelessChangeDetection(), - provideRouter(routes), + provideRouter( + routes, + withInMemoryScrolling({ + scrollPositionRestoration: 'top', + anchorScrolling: 'enabled' + })), provideAnimations(), provideHttpClient(), provideTranslateService({ diff --git a/src/app/pages/projects/projects.component.ts b/src/app/pages/projects/projects.component.ts index 9f266ae..0949850 100644 --- a/src/app/pages/projects/projects.component.ts +++ b/src/app/pages/projects/projects.component.ts @@ -81,7 +81,7 @@ export class ProjectsComponent { ], icon: 'sports_esports', assets: '', - links: [{name: 'PROJECTS.LINK_TO_PROJECT', url: 'https.store.steampowered.com/app/1532640/El_Mucho/'}], + links: [{name: 'PROJECTS.LINK_TO_PROJECT', url: 'https://store.steampowered.com/app/1532640/El_Mucho/'}], bulletPoints: [ 'PROJECTS.EL_MUCHO.BULLET_1', 'PROJECTS.EL_MUCHO.BULLET_2', @@ -103,7 +103,7 @@ export class ProjectsComponent { ], icon: 'videogame_asset', assets: '', - links: [{name: 'PROJECTS.LINK_TO_PROJECT', url: 'https.itch.io/c/6628860/lobos-collection'}], + links: [{name: 'PROJECTS.LINK_TO_PROJECT', url: 'https://itch.io/c/6628860/lobos-collection'}], bulletPoints: [ 'PROJECTS.GAME_JAMS.BULLET_1', 'PROJECTS.GAME_JAMS.BULLET_2', @@ -128,7 +128,7 @@ export class ProjectsComponent { ], icon: 'history_edu', assets: AssetsConstants.DIPLOMA, - links: [{name: 'PROJECTS.LINK_TO_PROJECT', url: 'https.www.th-bingen.de'}], + links: [{name: 'PROJECTS.LINK_TO_PROJECT', url: 'https://www.th-bingen.de'}], bulletPoints: [ 'PROJECTS.DIPLOMA.BULLET_1', 'PROJECTS.DIPLOMA.BULLET_2',