2023-01-19 14:47:52 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
|
|
import { InfoComponent } from './info/info.component';
|
2023-01-20 11:39:34 +01:00
|
|
|
import { ProtocolsComponent } from './protocols/protocols.component';
|
2023-01-20 16:57:03 +01:00
|
|
|
import { WfHistoryComponent } from './wf-history/wf-history.component';
|
2023-01-24 14:11:39 +01:00
|
|
|
import { ResourcesComponent } from './resources/resources.component';
|
2023-01-19 14:47:52 +01:00
|
|
|
|
|
|
|
const routes: Routes = [
|
2023-01-20 11:39:34 +01:00
|
|
|
{ path:"info" , component:InfoComponent},
|
2023-01-20 16:57:03 +01:00
|
|
|
{ path:"adv_resources/protocol" , component:ProtocolsComponent},
|
2023-01-24 14:11:39 +01:00
|
|
|
{ path:"wf_history" , component:WfHistoryComponent},
|
|
|
|
{ path:"resources/:type" , component:ResourcesComponent}
|
2023-01-19 14:47:52 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [RouterModule.forRoot(routes)],
|
|
|
|
exports: [RouterModule]
|
|
|
|
})
|
|
|
|
export class AppRoutingModule { }
|