diff --git a/src/components/Badge.tsx b/src/components/Badge.tsx index 5921135..2dd3753 100644 --- a/src/components/Badge.tsx +++ b/src/components/Badge.tsx @@ -1,4 +1,5 @@ import React from "react"; +import clsx from "clsx"; interface BadgeProps { children: React.ReactNode; @@ -6,7 +7,13 @@ interface BadgeProps { const Badge = ({ children }: BadgeProps) => { return ( -
+
{children}
); diff --git a/src/components/ChatWindow.tsx b/src/components/ChatWindow.tsx index 226887c..fc92c47 100644 --- a/src/components/ChatWindow.tsx +++ b/src/components/ChatWindow.tsx @@ -58,7 +58,7 @@ const MacWindowHeader = () => { const ChatMessage = ({ message }: { message: Message }) => { return ( -
+
{getMessageIcon(message)}
diff --git a/src/components/Input.tsx b/src/components/Input.tsx index 14bc137..9ce4f1f 100644 --- a/src/components/Input.tsx +++ b/src/components/Input.tsx @@ -17,7 +17,7 @@ const Input = ({ disabled, }: InputProps) => { return ( -
+
{left && (
{left} @@ -25,7 +25,7 @@ const Input = ({ )} { return (
- Agent-GPT + AgentGPT diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 49c976d..985f1e7 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -37,26 +37,24 @@ const Home: NextPage = () => {
-
+
Agent - GPT - - - Beta 🚀 - - + GPT + + Beta 🚀 +
-
+
Assemble, configure, and deploy autonomous AI Agents in your browser.
@@ -66,31 +64,33 @@ const Home: NextPage = () => { - - - Name: - - } - value={name} - disabled={agent != null} - onChange={(e) => setName(e.target.value)} - placeholder="AgentGPT (Note: this field doesn't do anything right now)" - /> +
+ + + Name: + + } + value={name} + disabled={agent != null} + onChange={(e) => setName(e.target.value)} + placeholder="AgentGPT (Note: this field doesn't do anything right now)" + /> - - - Goal: - - } - disabled={agent != null} - value={goalInput} - onChange={(e) => setGoalInput(e.target.value)} - placeholder="Make the world a better place." - /> + + + Goal: + + } + disabled={agent != null} + value={goalInput} + onChange={(e) => setGoalInput(e.target.value)} + placeholder="Make the world a better place." + /> +