New Scanner + People Pages (#3286)
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
This commit is contained in:
parent
1ed0eae22d
commit
ba20ad4ecc
142 changed files with 17529 additions and 3038 deletions
8
UI/Web/src/app/_routes/browse-authors-routing.module.ts
Normal file
8
UI/Web/src/app/_routes/browse-authors-routing.module.ts
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import { Routes } from "@angular/router";
|
||||
import { AllSeriesComponent } from "../all-series/_components/all-series/all-series.component";
|
||||
import {BrowseAuthorsComponent} from "../browse-people/browse-authors.component";
|
||||
|
||||
|
||||
export const routes: Routes = [
|
||||
{path: '', component: BrowseAuthorsComponent, pathMatch: 'full'},
|
||||
];
|
||||
19
UI/Web/src/app/_routes/person-detail-routing.module.ts
Normal file
19
UI/Web/src/app/_routes/person-detail-routing.module.ts
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import { Routes } from '@angular/router';
|
||||
import { AuthGuard } from '../_guards/auth.guard';
|
||||
import {PersonDetailComponent} from "../person-detail/person-detail.component";
|
||||
|
||||
|
||||
export const routes: Routes = [
|
||||
{
|
||||
path: ':name',
|
||||
runGuardsAndResolvers: 'always',
|
||||
canActivate: [AuthGuard],
|
||||
component: PersonDetailComponent
|
||||
},
|
||||
{
|
||||
path: '',
|
||||
runGuardsAndResolvers: 'always',
|
||||
canActivate: [AuthGuard],
|
||||
component: PersonDetailComponent
|
||||
}
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue