Added skeleton code for Library -> Series detail pages. Added a card component to keep a lot of the logic and design consistent between screens. Added ability to see your libraries and open them up.

This commit is contained in:
Joseph Milazzo 2020-12-31 13:19:18 -06:00
parent fdc0c5753d
commit efdbe5eb35
22 changed files with 197 additions and 15 deletions

View file

@ -1,8 +1,8 @@
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { HomeComponent } from './home/home.component';
import { LibraryDetailComponent } from './library-detail/library-detail.component';
import { LibraryComponent } from './library/library.component';
import { AdminGuard } from './_guards/admin.guard';
const routes: Routes = [
{path: '', component: HomeComponent},
@ -11,6 +11,7 @@ const routes: Routes = [
loadChildren: () => import('./admin/admin.module').then(m => m.AdminModule)
},
{path: 'library', component: LibraryComponent},
{path: 'library/:id', component: LibraryDetailComponent},
{path: '**', component: HomeComponent, pathMatch: 'full'}
];