From a835e2f8364d56c3da084b5dc02dada6077a607a Mon Sep 17 00:00:00 2001 From: Takeshi Kimata <117462761+kimatata@users.noreply.github.com> Date: Wed, 21 Feb 2024 22:26:51 +0900 Subject: [PATCH] replace svg icon with Lucide icon --- .../projects/[projectId]/dashboard/page.tsx | 3 + .../app/projects/[projectId]/home/page.tsx | 3 - frontend/app/projects/[projectId]/sidebar.tsx | 12 +-- frontend/app/projects/project-card.tsx | 8 +- frontend/components/icons.tsx | 100 ------------------ 5 files changed, 13 insertions(+), 113 deletions(-) create mode 100644 frontend/app/projects/[projectId]/dashboard/page.tsx delete mode 100644 frontend/app/projects/[projectId]/home/page.tsx diff --git a/frontend/app/projects/[projectId]/dashboard/page.tsx b/frontend/app/projects/[projectId]/dashboard/page.tsx new file mode 100644 index 0000000..67ef9c9 --- /dev/null +++ b/frontend/app/projects/[projectId]/dashboard/page.tsx @@ -0,0 +1,3 @@ +export default function Page() { + return <>This is Dashboard tab>; +} diff --git a/frontend/app/projects/[projectId]/home/page.tsx b/frontend/app/projects/[projectId]/home/page.tsx deleted file mode 100644 index f55192f..0000000 --- a/frontend/app/projects/[projectId]/home/page.tsx +++ /dev/null @@ -1,3 +0,0 @@ -export default function Page() { - return <>This is Home tab>; -} diff --git a/frontend/app/projects/[projectId]/sidebar.tsx b/frontend/app/projects/[projectId]/sidebar.tsx index b24d4b1..4c43858 100644 --- a/frontend/app/projects/[projectId]/sidebar.tsx +++ b/frontend/app/projects/[projectId]/sidebar.tsx @@ -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() {