diff --git a/frontend/src/components/DefaultChat/index.jsx b/frontend/src/components/DefaultChat/index.jsx index 7f8e4444e..b87ee1175 100644 --- a/frontend/src/components/DefaultChat/index.jsx +++ b/frontend/src/components/DefaultChat/index.jsx @@ -3,6 +3,7 @@ import { GitHub, GitMerge, Mail, Plus } from "react-feather"; import NewWorkspaceModal, { useNewWorkspaceModal, } from "../Modals/NewWorkspace"; +import paths from "../../utils/paths"; export default function DefaultChatContainer() { const [mockMsgs, setMockMessages] = useState([]); @@ -65,7 +66,8 @@ export default function DefaultChatContainer() { makes it easy to use. </p> <a - href="" + href={paths.github()} + target="_blank" className="mt-4 w-fit flex flex-grow gap-x-2 py-[5px] px-4 border border-slate-400 rounded-lg text-slate-800 dark:text-slate-200 justify-start items-center hover:bg-slate-100 dark:hover:bg-stone-900 dark:bg-stone-900" > <GitMerge className="h-4 w-4" /> @@ -192,7 +194,8 @@ export default function DefaultChatContainer() { </p> <div className="flex items-center gap-x-4"> <a - href="" + href={paths.github()} + target="_blank" className="mt-4 w-fit flex flex-grow gap-x-2 py-[5px] px-4 border border-slate-400 rounded-lg text-slate-800 dark:text-slate-200 justify-start items-center hover:bg-slate-100 dark:hover:bg-stone-900 dark:bg-stone-900" > <GitHub className="h-4 w-4" /> @@ -201,7 +204,7 @@ export default function DefaultChatContainer() { </p> </a> <a - href="" + href={paths.mailToMintplex()} className="mt-4 w-fit flex flex-grow gap-x-2 py-[5px] px-4 border border-slate-400 rounded-lg text-slate-800 dark:text-slate-200 justify-start items-center hover:bg-slate-100 dark:hover:bg-stone-900 dark:bg-stone-900" > <Mail className="h-4 w-4" /> diff --git a/frontend/src/components/Sidebar/index.jsx b/frontend/src/components/Sidebar/index.jsx index 6d172e20f..2cd402662 100644 --- a/frontend/src/components/Sidebar/index.jsx +++ b/frontend/src/components/Sidebar/index.jsx @@ -80,7 +80,8 @@ export default function Sidebar() { <IndexCount /> </div> <a - href="" + href={paths.hosting()} + target="_blank" className="flex flex-grow w-[100%] h-[36px] gap-x-2 py-[5px] px-4 border border-slate-400 dark:border-transparent rounded-lg text-slate-800 dark:text-slate-200 justify-center items-center hover:bg-slate-100 dark:bg-stone-800 dark:hover:bg-stone-900" > <Cpu className="h-4 w-4" /> @@ -89,12 +90,13 @@ export default function Sidebar() { </p> </a> <a - href="" + href={paths.hosting()} + target="_blank" className="flex flex-grow w-[100%] h-[36px] gap-x-2 py-[5px] px-4 border border-slate-400 dark:border-transparent rounded-lg text-slate-800 dark:text-slate-200 justify-center items-center hover:bg-slate-100 dark:bg-stone-800 dark:hover:bg-stone-900" > <Briefcase className="h-4 w-4" /> <p className="text-slate-800 dark:text-slate-200 text-xs leading-loose font-semibold"> - Enterpise Installation + Enterprise Installation </p> </a> </div> diff --git a/frontend/src/utils/paths.js b/frontend/src/utils/paths.js index fcc598e46..8c88d8eb4 100644 --- a/frontend/src/utils/paths.js +++ b/frontend/src/utils/paths.js @@ -3,14 +3,17 @@ export default { return "/"; }, github: () => { - return "/"; + return "https://github.com/Mintplex-Labs/anything-llm"; }, docs: () => { - return "/"; + return "https://discord.com/invite/6UyHPeGZAC"; }, mailToMintplex: () => { return "mailto:team@mintplex.xyz"; }, + hosting: () => { + return "https://form.typeform.com/to/KdSCdSvq"; + }, workspace: { chat: (slug) => { return `/workspace/${slug}`; diff --git a/server/.env.example b/server/.env.example index 17a2e5afd..0383ed25f 100644 --- a/server/.env.example +++ b/server/.env.example @@ -1,7 +1,6 @@ SERVER_PORT=5000 OPEN_AI_KEY= OPEN_MODEL_PREF='gpt-3.5-turbo' -# AUTH_TOKEN="hunter2" # This is the password to your application if remote hosting. CACHE_VECTORS="true" # Enable all below if you are using vector database: Chroma. @@ -12,4 +11,8 @@ CACHE_VECTORS="true" VECTOR_DB="pinecone" PINECONE_ENVIRONMENT= PINECONE_API_KEY= -PINECONE_INDEX= \ No newline at end of file +PINECONE_INDEX= + +# CLOUD DEPLOYMENT VARIRABLES ONLY +# AUTH_TOKEN="hunter2" # This is the password to your application if remote hosting. +# STORAGE_DIR= # absolute filesystem path with no trailing slash \ No newline at end of file