From 6154a8169bf1fa3fb80d048387dd9d1a0e2a4746 Mon Sep 17 00:00:00 2001 From: Ankit Matth Date: Thu, 5 Oct 2023 19:53:37 +0530 Subject: [PATCH] Replace Discord & Github Icons --- frontend/src/Navigation.tsx | 44 ++++++++++++++++++--------------- frontend/src/assets/discord.svg | 1 + frontend/src/assets/github.svg | 1 + 3 files changed, 26 insertions(+), 20 deletions(-) create mode 100644 frontend/src/assets/discord.svg create mode 100644 frontend/src/assets/github.svg diff --git a/frontend/src/Navigation.tsx b/frontend/src/Navigation.tsx index 69e65940..8dec1905 100644 --- a/frontend/src/Navigation.tsx +++ b/frontend/src/Navigation.tsx @@ -8,6 +8,8 @@ import Hamburger from './assets/hamburger.svg'; import Key from './assets/key.svg'; import Info from './assets/info.svg'; import Link from './assets/link.svg'; +import Discord from './assets/discord.svg'; +import Github from './assets/github.svg'; import UploadIcon from './assets/upload.svg'; import { ActiveState } from './models/misc'; import APIKeyModal from './preferences/APIKeyModal'; @@ -59,7 +61,8 @@ export default function Navigation({ const navRef = useRef(null); const apiHost = import.meta.env.VITE_API_HOST || 'https://docsapi.arc53.com'; - const embeddingsName = import.meta.env.VITE_EMBEDDINGS_NAME || 'openai_text-embedding-ada-002'; + const embeddingsName = + import.meta.env.VITE_EMBEDDINGS_NAME || 'openai_text-embedding-ada-002'; useEffect(() => { if (!conversations) { @@ -327,26 +330,27 @@ export default function Navigation({ link

Documentation

- - - link -

Discord

-
+
+ + link +

Visit our Discord

+
- - link -

Github

-
+ + link +

Visit our GitHub

+
+
diff --git a/frontend/src/assets/discord.svg b/frontend/src/assets/discord.svg new file mode 100644 index 00000000..1cff96f2 --- /dev/null +++ b/frontend/src/assets/discord.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/src/assets/github.svg b/frontend/src/assets/github.svg new file mode 100644 index 00000000..76bbe2c9 --- /dev/null +++ b/frontend/src/assets/github.svg @@ -0,0 +1 @@ + \ No newline at end of file