diff --git a/src/components/Icon/icons.ts b/src/components/Icon/icons.ts index 6f08103fe4..718f400e0d 100644 --- a/src/components/Icon/icons.ts +++ b/src/components/Icon/icons.ts @@ -52,6 +52,7 @@ import { IoClose, IoCloseCircle, IoCrop, + IoPeople, IoWalletSharp, IoWarning, } from "react-icons/io5"; @@ -138,6 +139,7 @@ export const icons = { Up: VscTriangleUp, Upload: AiOutlineUpload, User: FaUserCircle, + Users: IoPeople, Wallet: IoWalletSharp, Warning: IoWarning, Widget: MdWidgets, diff --git a/src/constants/routes.ts b/src/constants/routes.ts index 88abd94e9c..1627a7ddd7 100644 --- a/src/constants/routes.ts +++ b/src/constants/routes.ts @@ -23,6 +23,7 @@ export const adminRoutes = { banking: "banking", widget_config: "widget-config", donations: "donations", + members: "members", } as const; export enum regRoutes { diff --git a/src/pages/Admin/Charity/index.tsx b/src/pages/Admin/Charity/index.tsx index 62b711b7ff..76d6cba138 100644 --- a/src/pages/Admin/Charity/index.tsx +++ b/src/pages/Admin/Charity/index.tsx @@ -19,7 +19,10 @@ export default function Charity() { linkGroups={[ { links: [LINKS.dashboard, LINKS.donations] }, { title: "Profile", links: [LINKS.edit_profile, LINKS.programs] }, - { title: "Manage", links: [LINKS.banking, LINKS.widget_config] }, + { + title: "Manage", + links: [LINKS.members, LINKS.banking, LINKS.widget_config], + }, ]} /> } diff --git a/src/pages/Admin/constants.ts b/src/pages/Admin/constants.ts index 6c4faf4639..d4a3f1863a 100644 --- a/src/pages/Admin/constants.ts +++ b/src/pages/Admin/constants.ts @@ -56,6 +56,15 @@ export const LINKS: { size: 24, }, }, + members: { + title: "Members", + to: "members", + icon: { + type: "Users", + size: 24, + }, + }, + banking: { title: "Banking", to: sidebarRoutes.banking,