diff --git a/src/app/app.component.html b/src/app/app.component.html index 3062597..52ea972 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -20,10 +20,10 @@
- {{ 'topBar.aboutMe' | translate }} - {{ 'topBar.depreciationCalculator' | translate }} - {{ 'topBar.courses' | translate }} - {{ 'topBar.friendlyPages' | translate }} + {{ 'topBar.aboutMe' | translate }} + {{ 'topBar.depreciationCalculator' | translate }} + {{ 'topBar.courses' | translate }} + {{ 'topBar.friendlyPages' | translate }}
diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 5679d0e..d5522dc 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -1,12 +1,12 @@ import { Component, HostListener, OnDestroy } from '@angular/core'; -import { RouterOutlet } from '@angular/router'; +import { RouterOutlet, RouterModule } from '@angular/router'; import { TranslateService, TranslateModule } from '@ngx-translate/core'; import { Subscription } from 'rxjs'; @Component({ selector: 'app-root', standalone: true, - imports: [RouterOutlet, TranslateModule], + imports: [RouterOutlet, TranslateModule, RouterModule], templateUrl: './app.component.html', styleUrls: ['./app.component.css'], // Fixed typo }) diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index ab08253..f79bc8c 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -9,9 +9,8 @@ import { FriendlyPagesComponent } from './friendly-pages/friendly-pages.componen export const routes: Routes = [ { - path: "", - title: "Kalkulator amortyzacyjny", - component:AssetCalculatorComponent + path: '', redirectTo: 'asset-calculator', pathMatch: 'full' + }, { path: "about-me",