export default ({ publicPath }) => ([
  {
    path: publicPath,
    name: 'SalePage'
  },
  {
    path: `${publicPath}/products`,
    name: 'SalePageProducts'
  },
  {
    path: `${publicPath}/products/:categoryId/:categoryName`,
    name: 'SalePageCategoryProducts'
  },
  {
    path: `${publicPath}/products/:productId`,
    name: 'SalePageProductDetail'
  },
  {
    path: `${publicPath}/collection`,
    name: 'SalePageCollection'
  },
  {
    path: `${publicPath}/collection/c/:categoryId/:categoryName`,
    name: 'SalePageCategoryCollection'
  },
  {
    path: `${publicPath}/collection/:productId`,
    name: 'SalePageCollectionDetail'
  },
  {
    path: `${publicPath}/checkout`,
    name: 'SalePageCheckout'
  },
  {
    path: `${publicPath}/payment`,
    name: 'SalePagePayment'
  },
  {
    path: `${publicPath}/cart`,
    name: 'SalePageCart'
  },
  {
    path: `${publicPath}/orders`,
    name: 'SalePageOrders'
  },
  {
    path: `${publicPath}/orders/:orderId`,
    name: 'SalePageOrder'
  },
  {
    path: `${publicPath}/orders/:orderId/payment`,
    name: 'SalePageOrderPayment'
  }
])
