diff --git a/frontend/src/Hero.tsx b/frontend/src/Hero.tsx index e515af16..0161eac2 100644 --- a/frontend/src/Hero.tsx +++ b/frontend/src/Hero.tsx @@ -1,6 +1,6 @@ -import { Fragment } from 'react'; import DocsGPT3 from './assets/cute_docsgpt3.svg'; import { useTranslation } from 'react-i18next'; + export default function Hero({ handleQuestion, }: { @@ -17,40 +17,41 @@ export default function Hero({ header: string; query: string; }>; - return ( -
-
-
- DocsGPT - docsgpt -
-
+ return ( +
+ {/* Header Section */} +
+
+ DocsGPT + docsgpt +
-
- {demos?.map( - (demo: { header: string; query: string }, key: number) => - demo.header && - demo.query && ( - + + {/* Demo Buttons Section */} +
+
+ {demos?.map( + (demo: { header: string; query: string }, key: number) => + demo.header && + demo.query && ( - - ), - )} + ), + )} +
); diff --git a/frontend/src/components/MessageInput.tsx b/frontend/src/components/MessageInput.tsx index 7335cfa8..ef422ca3 100644 --- a/frontend/src/components/MessageInput.tsx +++ b/frontend/src/components/MessageInput.tsx @@ -52,7 +52,7 @@ export default function MessageInput({ }; return ( -
+
diff --git a/frontend/src/conversation/Conversation.tsx b/frontend/src/conversation/Conversation.tsx index 468d7a83..ccdbf119 100644 --- a/frontend/src/conversation/Conversation.tsx +++ b/frontend/src/conversation/Conversation.tsx @@ -228,7 +228,7 @@ export default function Conversation() { status={status} /> -
+
{queries.length > 0 && !hasScrolledToLast && (
); } diff --git a/frontend/src/conversation/SharedConversation.tsx b/frontend/src/conversation/SharedConversation.tsx index 57e207e2..107ecb81 100644 --- a/frontend/src/conversation/SharedConversation.tsx +++ b/frontend/src/conversation/SharedConversation.tsx @@ -158,8 +158,8 @@ export const SharedConversation = () => { content="Shared conversations with DocsGPT" /> -
-
+
+

{title}

@@ -179,7 +179,7 @@ export const SharedConversation = () => { queries={queries} status={status} /> -
+
{apiKey ? (