From 67e4d40c4964da0ab94e9ac01b694f50c6235176 Mon Sep 17 00:00:00 2001 From: ManishMadan2882 Date: Mon, 22 Jan 2024 16:11:26 +0530 Subject: [PATCH] added dark mode, About page and bubble icons --- frontend/src/About.tsx | 14 +++---- frontend/src/assets/dislike.svg | 2 +- frontend/src/assets/like.svg | 2 +- frontend/src/assets/spinner.svg | 2 +- frontend/src/conversation/Conversation.tsx | 2 +- .../src/conversation/ConversationBubble.tsx | 37 +++++-------------- 6 files changed, 20 insertions(+), 39 deletions(-) diff --git a/frontend/src/About.tsx b/frontend/src/About.tsx index eaffafdc..b144ce80 100644 --- a/frontend/src/About.tsx +++ b/frontend/src/About.tsx @@ -5,7 +5,7 @@ import DocsGPT3 from './assets/cute_docsgpt3.svg'; export default function About() { return (
-
+

About DocsGPT

DocsGPT @@ -31,23 +31,23 @@ export default function About() {

1. Navigate to{' '} - /application folder + /application folder

2. Install dependencies from{' '} - + pip install -r requirements.txt

- 3. Prepare a .env file. - Copy .env_sample and - create .env with your + 3. Prepare a .env file. + Copy .env_sample and + create .env with your OpenAI API token

4. Run the app with{' '} - python app.py + python app.py

diff --git a/frontend/src/assets/dislike.svg b/frontend/src/assets/dislike.svg index 9a51f1e2..9d4009b4 100644 --- a/frontend/src/assets/dislike.svg +++ b/frontend/src/assets/dislike.svg @@ -1,4 +1,4 @@ - + diff --git a/frontend/src/assets/like.svg b/frontend/src/assets/like.svg index 9c2902f7..0bbe7416 100644 --- a/frontend/src/assets/like.svg +++ b/frontend/src/assets/like.svg @@ -1,4 +1,4 @@ - + diff --git a/frontend/src/assets/spinner.svg b/frontend/src/assets/spinner.svg index e18eaac2..64b815aa 100644 --- a/frontend/src/assets/spinner.svg +++ b/frontend/src/assets/spinner.svg @@ -1,5 +1,5 @@ - + diff --git a/frontend/src/conversation/Conversation.tsx b/frontend/src/conversation/Conversation.tsx index 36c9c476..17a9468c 100644 --- a/frontend/src/conversation/Conversation.tsx +++ b/frontend/src/conversation/Conversation.tsx @@ -176,7 +176,7 @@ export default function Conversation() { {status === 'loading' ? ( ) : (
diff --git a/frontend/src/conversation/ConversationBubble.tsx b/frontend/src/conversation/ConversationBubble.tsx index 431468fb..51f4a845 100644 --- a/frontend/src/conversation/ConversationBubble.tsx +++ b/frontend/src/conversation/ConversationBubble.tsx @@ -202,10 +202,8 @@ const ConversationBubble = forwardRef< >
{copied ? (
{ @@ -276,21 +265,13 @@ const ConversationBubble = forwardRef< >
{