Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | import {
HeartIcon,
CalendarIcon,
FileLightIcon,
LockIcon,
HourGlassIcon,
JobsIcon,
CustomerPeopleIcon,
CogSettingsIcon,
SheetIcon,
} from "@assets/rebrandIcons";
import DashboardIcon from "@assets/rebrandIcons/DashboardIcon";
import { PlusIcon } from "@assets/icons/RebrandedIcons";
/****
* suggestion as a standard for menu configs :
* __title__ key name used to render a Text.
****/
const menuList = {
menu: [
{
name: "Dashboard",
path: "/merchant/dashboard",
icon: <DashboardIcon isMenu />,
index: 0,
},
{
name: "Manage money",
path: "/merchant/manage-money",
icon: <JobsIcon isMenu />,
index: 1,
},
{
name: "Customers",
path: "/merchant/customers",
icon: <CustomerPeopleIcon isMenu />,
index: 2,
},
{
name: "Payment Forms",
path: "/merchant/payment-forms",
icon: <SheetIcon isMenu />,
// TODO: add translation key instead of hard coded text
text: "Payment Forms",
index: 3,
},
{
name: "__title__",
icon: <SheetIcon isMenu />,
path: "",
// TODO: add translation key instead of hard coded text
text: "",
index: 4,
},
{
name: "Fundraisers",
path: "/merchant/fundraisers",
icon: <HeartIcon isMenu />,
index: 5,
},
{
name: "Events",
path: "/merchant/events",
icon: <CalendarIcon isMenu />,
index: 6,
},
{
name: "Invoices",
path: "/merchant/invoices",
icon: <FileLightIcon isMenu />,
index: 7,
},
{
name: "Memberships",
path: "/merchant/memberships",
icon: <LockIcon isMenu />,
index: 8,
},
{
name: "Sweepstakes",
path: "/merchant/sweepstakes",
icon: <HourGlassIcon isMenu />,
index: 9,
},
{
name: "Pre-Built Forms",
path: "/merchant/payment-forms",
icon: <PlusIcon />,
text: "Pre-Built Forms",
index: 10,
isPreBuildFormsBuilder: true,
},
],
footer: [
{
name: "Settings",
path: "/merchant/settings",
icon: <CogSettingsIcon />,
},
],
};
export { menuList };
|