diff --git a/web-app/src/components/ui/Button/ActionButton.jsx b/web-app/src/components/ui/Button/ActionButton.jsx index a14b1fe..334f9e8 100644 --- a/web-app/src/components/ui/Button/ActionButton.jsx +++ b/web-app/src/components/ui/Button/ActionButton.jsx @@ -3,7 +3,7 @@ import './ActionButton.css'; export default function ActionButton({ onClick, children, - type = 'add', // 'add' or 'delete' + type = 'add', // 'add' or 'delete' or 'send' ...props }) { // Define color and icon based on type @@ -39,6 +39,12 @@ export default function ActionButton({ ), }, + submit: { + color: '#3949AB', + svg: ( + + ), + }, }; const { color, svg } = config[type] || config.add; @@ -50,7 +56,7 @@ export default function ActionButton({ style={{ '--btn-color': color }} {...props} > - { type === 'add' ? 'New Chat' : 'Delete Chat'} + {children} {svg} ); diff --git a/web-app/src/components/ui/chat/chat-header.jsx b/web-app/src/components/ui/chat/chat-header.jsx index 2952cc6..d4a3564 100644 --- a/web-app/src/components/ui/chat/chat-header.jsx +++ b/web-app/src/components/ui/chat/chat-header.jsx @@ -31,8 +31,8 @@ export default function ChatHeader({ title = "AI Assistant" }) { Ask anything — AI is listening
-