mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-04 22:10:12 +01:00
manage default CTAs
This commit is contained in:
parent
d5951fd5a2
commit
93ee4349ba
@ -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" />
|
||||
|
@ -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>
|
||||
|
@ -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}`;
|
||||
|
@ -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=
|
||||
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
|
Loading…
Reference in New Issue
Block a user