Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Changed background to white and add an effect on it

SwiftyOSc577d0469265
diff --git a/rnd/autogpt_builder/src/app/build/page.tsx b/rnd/autogpt_builder/src/app/build/page.tsx
index a3e1e1ef80..6d4c928c8d 100644
--- a/rnd/autogpt_builder/src/app/build/page.tsx
+++ b/rnd/autogpt_builder/src/app/build/page.tsx
@@ -8,7 +8,7 @@ export default function Home() {
return (
<FlowEditor
- className="flow-container w-full min-h-[86vh] border border-gray-300 dark:border-gray-700 rounded-lg bg-secondary"
+ className="flow-container w-full min-h-[86vh] border border-gray-300 dark:border-gray-700 rounded-lg"
flowID={query.get("flowID") ?? query.get("templateID") ?? undefined}
template={!!query.get("templateID")}
/>
diff --git a/rnd/autogpt_builder/src/components/Flow.tsx b/rnd/autogpt_builder/src/components/Flow.tsx
index bc4bff837d..51a187055f 100644
--- a/rnd/autogpt_builder/src/components/Flow.tsx
+++ b/rnd/autogpt_builder/src/components/Flow.tsx
@@ -18,6 +18,7 @@ import ReactFlow, {
EdgeTypes,
MarkerType,
Controls,
+ Background,
} from "reactflow";
import "reactflow/dist/style.css";
import CustomNode, { CustomNodeData } from "./CustomNode";
@@ -882,6 +883,7 @@ const FlowEditor: React.FC<{
onNodeDragStop={onNodesChangeEnd}
>
<Controls />
+ <Background />
<ControlPanel className="absolute z-10" controls={editorControls}>
<BlocksControl blocks={availableNodes} addBlock={addNode} />
<SaveControl