Compare commits

..

No commits in common. "d567a21b2cd69503acba2e2f8cd2f1a36f865c29" and "cb58810e1afaf97ae320597b87b56e6f1419bfdd" have entirely different histories.

3 changed files with 69 additions and 71 deletions

File diff suppressed because one or more lines are too long

View File

@ -7,6 +7,15 @@ const menuAside: MenuAsideItem[] = [
icon: icon.mdiViewDashboardOutline,
label: 'Dashboard',
},
{
href: '/users/users-list',
label: 'Users',
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
icon: icon.mdiAccountGroup ?? icon.mdiTable,
permissions: 'READ_USERS',
},
{
href: '/posts/posts-list',
label: 'Posts',
@ -18,23 +27,6 @@ const menuAside: MenuAsideItem[] = [
: icon.mdiTable ?? icon.mdiTable,
permissions: 'READ_POSTS',
},
{
href: '/profile',
label: 'Profile',
icon: icon.mdiAccountCircle,
},
{
label: 'Admin',
icon: icon.mdiShieldAccountVariantOutline,
menu: [
{
href: '/users/users-list',
label: 'Users',
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
icon: icon.mdiAccountGroup ?? icon.mdiTable,
permissions: 'READ_USERS',
},
{
href: '/tags/tags-list',
label: 'Tags',
@ -78,6 +70,12 @@ const menuAside: MenuAsideItem[] = [
icon: icon.mdiTable ?? icon.mdiTable,
permissions: 'READ_COMPANIES',
},
{
href: '/profile',
label: 'Profile',
icon: icon.mdiAccountCircle,
},
{
href: '/contact',
label: 'Home page',
@ -91,8 +89,6 @@ const menuAside: MenuAsideItem[] = [
icon: icon.mdiFileCode,
permissions: 'READ_API_DOCS',
},
],
},
];
export default menuAside;

View File

@ -62,7 +62,9 @@ module.exports = {
500: '#D9DBE9',
400: '#EFF0F6',
300: '#F7F7FC',
red: {
500: '#E63946',
600: '#D62839',
},
red: {
300: '#F56565',
@ -71,6 +73,7 @@ module.exports = {
700: '#9B2C2C',
},
},
spacing: {
'18': '4.5rem',
'22': '5.5rem',