From fa029497b7dfdbdc347dd8ac6122cc07b85a53eb Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Thu, 7 Mar 2024 19:04:40 -0300 Subject: [PATCH] Add new SVG assets and update UndrawCardComponent --- .../src/assets/undraw_mobile_messages_re_yx8w.svg | 1 + .../assets/undraw_real_time_analytics_re_yliv.svg | 1 + .../assets/undraw_team_collaboration_re_ow29.svg | 1 + src/frontend/src/components/undrawCards/index.tsx | 15 +++++++++++++-- 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 src/frontend/src/assets/undraw_mobile_messages_re_yx8w.svg create mode 100644 src/frontend/src/assets/undraw_real_time_analytics_re_yliv.svg create mode 100644 src/frontend/src/assets/undraw_team_collaboration_re_ow29.svg diff --git a/src/frontend/src/assets/undraw_mobile_messages_re_yx8w.svg b/src/frontend/src/assets/undraw_mobile_messages_re_yx8w.svg new file mode 100644 index 000000000..f232003d2 --- /dev/null +++ b/src/frontend/src/assets/undraw_mobile_messages_re_yx8w.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/frontend/src/assets/undraw_real_time_analytics_re_yliv.svg b/src/frontend/src/assets/undraw_real_time_analytics_re_yliv.svg new file mode 100644 index 000000000..32873b55f --- /dev/null +++ b/src/frontend/src/assets/undraw_real_time_analytics_re_yliv.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/frontend/src/assets/undraw_team_collaboration_re_ow29.svg b/src/frontend/src/assets/undraw_team_collaboration_re_ow29.svg new file mode 100644 index 000000000..38bc4b3d5 --- /dev/null +++ b/src/frontend/src/assets/undraw_team_collaboration_re_ow29.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/frontend/src/components/undrawCards/index.tsx b/src/frontend/src/components/undrawCards/index.tsx index 3368d64b8..3dbfda21a 100644 --- a/src/frontend/src/components/undrawCards/index.tsx +++ b/src/frontend/src/components/undrawCards/index.tsx @@ -5,7 +5,12 @@ import { useNavigate } from "react-router-dom"; import { ReactComponent as TransferFiles } from "../../assets/undraw_transfer_files_re_a2a9.svg" //@ts-ignore import { ReactComponent as BasicPrompt } from "../../assets/undraw_design_components_9vy6.svg" - +//@ts-ignore +import { ReactComponent as ChatWithHistory } from "../../assets/undraw_mobile_messages_re_yx8w.svg" +//@ts-ignore +import { ReactComponent as Assistant } from "../../assets/undraw_team_collaboration_re_ow29.svg" +//@ts-ignore +import { ReactComponent as APIRequest } from "../../assets/undraw_real_time_analytics_re_yliv.svg" import useFlowsManagerStore from "../../stores/flowsManagerStore"; import { FlowType } from "../../types/flow" import { updateIds } from "../../utils/reactflowUtils"; @@ -24,7 +29,13 @@ export default function UndrawCardComponent({ return case "Basic Prompting": return - default: + case "Chat with memory": + return + case "API requests": + return + case "Assistant": + return + default: return } }