import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { CartConfirmationComponent } from './pages/cart-confirmation/cart-confirmation.component';
import { CartReviewComponent } from './pages/cart-review/cart-review.component';

export const routes: Routes = [
  {
    path: 'review',
    component: CartReviewComponent,
  },
  {
    path: 'confirmation',
    component: CartConfirmationComponent,
  },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class CartRoutingModule {}
