Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

adminNavigation.js 1021B

1234567891011121314151617181920212223242526272829303132333435
  1. import React from "react";
  2. import { ReactComponent as UserIcon } from "../assets/images/svg/user-gray.svg";
  3. import { ReactComponent as CategoryIcon } from "../assets/images/svg/category.svg";
  4. import { ReactComponent as LocationIcon } from "../assets/images/svg/location.svg";
  5. import { ReactComponent as DollarIcon } from "../assets/images/svg/dollar-sign.svg";
  6. import {
  7. ADMIN_CATEGORIES_PAGE,
  8. ADMIN_LOCATIONS_PAGE,
  9. ADMIN_PAYMENT_PAGE,
  10. ADMIN_USERS_PAGE,
  11. } from "./pages";
  12. import i18n from "../i18n";
  13. export const ADMIN_NAVIGATION = [
  14. {
  15. text: i18n.t("admin.navigation.users"),
  16. icon: <UserIcon />,
  17. route: `${ADMIN_USERS_PAGE}`,
  18. },
  19. {
  20. text: i18n.t("admin.navigation.categories"),
  21. icon: <CategoryIcon />,
  22. route: `${ADMIN_CATEGORIES_PAGE}`,
  23. },
  24. {
  25. text: i18n.t("admin.navigation.locations"),
  26. icon: <LocationIcon />,
  27. route: `${ADMIN_LOCATIONS_PAGE}`,
  28. },
  29. {
  30. text: i18n.t("admin.navigation.payment"),
  31. icon: <DollarIcon />,
  32. route: `${ADMIN_PAYMENT_PAGE}`,
  33. },
  34. ];