import {
CalendarMonth,
CalendarMonthOutlined,
Home,
HomeOutlined,
Info,
InfoOutlined,
} from '@mui/icons-material';
const avatarMenuOptions = (navigate, logout) => [
{
text: 'Meu Perfil',
action: () => navigate('/profile', { replace: true }),
},
{
text: 'Sair',
action: logout,
},
];
const menuOptions = activePath => [
{
id: 0,
text: 'Página Inicial',
selectedIcon: ,
unselectedIcon: ,
pathname: '/home',
isActive:
activePath === '/home' ||
activePath === '/login' ||
activePath === '/' ||
activePath.indexOf('class') !== -1,
},
{
id: 1,
text: 'Informações',
selectedIcon: ,
unselectedIcon: ,
pathname: '/info',
isActive: activePath === '/info',
},
{
id: 2,
text: 'Calendário',
selectedIcon: ,
unselectedIcon: ,
pathname: '/calendar',
isActive: activePath === '/calendar',
},
];
export { menuOptions, avatarMenuOptions };