-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9adcdaa
commit 962d685
Showing
1 changed file
with
58 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,76 @@ | ||
import SidebarProp from '../types/SidebarProp'; | ||
import SidebarProp from "../types/SidebarProp"; | ||
|
||
import SpeedIcon from '@material-ui/icons/Speed'; | ||
import PersonIcon from '@material-ui/icons/Person'; | ||
import CardGiftcardIcon from '@material-ui/icons/CardGiftcard'; | ||
import HistoryIcon from '@material-ui/icons/History'; | ||
import SettingsIcon from '@material-ui/icons/Settings'; | ||
import colors from './colors'; | ||
import SpeedIcon from "@material-ui/icons/Speed"; | ||
import PersonIcon from "@material-ui/icons/Person"; | ||
import CardGiftcardIcon from "@material-ui/icons/CardGiftcard"; | ||
import HistoryIcon from "@material-ui/icons/History"; | ||
import ReportIcon from "@material-ui/icons/Report"; | ||
import SettingsIcon from "@material-ui/icons/Settings"; | ||
import colors from "./colors"; | ||
|
||
const color = colors.primaryBrandClr; | ||
|
||
const Dashboard: SidebarProp = { | ||
title: "Dashboard", | ||
path: "/dashboard", | ||
icon: { | ||
name: SpeedIcon, | ||
htmlColor: color, | ||
} | ||
} | ||
title: "Dashboard", | ||
path: "/dashboard", | ||
icon: { | ||
name: SpeedIcon, | ||
htmlColor: color, | ||
}, | ||
}; | ||
|
||
const User: SidebarProp = { | ||
title: "User", | ||
path: "/user", | ||
icon: { | ||
name: PersonIcon, | ||
htmlColor: color, | ||
} | ||
} | ||
title: "User", | ||
path: "/user", | ||
icon: { | ||
name: PersonIcon, | ||
htmlColor: color, | ||
}, | ||
}; | ||
|
||
const Certificate: SidebarProp = { | ||
title: "Certificate", | ||
path: "/certificate", | ||
icon: { | ||
name: CardGiftcardIcon, | ||
htmlColor: color, | ||
} | ||
} | ||
title: "Certificate", | ||
path: "/certificate", | ||
icon: { | ||
name: CardGiftcardIcon, | ||
htmlColor: color, | ||
}, | ||
}; | ||
|
||
const Report: SidebarProp = { | ||
title: "Report", | ||
path: "/report", | ||
icon: { | ||
name: ReportIcon, | ||
htmlColor: color, | ||
}, | ||
}; | ||
|
||
const Activity: SidebarProp = { | ||
title: "Activity", | ||
path: "/activity", | ||
icon: { | ||
name: HistoryIcon, | ||
htmlColor: color, | ||
} | ||
} | ||
title: "Activity", | ||
path: "/activity", | ||
icon: { | ||
name: HistoryIcon, | ||
htmlColor: color, | ||
}, | ||
}; | ||
|
||
const Settings: SidebarProp = { | ||
title: "Settings", | ||
path: "/settings", | ||
icon: { | ||
name: SettingsIcon, | ||
htmlColor: color, | ||
} | ||
} | ||
title: "Settings", | ||
path: "/settings", | ||
icon: { | ||
name: SettingsIcon, | ||
htmlColor: color, | ||
}, | ||
}; | ||
|
||
const SidebarData: SidebarProp[] = [ | ||
Dashboard, User, Certificate, Activity, Settings | ||
Dashboard, | ||
User, | ||
Certificate, | ||
Report, | ||
Activity, | ||
Settings, | ||
]; | ||
|
||
export default SidebarData; | ||
|
||
|