import React from 'react';
import { Locations } from 'common/enums';
import { TSidebarItem } from 'common/types';
import HomeIcon from '@material-ui/icons/Home';
import ViewDayIcon from '@material-ui/icons/ViewDay';
import MonetizationOnIcon from '@material-ui/icons/MonetizationOn';
import SupervisorAccountIcon from '@material-ui/icons/SupervisorAccount';

export const adminSidebarItems: TSidebarItem[] = [
  {
    label: 'Obecné',
    icon: <HomeIcon />,
    url: Locations.HOME,
  },
  {
    label: 'Prodej',
    icon: <ViewDayIcon />,
    url: Locations.SELL,
  },
  {
    label: 'Pokladna',
    icon: <MonetizationOnIcon />,
    url: Locations.CASH_DESK,
  },
  {
    label: 'Správce',
    icon: <SupervisorAccountIcon />,
    url: Locations.ADMIN,
  },
];

export const userSidebarItems: TSidebarItem[] = [
  {
    label: 'Obecné',
    icon: <HomeIcon />,
    url: Locations.HOME,
  },
  {
    label: 'Prodej',
    icon: <ViewDayIcon />,
    url: Locations.SELL,
  },
  {
    label: 'Pokladna',
    icon: <MonetizationOnIcon />,
    url: Locations.CASH_DESK,
  },
];
