import CreateAccount from "../components/partials/CreateAccount";
import AddProfile from "../components/partials/AddProfile";
import ChoosePackage from "../components/partials/ChoosePackage";
import CreateCreditReportAccount from "../components/partials/CreateCreditReportAccount";
import Success from "../components/partials/Success";
import MakePayment from "../components/partials/MakePayment";

const routes = [
    {
        path: '/',
        redirect: { name: 'create-account' }
    },
  {
    path: '/create/account',
    name: 'create-account',
    component: CreateAccount,
    meta: {
        is_step: false
    },
  },
  {
    path: '/add/profile',
    name: 'add-profile',
    component: AddProfile,
    meta: {
        is_step: true
    },
  },
  {
    path: '/choose/package',
    name: 'choose-package',
    component: ChoosePackage,
    meta: {
        is_step: true
    },
  },
    {
        path: '/create/cr-account',
        name: 'create-cr-account',
        component: CreateCreditReportAccount,
        meta: {
            is_step: true
        },
    },
    {
        path: '/success',
        name: 'success',
        component: Success,
        meta: {
            is_step: true
        },
    },
    {
        path: '/make/payment',
        name: 'make-payment',
        component: MakePayment,
        meta: {
            is_step: true
        },
    },
]

export default routes;
