- Updated the icons;
- Extracted the Layout into its own component;
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import clsx from "clsx";
|
||||
import {IconType} from "react-icons";
|
||||
import {MdSpaceDashboard} from "react-icons/md";
|
||||
import {BsFileEarmarkText, BsClockHistory} from "react-icons/bs";
|
||||
import {BsFileEarmarkText, BsClockHistory, BsPencil, BsGraphUp} from "react-icons/bs";
|
||||
import {RiLogoutBoxFill} from "react-icons/ri";
|
||||
import {SlPencil} from "react-icons/sl";
|
||||
import {FaAward} from "react-icons/fa";
|
||||
@@ -46,8 +46,8 @@ export default function Sidebar({path}: Props) {
|
||||
<div className="flex flex-col gap-3">
|
||||
<Nav Icon={MdSpaceDashboard} label="Dashboard" path={path} keyPath="/" />
|
||||
<Nav Icon={BsFileEarmarkText} label="Exams" path={path} keyPath="/exam" />
|
||||
<Nav Icon={SlPencil} label="Exercises" path={path} keyPath="/exercise" />
|
||||
<Nav Icon={FaAward} label="Score" path={path} keyPath="/score" />
|
||||
<Nav Icon={BsPencil} label="Exercises" path={path} keyPath="/exercise" />
|
||||
<Nav Icon={BsGraphUp} label="Stats" path={path} keyPath="/stats" />
|
||||
<Nav Icon={BsClockHistory} label="Record" path={path} keyPath="/record" />
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user