// Import the new component at the top
const ServiceHome = () => import('./ServiceHome.vue')
const ServicePast = () => import('./ServicePast.vue')
const CalendarCustomer = () => import('./calender/CalendarCustomer.vue')
const ServiceCalendar = () => import('./ServiceCalendar.vue')
const ServiceToday = () => import('./ServiceToday.vue')
const ServicePlans = () => import('./ServicePlans.vue')

const serviceRoutes = [
  {
    path: '/service',
    name: 'ServiceHome',
    component: ServiceHome
  },
  {
    path: '/service/past',
    name: 'ServicePast',
    component: ServicePast
  },
  // --- NEW ROUTE FOR THE MASTER CALENDAR ---
  {
    path: '/service/calendar', // Note: No '/:id' parameter
    name: 'ServiceCalendar',
    component: ServiceCalendar,
  },
  // -----------------------------------------

  {
    path: '/service/calender/:id', // Note the typo, should likely be 'calendar'
    name: 'CalenderCustomer',
    component: CalendarCustomer,
  },
  {
    path: '/service/servicetoday',
    name: 'ServiceToday',
    component: ServiceToday,
  },
  {
    path: '/service/plans',
    name: 'ServicePlans',
    component: ServicePlans,
  },
]

export default serviceRoutes
//sourceMappingURL=index.ts.map
