diff --git a/src/components/Button.tsx b/src/components/Button.tsx
index 8ee3817..79be3d5 100644
--- a/src/components/Button.tsx
+++ b/src/components/Button.tsx
@@ -35,7 +35,7 @@ const Button = forwardRef(
"text-gray/50 rounded-lg border-[2px] border-white/30 px-10 py-3 font-bold transition-all " +
props.className +
(props.disabled
- ? " cursor-not-allowed border-white/10 bg-black/60 text-white/30"
+ ? " cursor-not-allowed border-white/10 bg-zinc-900 text-white/30"
: " mou cursor-pointer bg-[#1E88E5]/70 text-white/80 hover:border-white/80 hover:bg-[#0084f7] hover:text-white hover:shadow-2xl")
}
onClick={onClick}
diff --git a/src/components/ChatWindow.tsx b/src/components/ChatWindow.tsx
index 76781ee..20ee176 100644
--- a/src/components/ChatWindow.tsx
+++ b/src/components/ChatWindow.tsx
@@ -12,7 +12,7 @@ const ChatWindow = ({ children, className }: ChatWindowProps) => {
return (
diff --git a/src/components/Drawer.tsx b/src/components/Drawer.tsx
index 17fe184..4fb0b96 100644
--- a/src/components/Drawer.tsx
+++ b/src/components/Drawer.tsx
@@ -1,13 +1,17 @@
+import React from "react";
+import { AiFillRobot } from "react-icons/Ai";
+import { BiPlus } from "react-icons/bi";
+
const Drawer = () => {
return (
-
-
-
+ } text="HustleGPT" />
+ } text="ChefGPT" />
+ } text="WorldPeaceGPT" />
);
@@ -16,15 +20,23 @@ const Drawer = () => {
const NewAgent = () => {
return (
- New Agent
+
+ New Agent
);
};
-const DrawerItem = ({ text }: { text: string }) => {
+const DrawerItem = ({
+ icon,
+ text,
+}: {
+ icon: React.ReactNode;
+ text: string;
+}) => {
return (
- {text}
+ {icon}
+ {text}
);
};
diff --git a/src/components/Input.tsx b/src/components/Input.tsx
index f57f906..e62b92c 100644
--- a/src/components/Input.tsx
+++ b/src/components/Input.tsx
@@ -9,9 +9,9 @@ interface InputProps {
const Input = ({ placeholder, left, value, onChange }: InputProps) => {
return (
-
+
{left != null ? (
-
+
{left}
) : null}
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 511a586..8cafbd6 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -53,60 +53,68 @@ const Home: NextPage = () => {
-
- Agent
- GPT
- Beta 🚀
-
-
- Autonomous AI Agents in your browser
+
+
+ Agent
+ GPT
+ Beta 🚀
+
+
+ Autonomous AI Agents in your browser
+
+
+
+ {messages.map((message, index) => (
+
+ ))}
+ {loading ? LOADING...
: null}
+
+
+
+
+
Name:
+ >
+ }
+ value={name}
+ onChange={(e) => setName(e.target.value)}
+ placeholder="AgentGPT (Note: this field doesn't do anything right now)"
+ />
+
+
+
+
Goal:
+ >
+ }
+ value={goalInput}
+ onChange={(e) => setGoalInput(e.target.value)}
+ placeholder="Make the world a better place."
+ />
+
+
-
-
- {messages.map((message, index) => (
-
- ))}
- {loading ? LOADING...
: null}
-
-
-
-
-
Name:
- >
- }
- value={name}
- onChange={(e) => setName(e.target.value)}
- placeholder="AgentGPT (Note: this field doesn't do anything right now)"
- />
-
-
-
-
Goal:
- >
- }
- value={goalInput}
- onChange={(e) => setGoalInput(e.target.value)}
- placeholder="Make the world a better place."
- />
-
-