/* eslint-disable react-hooks/rules-of-hooks */ import ResetPassword from '@/components/Authentication/ResetPassword' import BasePage from '@/components/BasePage/BasePage' import ProtectedRoute from '@/components/ProtectedRoute/ProtectedRoute' import AllProfiles from '@/pages/AllProfiles/AllProfiles' import Allocation from '@/pages/Allocation/Allocation' import PageLogin from '@/pages/Auth/Login/Login' import Document from '@/pages/Document/Document' import LeaveManagement from '@/pages/LeaveManagement/LeaveManagement' import PageNotFound from '@/pages/NotFound/NotFound' import OrganizationSettings from '@/pages/OrganizationSettings/OrganizationSettings' import Profile from '@/pages/Profile/Profile' import SprintReview from '@/pages/SprintReview/SprintReview' import StaffEvaluation from '@/pages/StaffEvaluation/StaffEvaluation' import TestReport from '@/pages/TestReport/TestReport' import Tickets from '@/pages/Tickets/Tickets' import TicketsManagement from '@/pages/TicketsManagement/TicketsManagement' import Timekeeping from '@/pages/Timekeeping/Timekeeping' import Tracking from '@/pages/Tracking/Tracking' import UsersManagement from '@/pages/UsersManagement/UsersManagement' import PageWelcome from '@/pages/Welcome/Welcome' import Worklogs from '@/pages/Worklogs/Worklogs' import { Navigate } from 'react-router-dom' const mainRoutes = [ { path: '/', // element: , element: ( ), }, { path: '/welcome', element: ( ), }, { path: '/tracking', element: ( } > ), }, // { // path: '/jira', // element: ( // // // // // } // > // // ), // }, { path: '/worklogs', element: ( } > ), }, { path: '/documents', element: ( } > ), }, { path: '/timekeeping', element: ( } > ), }, { path: '/leave-management', element: ( } > ), }, { path: '/tickets', element: ( } > ), }, { path: '/tickets-management', element: ( } > ), }, { path: '/users', element: ( } > ), }, { path: '/sprint-review', element: ( } > ), }, { path: '/test-report', element: ( } > ), }, { path: '/allocation', element: ( } > ), }, { path: '/profile', element: ( } > ), }, { path: '/staff-avaluation', element: ( } > ), }, { path: '/organization-settings', element: ( } > ), }, { path: '/profiles', element: ( } > ), }, // { // path: '/packages', // element: ( // // // // // } // > // // ), // }, // { // path: '/discounts', // element: ( // // // // // } // > // // ), // }, // { // path: '/client', // element: ( // // // // // } // > // // ), // }, // { // path: '/banner', // element: ( // // // // // } // > // // ), // }, // { // path: '/order', // element: ( // // // // // } // > // // ), // }, // { // path: '/sn-check-history', // element: ( // // // // // } // > // // ), // }, // { // path: '/contacts', // element: ( // // // // // } // > // // ), // }, { path: '/login', element: ( ), }, { path: '/forgot/*', element: , }, { path: '/*', element: , }, ] export default mainRoutes