mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-30 17:14:22 +03:00
61 lines
1.0 KiB
JavaScript
61 lines
1.0 KiB
JavaScript
import { default as ROUTES } from './routeNames';
|
|
|
|
const authMenuItems = [
|
|
{
|
|
name: 'Profile',
|
|
route: ROUTES.TABBAR.PROFILE,
|
|
icon: 'perm-identity',
|
|
id: 'profile',
|
|
},
|
|
{
|
|
name: 'Bookmarks',
|
|
route: ROUTES.SCREENS.BOOKMARKS,
|
|
icon: 'star-border',
|
|
id: 'bookmarks',
|
|
},
|
|
{
|
|
name: 'Drafts',
|
|
route: ROUTES.SCREENS.DRAFTS,
|
|
icon: 'insert-drive-file',
|
|
id: 'drafts',
|
|
},
|
|
// {
|
|
// name: 'Gallery',
|
|
// route: 'galery',
|
|
// icon: 'photo-library',
|
|
// id: 'gallery',
|
|
// },
|
|
{
|
|
name: 'Settings',
|
|
route: ROUTES.SCREENS.SETTINGS,
|
|
icon: 'settings',
|
|
id: 'settings',
|
|
},
|
|
{
|
|
name: 'Logout',
|
|
route: '',
|
|
icon: 'power-settings-new',
|
|
id: 'logout',
|
|
},
|
|
];
|
|
|
|
const noAuthMenuItems = [
|
|
{
|
|
name: 'Add Account',
|
|
route: ROUTES.SCREENS.LOGIN,
|
|
icon: 'add',
|
|
id: 'add_account',
|
|
},
|
|
{
|
|
name: 'Settings',
|
|
route: ROUTES.SCREENS.SETTINGS,
|
|
icon: 'settings',
|
|
id: 'settings',
|
|
},
|
|
];
|
|
|
|
export default {
|
|
AUTH_MENU_ITEMS: authMenuItems,
|
|
NO_AUTH_MENU_ITEMS: noAuthMenuItems,
|
|
};
|