diff --git a/components/FlowEditor/Panel.tsx b/components/FlowEditor/Panel.tsx
index aef2131..96ceacd 100644
--- a/components/FlowEditor/Panel.tsx
+++ b/components/FlowEditor/Panel.tsx
@@ -1,5 +1,27 @@
+import { VscArrowLeft, VscArrowRight } from "react-icons/vsc";
+import useStore from "../../lib/FlowEditor/FlowEditorStore";
+
const Panel = () => {
- return ;
+ const { panelClosed, togglePanelState } = useStore();
+
+ const PanelButton = () => {
+ return (
+
+
+
+ );
+ };
+
+ return (
+
+ );
};
export default Panel;
diff --git a/styles/globals.css b/styles/globals.css
index 714e72e..1af1574 100644
--- a/styles/globals.css
+++ b/styles/globals.css
@@ -38,7 +38,29 @@
border border-gray-600 rounded-full
mx-2;
}
+
.content {
@apply ml-16;
}
+
+ .flow-editor {
+ @apply flex flex-row
+ bg-content;
+ }
+
+ .flow-panel {
+ @apply relative flex flex-col
+ bg-panel
+ z-30;
+ }
+
+ .flow-panel-button {
+ @apply absolute flex items-center justify-center
+ w-10 h-10 mt-4 -right-12
+ bg-gray-800 text-secondary
+ rounded-xl cursor-pointer;
+ }
+
+ .flow {
+ }
}