Home redirects to Info

This commit is contained in:
Michele Artini 2023-02-03 12:48:12 +01:00
parent 7f71c5f3d0
commit a01a638661
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ import { ContextViewerComponent, ContextsComponent } from './contexts/contexts.c
import { DsmSearchComponent, DsmResultsComponent, DsmApiComponent } from './dsm/dsm.component';
const routes: Routes = [
{ path:"" , redirectTo:'info', pathMatch: 'full' },
{ path:"info" , component:InfoComponent },
{ path:"resources/:type" , component:ResourcesComponent },
{ path:"adv_resources/context" , component:ContextsComponent },

View File

@ -8,7 +8,7 @@
<mat-expansion-panel-header>
<mat-panel-title>Home</mat-panel-title>
</mat-expansion-panel-header>
<div>...</div>
<a class="menu-item" [routerLink]="['']">Home</a>
</mat-expansion-panel>
<mat-expansion-panel>
<mat-expansion-panel-header>