diff --git a/src/frontend/src/pages/MainPage/components/cardComponent/index.tsx b/src/frontend/src/pages/MainPage/components/cardComponent/index.tsx index 7871d18f3..2b05a0df7 100644 --- a/src/frontend/src/pages/MainPage/components/cardComponent/index.tsx +++ b/src/frontend/src/pages/MainPage/components/cardComponent/index.tsx @@ -3,6 +3,7 @@ import { ArrowTopRightOnSquareIcon, TrashIcon, } from "@heroicons/react/24/outline"; +import { Edit, Trash } from "lucide-react"; import { OpenAiIcon } from "../../../../icons/OpenAi"; import { Button } from "../../../../components/ui/button"; import { Badge } from "../../../../components/ui/badge"; @@ -34,29 +35,38 @@ export const CardComponent = ({ let emoji = flow.style?.emoji || "🤖"; // get random tailwind color - let color = flow.style?.color || "bg-blue-400"; + let color = flow.style?.color || "bg-blue-200"; return (
- {emoji} - + */} {flow.name}
- +
+ {/* make the icons shake a bit on hover */} + { + setTabIndex(idx); + setActiveTab("myflow"); + }} + /> + { + removeFlow(flow.id); + }} + /> +
@@ -69,8 +79,8 @@ export const CardComponent = ({ -
-
+
+ {/*
{idx === 0 ? "Agent" : "Tool"} {idx === 0 && ( @@ -80,19 +90,7 @@ export const CardComponent = ({  OpenAI+ )} -
- +
*/}