From 2978e9f325f39b8783eeba734c0d792d44df1538 Mon Sep 17 00:00:00 2001 From: Alex Co Date: Fri, 30 Aug 2024 07:28:52 +0000 Subject: [PATCH] fix whitelabelling Signed-off-by: Alex Co --- .../admin/connectors/[connector]/Sidebar.tsx | 19 +++++++++---------- .../app/chat/shared_chat_search/FixedLogo.tsx | 4 +++- web/src/app/layout.tsx | 12 +++++++----- .../admin/connectors/AdminSidebar.tsx | 4 +++- .../components/embedding/EmbeddingSidebar.tsx | 4 +++- web/src/components/header/LogoType.tsx | 4 +++- 6 files changed, 28 insertions(+), 19 deletions(-) diff --git a/web/src/app/admin/connectors/[connector]/Sidebar.tsx b/web/src/app/admin/connectors/[connector]/Sidebar.tsx index 5d678938dc7..97275843e0c 100644 --- a/web/src/app/admin/connectors/[connector]/Sidebar.tsx +++ b/web/src/app/admin/connectors/[connector]/Sidebar.tsx @@ -47,7 +47,9 @@ export default function Sidebar() { {enterpriseSettings && enterpriseSettings.application_name ? ( {enterpriseSettings.application_name} ) : ( - Danswer +

+ EveAI +

)} @@ -77,9 +79,8 @@ export default function Sidebar() { return (
{ if (allowed) { setFormStep(index - (noCredential ? 1 : 0)); @@ -88,9 +89,8 @@ export default function Sidebar() { >
{formStep === index && (
@@ -98,9 +98,8 @@ export default function Sidebar() {
{step}
diff --git a/web/src/app/chat/shared_chat_search/FixedLogo.tsx b/web/src/app/chat/shared_chat_search/FixedLogo.tsx index 0b3e115c3c8..e652d819861 100644 --- a/web/src/app/chat/shared_chat_search/FixedLogo.tsx +++ b/web/src/app/chat/shared_chat_search/FixedLogo.tsx @@ -34,7 +34,9 @@ export default function FixedLogo() { )}
) : ( - Danswer +

+ EveAI +

)} diff --git a/web/src/app/layout.tsx b/web/src/app/layout.tsx index 1c2ca1a1671..7b367662df0 100644 --- a/web/src/app/layout.tsx +++ b/web/src/app/layout.tsx @@ -40,8 +40,8 @@ export async function generateMetadata(): Promise { } return { - title: enterpriseSettings?.application_name ?? "Danswer", - description: "Question answering for your documents", + title: enterpriseSettings?.application_name ?? "Eve AI", + description: "With Eve, you can quickly access the information you need to succeed in Mindvalley", icons: { icon: logoLocation, }, @@ -62,19 +62,21 @@ export default async function RootLayout({ return ( - Settings Unavailable | Danswer + Settings Unavailable | Eve AI
- Danswer +

+ EveAI +

Error

- Your Danswer instance was not configured properly and your + Your instance was not configured properly and your settings could not be loaded. Please contact your admin to fix this error.

diff --git a/web/src/components/admin/connectors/AdminSidebar.tsx b/web/src/components/admin/connectors/AdminSidebar.tsx index 60bbd3c7e93..a319dd0d480 100644 --- a/web/src/components/admin/connectors/AdminSidebar.tsx +++ b/web/src/components/admin/connectors/AdminSidebar.tsx @@ -65,7 +65,9 @@ export function AdminSidebar({ collections }: { collections: Collection[] }) { )}
) : ( - Danswer +

+ EveAI +

)} diff --git a/web/src/components/embedding/EmbeddingSidebar.tsx b/web/src/components/embedding/EmbeddingSidebar.tsx index 57659f2131f..4625318285f 100644 --- a/web/src/components/embedding/EmbeddingSidebar.tsx +++ b/web/src/components/embedding/EmbeddingSidebar.tsx @@ -41,7 +41,9 @@ export default function EmbeddingSidebar() { {enterpriseSettings && enterpriseSettings.application_name ? ( {enterpriseSettings.application_name} ) : ( - Danswer +

+ EveAI +

)} diff --git a/web/src/components/header/LogoType.tsx b/web/src/components/header/LogoType.tsx index 04ddc54d758..d4f129094bb 100644 --- a/web/src/components/header/LogoType.tsx +++ b/web/src/components/header/LogoType.tsx @@ -63,7 +63,9 @@ export default function LogoType({ )} ) : ( - Danswer +

+ EveAI +

)}