replace svg icon with Lucide icon
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"use client";
|
||||
import { Menu, MenuItem } from "@nextui-org/react";
|
||||
import { HomeIcon, PagesIcon, PlayIcon } from "@/components/icons";
|
||||
import { LayoutDashboard, Files, FlaskConical } from "lucide-react";
|
||||
import { useRouter } from "next/navigation";
|
||||
import useGetCurrentIds from "@/utils/useGetCurrentIds";
|
||||
|
||||
@@ -11,21 +11,21 @@ export default function Sidebar() {
|
||||
<div className="w-64 bg-white border-r-1">
|
||||
<Menu aria-label="sidebar">
|
||||
<MenuItem
|
||||
startContent={<HomeIcon size={28} />}
|
||||
startContent={<LayoutDashboard strokeWidth={1} size={28} />}
|
||||
className="p-3"
|
||||
onClick={() => router.push(`/projects/${projectId}/home`)}
|
||||
onClick={() => router.push(`/projects/${projectId}/dashboard`)}
|
||||
>
|
||||
Home
|
||||
Dashboard
|
||||
</MenuItem>
|
||||
<MenuItem
|
||||
startContent={<PagesIcon size={28} />}
|
||||
startContent={<Files strokeWidth={1} size={28} />}
|
||||
className="p-3"
|
||||
onClick={() => router.push(`/projects/${projectId}/folders`)}
|
||||
>
|
||||
Test Cases
|
||||
</MenuItem>
|
||||
<MenuItem
|
||||
startContent={<PlayIcon size={28} />}
|
||||
startContent={<FlaskConical strokeWidth={1} size={28} />}
|
||||
className="p-3"
|
||||
onClick={() => router.push(`/projects/${projectId}/runs`)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user