diff --git a/frontend/src/Hero.tsx b/frontend/src/Hero.tsx index ed2db207..63840b96 100644 --- a/frontend/src/Hero.tsx +++ b/frontend/src/Hero.tsx @@ -4,15 +4,15 @@ export default function Hero({ className = '' }: { className?: string }) {

DocsGPT 🦖

-

+

Welcome to DocsGPT, your technical documentation assistant!

-

+

Enter a query related to the information in the documentation you selected to receive and we will provide you with the most relevant answers.

-

+

Start by entering your query in the input field below and we will do the rest!

diff --git a/frontend/src/conversation/Conversation.tsx b/frontend/src/conversation/Conversation.tsx index fffe012d..b6230f19 100644 --- a/frontend/src/conversation/Conversation.tsx +++ b/frontend/src/conversation/Conversation.tsx @@ -31,20 +31,24 @@ export default function Conversation() { return (
-
- {messages.map((message, index) => { - return ( - - ); - })} - {messages.length === 0 && } -
+ {messages.length && ( +
+ {messages.map((message, index) => { + return ( + + ); + })} +
+ )} + {messages.length === 0 && }