diff --git a/app/components/Agent.tsx b/app/components/Agent.tsx index 0b7a021..a0dd182 100644 --- a/app/components/Agent.tsx +++ b/app/components/Agent.tsx @@ -1,14 +1,15 @@ import { useCallback, useState } from 'react'; - import type { Language } from '../types'; +import AgentBalance from './AgentBalance'; import AgentProfile from './AgentProfile'; -import AgentStats from './AgentStats'; +import Chat from './Chat'; import Footer from './Footer'; import Navbar from './Navbar'; import Stream from './Stream'; export default function Agent() { const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false); + const [isMobileChatOpen, setIsMobileChatOpen] = useState(false); const [currentLanguage, setCurrentLanguage] = useState('en'); const handleLanguageChange = useCallback((lang: Language) => { @@ -20,6 +21,8 @@ export default function Agent() { @@ -29,13 +32,28 @@ export default function Agent() { className={` ${ isMobileMenuOpen ? 'translate-x-0' : '-translate-x-full' - } fixed z-20 flex h-full w-full flex-col overflow-y-auto bg-black p-2 transition-transform duration-300 lg:relative lg:z-0 lg:w-1/3 lg:translate-x-0 lg:border-[#5788FA]/50 lg:border-r `} + } fixed z-20 flex h-full w-full flex-col overflow-y-auto bg-black transition-transform duration-300 lg:relative lg:z-0 lg:w-1/3 lg:translate-x-0 lg:border-[#5788FA]/50 lg:border-r `} > - + + + +
+ +
- +
+ +