import { ESHOP as URL_PREFIX, ESHOP_RECURRING_INFO } from '@/config/url-prefix'
import { ESHOP_TEMPLATE } from '@/config/template'

export default [
  {
    path: URL_PREFIX,
    component: () => import('../_global/components/templates/PreCheckoutTemplate'),
    name: 'RecurringInfo',
    meta: {
      menuItem: false,
      requiresAuth: false,
      template: ESHOP_TEMPLATE,
    },
    children: [
      {
        path: ESHOP_RECURRING_INFO,
        component: () => import('./components/RecurringInfo'),
        name: 'RecurringInfoTab',
        meta: {
          title: 'Eshop.Checkout.RecurringInfo.Title',
        },
      },
    ],
  },
]
