From e0882e9e04d21b4ea49835f636c7e49f91056971 Mon Sep 17 00:00:00 2001 From: ratishjain Date: Thu, 5 Oct 2023 23:16:54 +0530 Subject: [PATCH 1/3] fixed homepage --- frontend/public/lock.svg | 7 ++++ frontend/public/message-programming.svg | 6 +++ frontend/public/message-text.svg | 5 +++ frontend/src/Hero.tsx | 51 ++++++++++++++++++++++++- 4 files changed, 67 insertions(+), 2 deletions(-) create mode 100644 frontend/public/lock.svg create mode 100644 frontend/public/message-programming.svg create mode 100644 frontend/public/message-text.svg diff --git a/frontend/public/lock.svg b/frontend/public/lock.svg new file mode 100644 index 000000000..b85fd5f58 --- /dev/null +++ b/frontend/public/lock.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/frontend/public/message-programming.svg b/frontend/public/message-programming.svg new file mode 100644 index 000000000..f017810a0 --- /dev/null +++ b/frontend/public/message-programming.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/frontend/public/message-text.svg b/frontend/public/message-text.svg new file mode 100644 index 000000000..922856634 --- /dev/null +++ b/frontend/public/message-text.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/frontend/src/Hero.tsx b/frontend/src/Hero.tsx index 1552887c3..719999592 100644 --- a/frontend/src/Hero.tsx +++ b/frontend/src/Hero.tsx @@ -1,7 +1,7 @@ export default function Hero({ className = '' }: { className?: string }) { return ( -
-
+
+

DocsGPT

🦖

@@ -17,6 +17,53 @@ export default function Hero({ className = '' }: { className?: string }) { Start by entering your query in the input field below and we will do the rest!

+
+
+
+ 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 + provided data. +

+
+
+ +
+
+ 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 + data is kept safe and confidential. +

+
+
+
+
+ lock +

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 + their specific needs. +

+
+
+
); } From f0e87094d6c5f8e7b26fb91c9276bdd8ef02c75e Mon Sep 17 00:00:00 2001 From: ratishjain Date: Thu, 5 Oct 2023 23:24:09 +0530 Subject: [PATCH 2/3] fixed homepage --- frontend/src/conversation/Conversation.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/src/conversation/Conversation.tsx b/frontend/src/conversation/Conversation.tsx index 79e62da7c..ab435768c 100644 --- a/frontend/src/conversation/Conversation.tsx +++ b/frontend/src/conversation/Conversation.tsx @@ -113,7 +113,7 @@ export default function Conversation() { }; return ( -
+
{queries.length > 0 && !hasScrolledToLast ? (