diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index b672764..f5156c0 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -9,7 +9,8 @@ const routes: Routes = [ { path: '', component: HomeComponent }, { path: 'product/:id', component: ProductItemDetailsComponent }, { path: 'cart', component: CartComponent }, - { path: 'confirmation', component: ConfirmationComponent} + { path: 'confirmation', component: ConfirmationComponent}, + { path: '**', redirectTo: '/' } ]; @NgModule({ diff --git a/src/app/components/cart/cart.component.html b/src/app/components/cart/cart.component.html index 2be9a38..7426965 100644 --- a/src/app/components/cart/cart.component.html +++ b/src/app/components/cart/cart.component.html @@ -22,47 +22,87 @@ -