-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
9 changed files
with
107 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { SvgIconTypeMap } from '@mui/material'; | ||
import { OverridableComponent } from '@mui/material/OverridableComponent'; | ||
|
||
export interface MenuItem { | ||
title: string; | ||
path: string; | ||
icon: OverridableComponent<SvgIconTypeMap<NonNullable<unknown>, 'svg'>> & { | ||
muiName: string; | ||
}; | ||
children?: MenuItem[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,24 @@ | ||
export const DRAWER_WIDTH = 280; | ||
import SpaceDashboardIcon from '@mui/icons-material/SpaceDashboard'; | ||
import FingerprintIcon from '@mui/icons-material/Fingerprint'; | ||
import BlockIcon from '@mui/icons-material/Block'; | ||
import { MenuItem } from '../interfaces'; | ||
|
||
export const DRAWER_WIDTH = 240; | ||
|
||
export const SIDEBAR_MENU: MenuItem[] = [ | ||
{ | ||
title: 'Dashboard', | ||
path: '/', | ||
icon: SpaceDashboardIcon, | ||
}, | ||
{ | ||
title: 'Identifiers', | ||
path: '/idenifiers', | ||
icon: FingerprintIcon, | ||
}, | ||
{ | ||
title: 'Permissions', | ||
path: '/permissions', | ||
icon: BlockIcon, | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export function Identifiers() { | ||
return <div>Identifiers</div>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { Identifiers } from './Identifiers'; | ||
|
||
export default Identifiers; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export function Permissions() { | ||
return <div>Permissions</div>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { Permissions } from './Permissions'; | ||
|
||
export default Permissions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters