diff --git a/src/frontend/src/components/cardComponent/index.tsx b/src/frontend/src/components/cardComponent/index.tsx new file mode 100644 index 000000000..4578c5f21 --- /dev/null +++ b/src/frontend/src/components/cardComponent/index.tsx @@ -0,0 +1,85 @@ +import React from "react"; +import { + ArrowTopRightOnSquareIcon, + TrashIcon, +} from "@heroicons/react/24/outline"; +import { OpenAiIcon } from "../../icons/OpenAi"; +import { Button } from "../../components/ui/button"; +import { Badge } from "../../components/ui/badge"; +import { + Card, + CardDescription, + CardFooter, + CardHeader, + CardTitle, +} from "../ui/card"; +export const CardComponent = ({ + flow, + idx, + removeFlow, + setTabIndex, + setActiveTab, +}) => { + return ( + + + +
+ + {idx === 0 ? "🤖" : "🛠️"} + + {flow.name} +
+ +
+ +
+ {idx === 0 + ? "This flow creates an agent that accesses a department store database and APIs to monitor customer activity and overall storage." + : "This is a new Flow"} + {/* {flow.description} */} +
+
+
+ + +
+
+ {idx === 0 ? "Agent" : "Tool"} + {idx === 0 && ( + +
+ +
+  OpenAI+ +
+ )} +
+ +
+
+
+ ); +};