diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index d7b41b2..6b2222c 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -14,11 +14,12 @@ const appRoutes: Routes = [ {path: 'home', component: HomeComponent}, {path: 'posts', component: PostsComponent}, {path: 'cv', component: CvComponent}, - {path: 'post/:id', component: FullpostComponent} - // {path: '', redirectTo: 'home', pathMatch: 'full'}, + {path: 'post/:id', component: FullpostComponent}, + {path: '', redirectTo: 'home', pathMatch: 'full'}, // {path: '*', redirectTo: 'home', pathMatch: 'full'} ] - } + }, + { path: '', redirectTo: 'nl', pathMatch: 'full' }, ] ; @@ -26,7 +27,7 @@ const appRoutes: Routes = [ imports: [ RouterModule.forRoot( appRoutes, - {enableTracing: false}) // <-- debugging purposes only ) + {enableTracing: true}) // <-- debugging purposes only ) ], exports: [ RouterModule diff --git a/src/app/components/root/root.component.scss b/src/app/components/root/root.component.scss index baa489f..931ca0a 100644 --- a/src/app/components/root/root.component.scss +++ b/src/app/components/root/root.component.scss @@ -22,7 +22,7 @@ #topname.active { font-size: 100%; color: black; - transition: font-size 0.40s ease, color 0.15s; + transition: font-size 0.30s ease, color 0.15s; } #topname #first {