New Agents Page User Interface (#866)

Changes for new agents page
- Modernized agent cards
- Responsive design to support mobile users
- Button for users to create their own agents (coming soon)
- Optimized to use tailwind and icon utils
- Side panel added for quick access to conversations
This commit is contained in:
Raghav Tirumale
2024-07-26 10:42:31 -04:00
committed by GitHub
parent 52db15706d
commit 5dcac18ba5
8 changed files with 1095 additions and 343 deletions

View File

@@ -700,6 +700,10 @@ export default function SidePanel(props: SidePanelProps) {
}
}, [chatSessions]);
function newConvo() {
window.location.href = '/';
}
return (
<div className={`${styles.panel} ${enabled ? styles.expanded : styles.collapsed}`}>
<div className={`flex items-center justify-between ${(enabled || props.isMobileWidth) ? 'flex-row' : 'flex-col'}`}>