add route for all menu
This commit is contained in:
11
src/pages/access/access-type/AccessType.tsx
Normal file
11
src/pages/access/access-type/AccessType.tsx
Normal file
@ -0,0 +1,11 @@
|
||||
const AccessType = () => {
|
||||
return (
|
||||
<div>
|
||||
<div className="container mx-auto p-5">
|
||||
<h1 className="text-xl font-medium leading-none text-gray-900">Access Type</h1>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default AccessType;
|
||||
11
src/pages/access/member-credentials/MemberCredential.tsx
Normal file
11
src/pages/access/member-credentials/MemberCredential.tsx
Normal file
@ -0,0 +1,11 @@
|
||||
const MemberCredential = () => {
|
||||
return (
|
||||
<div>
|
||||
<div className="container mx-auto p-5">
|
||||
<h1 className="text-xl font-medium leading-none text-gray-900">Member Credential</h1>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default MemberCredential;
|
||||
11
src/pages/account/manage-currency/ManageCurrency.tsx
Normal file
11
src/pages/account/manage-currency/ManageCurrency.tsx
Normal file
@ -0,0 +1,11 @@
|
||||
const ManageCurrency = () => {
|
||||
return (
|
||||
<div>
|
||||
<div className="container mx-auto p-5">
|
||||
<h1 className="text-xl font-medium leading-none text-gray-900">Manage Currency</h1>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default ManageCurrency;
|
||||
14
src/pages/members/kyc/blocks/AddDialog.tsx
Normal file
14
src/pages/members/kyc/blocks/AddDialog.tsx
Normal file
@ -0,0 +1,14 @@
|
||||
import { Dialog } from '@/components/ui/dialog';
|
||||
import { useRef } from 'react';
|
||||
import { useKycContext } from '../hooks';
|
||||
import { useDataGrid } from '@/components';
|
||||
|
||||
const AddDialog = () => {
|
||||
const parentRef = useRef<any | null>(null);
|
||||
const { showAddDialog, handleAddDialog } = useKycContext();
|
||||
const { reload } = useDataGrid();
|
||||
|
||||
return <Dialog></Dialog>;
|
||||
};
|
||||
|
||||
export default AddDialog;
|
||||
11
src/pages/menu/manage-menu/ManageMenu.tsx
Normal file
11
src/pages/menu/manage-menu/ManageMenu.tsx
Normal file
@ -0,0 +1,11 @@
|
||||
const ManageMenu = () => {
|
||||
return (
|
||||
<div>
|
||||
<div className="container mx-auto p-5">
|
||||
<h1 className="text-xl font-medium leading-none text-gray-900">Manage Menu</h1>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default ManageMenu;
|
||||
11
src/pages/menu/menu-category/MenuCategory.tsx
Normal file
11
src/pages/menu/menu-category/MenuCategory.tsx
Normal file
@ -0,0 +1,11 @@
|
||||
const MenuCategory = () => {
|
||||
return (
|
||||
<div>
|
||||
<div className="container mx-auto p-5">
|
||||
<h1 className="text-xl font-medium leading-none text-gray-900">Menu Category</h1>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default MenuCategory;
|
||||
11
src/pages/menu/welcome/Welcome.tsx
Normal file
11
src/pages/menu/welcome/Welcome.tsx
Normal file
@ -0,0 +1,11 @@
|
||||
const Welcome = () => {
|
||||
return (
|
||||
<div>
|
||||
<div className="container mx-auto p-5">
|
||||
<h1 className="text-xl font-medium leading-none text-gray-900">Welcome</h1>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Welcome;
|
||||
11
src/pages/message/Inbox.tsx
Normal file
11
src/pages/message/Inbox.tsx
Normal file
@ -0,0 +1,11 @@
|
||||
const Inbox = () => {
|
||||
return (
|
||||
<div>
|
||||
<div className="container mx-auto p-5">
|
||||
<h1 className="text-xl font-medium leading-none text-gray-900">Inbox</h1>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Inbox;
|
||||
11
src/pages/notification/ManageNotification.tsx
Normal file
11
src/pages/notification/ManageNotification.tsx
Normal file
@ -0,0 +1,11 @@
|
||||
const ManageNotification = () => {
|
||||
return (
|
||||
<div>
|
||||
<div className="container mx-auto p-5">
|
||||
<h1 className="text-xl font-medium leading-none text-gray-900">Manage Notification</h1>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default ManageNotification;
|
||||
11
src/pages/transfer/TransferType.tsx
Normal file
11
src/pages/transfer/TransferType.tsx
Normal file
@ -0,0 +1,11 @@
|
||||
const TransferType = () => {
|
||||
return (
|
||||
<div>
|
||||
<div className="container mx-auto p-5">
|
||||
<h1 className="text-xl font-medium leading-none text-gray-900">Transfer Type</h1>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default TransferType;
|
||||
11
src/pages/webservice/ManageWebServices.tsx
Normal file
11
src/pages/webservice/ManageWebServices.tsx
Normal file
@ -0,0 +1,11 @@
|
||||
const ManageWebServices = () => {
|
||||
return (
|
||||
<div>
|
||||
<div className="container mx-auto p-5">
|
||||
<h1 className="text-xl font-medium leading-none text-gray-900">Manage Web Services</h1>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default ManageWebServices;
|
||||
@ -11,10 +11,20 @@ import ManageUserPage from '@/pages/settings/user/manage-user/ManageUserPage';
|
||||
|
||||
import LogActivityPage from '@/pages/settings/user/log-activity/LogActivityPage';
|
||||
import ManagePositionPage from '@/pages/settings/user/manage-position/ManagePositionPage';
|
||||
import ManageAccount from '@/pages/account/manage/account/ManageAccount';
|
||||
import ManageAccount from '@/pages/account/manage-account/ManageAccount';
|
||||
import ManageGroups from '@/pages/groups/ManageGroups';
|
||||
import ManageMembers from '@/pages/members/manage-members/ManageMembers';
|
||||
import Kyc from '@/pages/members/kyc/Kyc';
|
||||
import AccessType from '@/pages/access/access-type/AccessType';
|
||||
import MemberCredential from '@/pages/access/member-credentials/MemberCredential';
|
||||
import ManageCurrency from '@/pages/account/manage-currency/ManageCurrency';
|
||||
import TransferType from '@/pages/transfer/TransferType';
|
||||
import ManageNotification from '@/pages/notification/ManageNotification';
|
||||
import MenuCategory from '@/pages/menu/menu-category/MenuCategory';
|
||||
import ManageMenu from '@/pages/menu/manage-menu/ManageMenu';
|
||||
import Welcome from '@/pages/menu/welcome/Welcome';
|
||||
import Inbox from '@/pages/message/Inbox';
|
||||
import ManageWebServices from '@/pages/webservice/ManageWebServices';
|
||||
|
||||
const AppRoutingSetup = (): ReactElement => {
|
||||
return (
|
||||
@ -22,12 +32,30 @@ const AppRoutingSetup = (): ReactElement => {
|
||||
<Route element={<RequireAuth />}>
|
||||
<Route element={<Demo2Layout />}>
|
||||
<Route path="/" element={<DashboardHomePage />} />
|
||||
<Route path="/groups/group-management" element={<ManageGroups />} />
|
||||
<Route path="/members/kyc" element={<Kyc />} />
|
||||
<Route path="/account/home/user-profile" element={<AccountUserProfilePage />} />
|
||||
|
||||
<Route path="/groups/group-management" element={<ManageGroups />} />
|
||||
|
||||
<Route path="/members/kyc" element={<Kyc />} />
|
||||
<Route path="/members/member-management" element={<ManageMembers />} />
|
||||
|
||||
<Route path="/account/home/user-profile" element={<AccountUserProfilePage />} />
|
||||
<Route path="/access/access-type-management" element={<AccessType />} />
|
||||
<Route path="/members/create-member-credential" element={<MemberCredential />} />
|
||||
|
||||
<Route path="/accounts/account-management" element={<ManageAccount />} />
|
||||
<Route path="/accounts/currency-management" element={<ManageCurrency />} />
|
||||
|
||||
<Route path="/transfer-type/transfer-type-management" element={<TransferType />} />
|
||||
|
||||
<Route path="/notification/notification-management" element={<ManageNotification />} />
|
||||
|
||||
<Route path="/menu/menu-category" element={<MenuCategory />} />
|
||||
<Route path="/menu/menu-management" element={<ManageMenu />} />
|
||||
<Route path="/menu/welcome" element={<Welcome />} />
|
||||
|
||||
<Route path="/message/inbox" element={<Inbox />} />
|
||||
|
||||
<Route path="/webservice/webservice-management" element={<ManageWebServices />} />
|
||||
|
||||
<Route path="/settings/user-management/manage-user" element={<ManageUserPage />} />
|
||||
<Route path="/settings/user-management/log-activity" element={<LogActivityPage />} />
|
||||
@ -35,7 +63,6 @@ const AppRoutingSetup = (): ReactElement => {
|
||||
path="/settings/user-management/manage-position"
|
||||
element={<ManagePositionPage />}
|
||||
/>
|
||||
<Route path="/accounts/account-management" element={<ManageAccount />} />
|
||||
</Route>
|
||||
</Route>
|
||||
<Route path="error/*" element={<ErrorsRouting />} />
|
||||
|
||||
Reference in New Issue
Block a user