From ab7f6e8300df498e09d464232135d563f4521551 Mon Sep 17 00:00:00 2001 From: staticGuru Date: Fri, 6 Oct 2023 23:42:22 +0530 Subject: [PATCH 1/4] Change the hero section with figma style --- frontend/src/Hero.tsx | 52 ++++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/frontend/src/Hero.tsx b/frontend/src/Hero.tsx index 8ed80fc..df0ad28 100644 --- a/frontend/src/Hero.tsx +++ b/frontend/src/Hero.tsx @@ -5,28 +5,26 @@ 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. + 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!

-
-
-
- lock -

Chat with Your Data

-

+

+
+
+ lock +

+ Chat with Your Data +

+

DocsGPT will use your data to answer questions. Whether its documentation, source code, or Microsoft files, DocsGPT allows you to have interactive conversations and find answers based on the @@ -35,11 +33,13 @@ export default function Hero({ className = '' }: { className?: string }) {

-
-
- lock -

Secure Data Storage

-

+

+
+ lock +

+ Secure Data Storage +

+

The security of your data is our top priority. DocsGPT ensures the utmost protection for your sensitive information. With secure data storage and privacy measures in place, you can trust that your @@ -47,15 +47,17 @@ export default function Hero({ className = '' }: { className?: string }) {

-
-
+
+
lock -

Open Source Code

-

+

+ Open Source Code +

+

DocsGPT is built on open source principles, promoting transparency and collaboration. The source code is freely available, enabling developers to contribute, enhance, and customize the app to meet From f47fc7a484fa011ba281f28a0fc5314559432f46 Mon Sep 17 00:00:00 2001 From: staticGuru Date: Sat, 7 Oct 2023 11:39:51 +0530 Subject: [PATCH 2/4] add the additional div in the chat sections --- frontend/src/conversation/Conversation.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/conversation/Conversation.tsx b/frontend/src/conversation/Conversation.tsx index ab43576..8d85f3c 100644 --- a/frontend/src/conversation/Conversation.tsx +++ b/frontend/src/conversation/Conversation.tsx @@ -144,6 +144,7 @@ export default function Conversation() { ); })} + {hasScrolledToLast &&

}
)} {queries.length === 0 && ( From 0e496181a16bd011073fd1912200a2e226d0347d Mon Sep 17 00:00:00 2001 From: staticGuru Date: Sat, 7 Oct 2023 12:03:43 +0530 Subject: [PATCH 3/4] Fix the question input hidden issue --- frontend/src/conversation/Conversation.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/conversation/Conversation.tsx b/frontend/src/conversation/Conversation.tsx index 8d85f3c..e6b5d9c 100644 --- a/frontend/src/conversation/Conversation.tsx +++ b/frontend/src/conversation/Conversation.tsx @@ -134,7 +134,7 @@ export default function Conversation() { return ( ); })} - {hasScrolledToLast &&
}
)} {queries.length === 0 && ( From 8323b8af4d9d7725a5c4ac7c1d3b9376e637866c Mon Sep 17 00:00:00 2001 From: staticGuru Date: Sat, 7 Oct 2023 12:13:05 +0530 Subject: [PATCH 4/4] Reset the input hidden issues --- frontend/src/conversation/Conversation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/conversation/Conversation.tsx b/frontend/src/conversation/Conversation.tsx index e6b5d9c..ab43576 100644 --- a/frontend/src/conversation/Conversation.tsx +++ b/frontend/src/conversation/Conversation.tsx @@ -134,7 +134,7 @@ export default function Conversation() { return (