From 2d30b7e24fd8481721f6d433078422e2bae226fa Mon Sep 17 00:00:00 2001 From: timothycarambat Date: Fri, 21 Jul 2023 12:05:39 -0700 Subject: [PATCH] add discord invite link to UI --- frontend/src/components/Icons/Discord.jsx | 15 +++++++++++++++ frontend/src/components/Sidebar/index.jsx | 14 +++++++++++++- frontend/src/utils/paths.js | 5 ++++- 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 frontend/src/components/Icons/Discord.jsx diff --git a/frontend/src/components/Icons/Discord.jsx b/frontend/src/components/Icons/Discord.jsx new file mode 100644 index 000000000..ebc55ed1e --- /dev/null +++ b/frontend/src/components/Icons/Discord.jsx @@ -0,0 +1,15 @@ +export default function Discord({ className = "" }) { + return ( + + + + + + + ); +} diff --git a/frontend/src/components/Sidebar/index.jsx b/frontend/src/components/Sidebar/index.jsx index 880e54fde..6abdd51d4 100644 --- a/frontend/src/components/Sidebar/index.jsx +++ b/frontend/src/components/Sidebar/index.jsx @@ -4,7 +4,6 @@ import { Briefcase, Cpu, GitHub, - Key, Menu, Plus, Tool, @@ -19,6 +18,7 @@ import NewWorkspaceModal, { } from "../Modals/NewWorkspace"; import ActiveWorkspaces from "./ActiveWorkspaces"; import paths from "../../utils/paths"; +import Discord from "../Icons/Discord"; export default function Sidebar() { const sidebarRef = useRef(null); @@ -117,6 +117,12 @@ export default function Sidebar() { > + + + + + + { return "https://github.com/Mintplex-Labs/anything-llm"; }, - docs: () => { + discord: () => { return "https://discord.com/invite/6UyHPeGZAC"; }, + docs: () => { + return "https://docs.mintplex.xyz/anythingllm-by-mintplex-labs/"; + }, mailToMintplex: () => { return "mailto:team@mintplex.xyz"; },