From e915cf1182b7ddf3cedc17a5cedf5fed6fe875b1 Mon Sep 17 00:00:00 2001 From: Aarushi Date: Fri, 5 Jul 2024 15:49:44 +0100 Subject: [PATCH] add styles for css --- rnd/autogpt_builder/src/components/CustomNode.tsx | 2 +- rnd/autogpt_builder/src/components/Flow.tsx | 2 +- rnd/autogpt_builder/src/components/ModalComponent.tsx | 2 +- rnd/autogpt_builder/src/{components => styles}/customnode.css | 0 rnd/autogpt_builder/src/{components => styles}/flow.css | 0 rnd/autogpt_builder/src/{components => styles}/modal.css | 0 6 files changed, 3 insertions(+), 3 deletions(-) rename rnd/autogpt_builder/src/{components => styles}/customnode.css (100%) rename rnd/autogpt_builder/src/{components => styles}/flow.css (100%) rename rnd/autogpt_builder/src/{components => styles}/modal.css (100%) diff --git a/rnd/autogpt_builder/src/components/CustomNode.tsx b/rnd/autogpt_builder/src/components/CustomNode.tsx index 801f3d2cf8..ee39a011da 100644 --- a/rnd/autogpt_builder/src/components/CustomNode.tsx +++ b/rnd/autogpt_builder/src/components/CustomNode.tsx @@ -1,7 +1,7 @@ import React, { useState, useEffect, FC, memo } from 'react'; import { Handle, Position, NodeProps } from 'reactflow'; import 'reactflow/dist/style.css'; -import './customnode.css'; +import '../styles/customnode.css'; import ModalComponent from './ModalComponent'; type Schema = { diff --git a/rnd/autogpt_builder/src/components/Flow.tsx b/rnd/autogpt_builder/src/components/Flow.tsx index 083d248d08..e674d69654 100644 --- a/rnd/autogpt_builder/src/components/Flow.tsx +++ b/rnd/autogpt_builder/src/components/Flow.tsx @@ -14,7 +14,7 @@ import ReactFlow, { } from 'reactflow'; import 'reactflow/dist/style.css'; import CustomNode from './CustomNode'; -import './flow.css'; +import '../styles/flow.css'; import AutoGPTServerAPI, { Block } from '@/api/autogpt_server_api'; import { ObjectSchema } from '@/lib/types'; diff --git a/rnd/autogpt_builder/src/components/ModalComponent.tsx b/rnd/autogpt_builder/src/components/ModalComponent.tsx index 3c2ac13f22..a876e8a6ee 100644 --- a/rnd/autogpt_builder/src/components/ModalComponent.tsx +++ b/rnd/autogpt_builder/src/components/ModalComponent.tsx @@ -1,5 +1,5 @@ import React, { FC } from 'react'; -import './modal.css'; +import '../styles/modal.css'; interface ModalProps { isOpen: boolean; diff --git a/rnd/autogpt_builder/src/components/customnode.css b/rnd/autogpt_builder/src/styles/customnode.css similarity index 100% rename from rnd/autogpt_builder/src/components/customnode.css rename to rnd/autogpt_builder/src/styles/customnode.css diff --git a/rnd/autogpt_builder/src/components/flow.css b/rnd/autogpt_builder/src/styles/flow.css similarity index 100% rename from rnd/autogpt_builder/src/components/flow.css rename to rnd/autogpt_builder/src/styles/flow.css diff --git a/rnd/autogpt_builder/src/components/modal.css b/rnd/autogpt_builder/src/styles/modal.css similarity index 100% rename from rnd/autogpt_builder/src/components/modal.css rename to rnd/autogpt_builder/src/styles/modal.css