From 6b0fbdb4b6c37607053685731120f0e16c328e2a Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Tue, 14 Feb 2023 16:32:12 -0300 Subject: [PATCH] Chat UI done --- .../src/components/chatComponent/index.tsx | 55 +++++++++++++++++++ space_flow/src/pages/FlowPage/index.tsx | 2 + 2 files changed, 57 insertions(+) create mode 100644 space_flow/src/components/chatComponent/index.tsx diff --git a/space_flow/src/components/chatComponent/index.tsx b/space_flow/src/components/chatComponent/index.tsx new file mode 100644 index 000000000..53ee857f7 --- /dev/null +++ b/space_flow/src/components/chatComponent/index.tsx @@ -0,0 +1,55 @@ +import { + ChatBubbleBottomCenterTextIcon, + PaperAirplaneIcon, + XMarkIcon, +} from "@heroicons/react/24/outline"; + +export default function Chat({}) { + return ( + <> +
+
+
+
+ + Chat +
+ +
+
+
+
+ Lorem Ipsum is simply dummy text of the printing and typesetting + industry. +
+
+
+
+ Lorem Ipsum has been the industry's standard dummy text ever + since the 1500s +
+
+
+
+
+ +
+ + +
+
+
+
+
+ + ); +} diff --git a/space_flow/src/pages/FlowPage/index.tsx b/space_flow/src/pages/FlowPage/index.tsx index 00832f384..0b0a7a783 100644 --- a/space_flow/src/pages/FlowPage/index.tsx +++ b/space_flow/src/pages/FlowPage/index.tsx @@ -14,6 +14,7 @@ import AgentNode from "../../CustomNodes/AgentNode"; import ChainNode from "../../CustomNodes/ChainNode"; import ValidatorNode from "../../CustomNodes/ValidatorNode"; import MemoryNode from "../../CustomNodes/MemoryNode"; +import Chat from "../../components/chatComponent"; const nodeTypes = { promptNode: PromptNode, @@ -99,6 +100,7 @@ export default function FlowPage() { + ); }