Skip to content
Snippets Groups Projects
Commit 93ee4349 authored by timothycarambat's avatar timothycarambat
Browse files

manage default CTAs

parent d5951fd5
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ import { GitHub, GitMerge, Mail, Plus } from "react-feather"; ...@@ -3,6 +3,7 @@ import { GitHub, GitMerge, Mail, Plus } from "react-feather";
import NewWorkspaceModal, { import NewWorkspaceModal, {
useNewWorkspaceModal, useNewWorkspaceModal,
} from "../Modals/NewWorkspace"; } from "../Modals/NewWorkspace";
import paths from "../../utils/paths";
export default function DefaultChatContainer() { export default function DefaultChatContainer() {
const [mockMsgs, setMockMessages] = useState([]); const [mockMsgs, setMockMessages] = useState([]);
...@@ -65,7 +66,8 @@ export default function DefaultChatContainer() { ...@@ -65,7 +66,8 @@ export default function DefaultChatContainer() {
makes it easy to use. makes it easy to use.
</p> </p>
<a <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" 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" /> <GitMerge className="h-4 w-4" />
...@@ -192,7 +194,8 @@ export default function DefaultChatContainer() { ...@@ -192,7 +194,8 @@ export default function DefaultChatContainer() {
</p> </p>
<div className="flex items-center gap-x-4"> <div className="flex items-center gap-x-4">
<a <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" 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" /> <GitHub className="h-4 w-4" />
...@@ -201,7 +204,7 @@ export default function DefaultChatContainer() { ...@@ -201,7 +204,7 @@ export default function DefaultChatContainer() {
</p> </p>
</a> </a>
<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" 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" /> <Mail className="h-4 w-4" />
......
...@@ -80,7 +80,8 @@ export default function Sidebar() { ...@@ -80,7 +80,8 @@ export default function Sidebar() {
<IndexCount /> <IndexCount />
</div> </div>
<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" 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" /> <Cpu className="h-4 w-4" />
...@@ -89,12 +90,13 @@ export default function Sidebar() { ...@@ -89,12 +90,13 @@ export default function Sidebar() {
</p> </p>
</a> </a>
<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" 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" /> <Briefcase className="h-4 w-4" />
<p className="text-slate-800 dark:text-slate-200 text-xs leading-loose font-semibold"> <p className="text-slate-800 dark:text-slate-200 text-xs leading-loose font-semibold">
Enterpise Installation Enterprise Installation
</p> </p>
</a> </a>
</div> </div>
......
...@@ -3,14 +3,17 @@ export default { ...@@ -3,14 +3,17 @@ export default {
return "/"; return "/";
}, },
github: () => { github: () => {
return "/"; return "https://github.com/Mintplex-Labs/anything-llm";
}, },
docs: () => { docs: () => {
return "/"; return "https://discord.com/invite/6UyHPeGZAC";
}, },
mailToMintplex: () => { mailToMintplex: () => {
return "mailto:team@mintplex.xyz"; return "mailto:team@mintplex.xyz";
}, },
hosting: () => {
return "https://form.typeform.com/to/KdSCdSvq";
},
workspace: { workspace: {
chat: (slug) => { chat: (slug) => {
return `/workspace/${slug}`; return `/workspace/${slug}`;
......
SERVER_PORT=5000 SERVER_PORT=5000
OPEN_AI_KEY= OPEN_AI_KEY=
OPEN_MODEL_PREF='gpt-3.5-turbo' OPEN_MODEL_PREF='gpt-3.5-turbo'
# AUTH_TOKEN="hunter2" # This is the password to your application if remote hosting.
CACHE_VECTORS="true" CACHE_VECTORS="true"
# Enable all below if you are using vector database: Chroma. # Enable all below if you are using vector database: Chroma.
...@@ -12,4 +11,8 @@ CACHE_VECTORS="true" ...@@ -12,4 +11,8 @@ CACHE_VECTORS="true"
VECTOR_DB="pinecone" VECTOR_DB="pinecone"
PINECONE_ENVIRONMENT= PINECONE_ENVIRONMENT=
PINECONE_API_KEY= PINECONE_API_KEY=
PINECONE_INDEX= PINECONE_INDEX=
\ No newline at end of file
# 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment