text: /**
   * @see https://www.npmjs.com/package/next-routes
   * @param {Object} routes The next-routes `routes` object.
   * @returns {undefined}
   */
  function defineRoutes(routes) {
    routes
      .add("home", "/", "home")
      .add("cart", "/cart", "cart")
      .add("checkout", "/cart/checkout", "checkout")
      .add("checkoutLogin", "/cart/login", "checkout")
      .add("checkoutComplete", "/checkout/order/:orderId", "checkoutComplete")
      .add("login", "/login", "login")
      .add("shopProduct", "/shop/:shopSlug/product/:slugOrId", "product")
      .add("product", "/product/:slugOrId/:variantId?", "product")
      .add("shop", "/shop/:shopId/:tag", "productGrid")
      .add("tag", "/tag/:slug", "tag")
      .add("profileAddressBook", "/profile/address", "profileAddressBook")
      .add("profileOrders", "/profile/orders", "profileOrders")
      .add("profilePaymentMethods", "/profile/payments", "profile")
      .add("contact", "/contact", "contact");
  }
  
  module.exports = defineRoutes;
  