Skip to content

Commit

Permalink
added report tab
Browse files Browse the repository at this point in the history
  • Loading branch information
TharindaPrabhath committed Nov 1, 2021
1 parent 9adcdaa commit 962d685
Showing 1 changed file with 58 additions and 45 deletions.
103 changes: 58 additions & 45 deletions src/data/sidebarData.ts
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;


0 comments on commit 962d685

Please sign in to comment.