Home redirects to Info
This commit is contained in:
parent
7f71c5f3d0
commit
a01a638661
|
@ -9,6 +9,7 @@ import { ContextViewerComponent, ContextsComponent } from './contexts/contexts.c
|
||||||
import { DsmSearchComponent, DsmResultsComponent, DsmApiComponent } from './dsm/dsm.component';
|
import { DsmSearchComponent, DsmResultsComponent, DsmApiComponent } from './dsm/dsm.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
|
{ path:"" , redirectTo:'info', pathMatch: 'full' },
|
||||||
{ path:"info" , component:InfoComponent },
|
{ path:"info" , component:InfoComponent },
|
||||||
{ path:"resources/:type" , component:ResourcesComponent },
|
{ path:"resources/:type" , component:ResourcesComponent },
|
||||||
{ path:"adv_resources/context" , component:ContextsComponent },
|
{ path:"adv_resources/context" , component:ContextsComponent },
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<mat-expansion-panel-header>
|
<mat-expansion-panel-header>
|
||||||
<mat-panel-title>Home</mat-panel-title>
|
<mat-panel-title>Home</mat-panel-title>
|
||||||
</mat-expansion-panel-header>
|
</mat-expansion-panel-header>
|
||||||
<div>...</div>
|
<a class="menu-item" [routerLink]="['']">Home</a>
|
||||||
</mat-expansion-panel>
|
</mat-expansion-panel>
|
||||||
<mat-expansion-panel>
|
<mat-expansion-panel>
|
||||||
<mat-expansion-panel-header>
|
<mat-expansion-panel-header>
|
||||||
|
|
Loading…
Reference in New Issue