diff --git a/src/components/ChatWindow.tsx b/src/components/ChatWindow.tsx index 068fc4d..8559df2 100644 --- a/src/components/ChatWindow.tsx +++ b/src/components/ChatWindow.tsx @@ -3,6 +3,7 @@ import React, { useEffect, useRef, useState } from "react"; import { FaBrain, FaListAlt, FaPlayCircle, FaStar } from "react-icons/fa"; import autoAnimate from "@formkit/auto-animate"; import PopIn from "./motions/popin"; +import Expand from "./motions/expand"; interface ChatWindowProps { children?: ReactNode; @@ -57,7 +58,7 @@ const ChatWindow = ({ messages, children, className }: ChatWindowProps) => { {children} {messages.length === 0 ? ( - + { "> Create an agent by adding a name / goal, and hitting deploy!", }} /> - + ) : ( "" )} @@ -77,9 +78,15 @@ const ChatWindow = ({ messages, children, className }: ChatWindowProps) => { const MacWindowHeader = () => { return (
-
-
-
+ +
+ + +
+ + +
+
); }; diff --git a/src/components/motions/expand.tsx b/src/components/motions/expand.tsx index 3d3f09f..e40569b 100644 --- a/src/components/motions/expand.tsx +++ b/src/components/motions/expand.tsx @@ -4,13 +4,18 @@ import type { PropsWithChildren } from "react"; interface MotionProps extends PropsWithChildren { className?: string; delay?: number; + type?: "spring" | "tween"; } const Expand = (props: MotionProps) => ( {props.children}