diff --git a/src/frontend/favicon.ico b/src/frontend/favicon.ico deleted file mode 100644 index 136c4c835..000000000 Binary files a/src/frontend/favicon.ico and /dev/null differ diff --git a/src/frontend/favicon2.ico b/src/frontend/favicon2.ico new file mode 100644 index 000000000..f77f7974e Binary files /dev/null and b/src/frontend/favicon2.ico differ diff --git a/src/frontend/index.html b/src/frontend/index.html index eb32a45fd..e1770bf88 100644 --- a/src/frontend/index.html +++ b/src/frontend/index.html @@ -5,7 +5,7 @@ - + + diff --git a/src/frontend/src/components/appHeaderComponent/assets/ChainIcon.svg b/src/frontend/src/components/appHeaderComponent/assets/ChainIcon.svg deleted file mode 100644 index 7bf628a59..000000000 --- a/src/frontend/src/components/appHeaderComponent/assets/ChainIcon.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/src/frontend/src/components/appHeaderComponent/assets/ExpandMoreIcon.svg b/src/frontend/src/components/appHeaderComponent/assets/ExpandMoreIcon.svg deleted file mode 100644 index 6727ef58e..000000000 --- a/src/frontend/src/components/appHeaderComponent/assets/ExpandMoreIcon.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/src/frontend/src/components/appHeaderComponent/assets/FeedbackIcon.svg b/src/frontend/src/components/appHeaderComponent/assets/FeedbackIcon.svg deleted file mode 100644 index 098ffa2b2..000000000 --- a/src/frontend/src/components/appHeaderComponent/assets/FeedbackIcon.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/src/frontend/src/components/appHeaderComponent/assets/OrgSelectorIcon.svg b/src/frontend/src/components/appHeaderComponent/assets/OrgSelectorIcon.svg deleted file mode 100644 index 73dcddb23..000000000 --- a/src/frontend/src/components/appHeaderComponent/assets/OrgSelectorIcon.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - diff --git a/src/frontend/src/components/appHeaderComponent/assets/ScienceOutlinedIcon.svg b/src/frontend/src/components/appHeaderComponent/assets/ScienceOutlinedIcon.svg deleted file mode 100644 index 6d4f28278..000000000 --- a/src/frontend/src/components/appHeaderComponent/assets/ScienceOutlinedIcon.svg +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/src/frontend/src/components/appHeaderComponent/index.tsx b/src/frontend/src/components/appHeaderComponent/index.tsx index ce56c61ba..afbb4f341 100644 --- a/src/frontend/src/components/appHeaderComponent/index.tsx +++ b/src/frontend/src/components/appHeaderComponent/index.tsx @@ -1,4 +1,6 @@ import AlertDropdown from "@/alerts/alertDropDown"; +import DataStaxLogo from "@/assets/DataStaxLogo.svg?react"; +import LangflowLogo from "@/assets/LangflowLogo.svg?react"; import ShadTooltip from "@/components/shadTooltipComponent"; import { CustomOrgSelector } from "@/customization/components/custom-org-selector"; import { CustomProductSelector } from "@/customization/components/custom-product-selector"; @@ -13,8 +15,6 @@ import { useEffect, useRef, useState } from "react"; import ForwardedIconComponent from "../genericIconComponent"; import { Button } from "../ui/button"; import { Separator } from "../ui/separator"; -import ShortDataStaxLogo from "./assets/ShortDataStaxLogo.svg?react"; -import ShortLangFlowIcon from "./assets/ShortLangFlowIcon.svg?react"; import { AccountMenu } from "./components/AccountMenu"; import FlowMenu from "./components/FlowMenu"; import GithubStarComponent from "./components/GithubStarButton"; @@ -57,14 +57,14 @@ export default function AppHeader(): JSX.Element { data-testid="icon-ChevronLeft" > {ENABLE_DATASTAX_LANGFLOW ? ( - + ) : ENABLE_NEW_LOGO ? ( - + ) : ( ⛓️ )} - {!ENABLE_DATASTAX_LANGFLOW && ( + {ENABLE_DATASTAX_LANGFLOW && ( <> diff --git a/src/frontend/src/customization/feature-flags.ts b/src/frontend/src/customization/feature-flags.ts index aa1f04f72..d2665549b 100644 --- a/src/frontend/src/customization/feature-flags.ts +++ b/src/frontend/src/customization/feature-flags.ts @@ -7,6 +7,6 @@ export const ENABLE_BRANDING = true; export const ENABLE_MVPS = false; export const ENABLE_CUSTOM_PARAM = false; export const ENABLE_INTEGRATIONS = false; -export const ENABLE_NEW_LOGO = false; +export const ENABLE_NEW_LOGO = true; export const ENABLE_DATASTAX_LANGFLOW = false; export const ENABLE_HOMEPAGE = true; diff --git a/src/frontend/src/modals/IOModal/components/chatView/chatMessage/components/chatLogoIcon/index.tsx b/src/frontend/src/modals/IOModal/components/chatView/chatMessage/components/chatLogoIcon/index.tsx index f90116cd2..19c264d85 100644 --- a/src/frontend/src/modals/IOModal/components/chatView/chatMessage/components/chatLogoIcon/index.tsx +++ b/src/frontend/src/modals/IOModal/components/chatView/chatMessage/components/chatLogoIcon/index.tsx @@ -1,14 +1,22 @@ -import logo from "/src/assets/logo.svg"; +import LangflowLogo from "@/assets/LangflowLogo.svg?react"; +import ChainLogo from "@/assets/logo.svg?react"; +import { ENABLE_NEW_LOGO } from "@/customization/feature-flags"; export default function LogoIcon() { return (
- Chain logo + {ENABLE_NEW_LOGO ? ( + + ) : ( + + )}
); diff --git a/src/frontend/src/modals/IOModal/components/chatView/newChatView.tsx b/src/frontend/src/modals/IOModal/components/chatView/newChatView.tsx index da2d8ed09..7fd309ed4 100644 --- a/src/frontend/src/modals/IOModal/components/chatView/newChatView.tsx +++ b/src/frontend/src/modals/IOModal/components/chatView/newChatView.tsx @@ -1,5 +1,8 @@ +import LangflowLogo from "@/assets/LangflowLogo.svg?react"; +import ChainLogo from "@/assets/logo.svg?react"; import { TextEffectPerChar } from "@/components/ui/textAnimation"; import { TextShimmer } from "@/components/ui/TextShimmer"; +import { ENABLE_NEW_LOGO } from "@/customization/feature-flags"; import { track } from "@/customization/utils/analytics"; import { useMessagesStore } from "@/stores/messagesStore"; import { useEffect, useRef, useState } from "react"; @@ -144,11 +147,17 @@ export default function ChatView({ ) : (
- Chain logo + {ENABLE_NEW_LOGO ? ( + + ) : ( + + )}

New chat diff --git a/src/frontend/src/pages/AdminPage/LoginPage/index.tsx b/src/frontend/src/pages/AdminPage/LoginPage/index.tsx index e401f7ec0..7fba6f15e 100644 --- a/src/frontend/src/pages/AdminPage/LoginPage/index.tsx +++ b/src/frontend/src/pages/AdminPage/LoginPage/index.tsx @@ -1,4 +1,6 @@ +import LangflowLogo from "@/assets/LangflowLogo.svg?react"; import { useLoginUser } from "@/controllers/API/queries/auth"; +import { ENABLE_NEW_LOGO } from "@/customization/feature-flags"; import { useContext, useState } from "react"; import { Button } from "../../../components/ui/button"; import { Input } from "../../../components/ui/input"; @@ -49,7 +51,14 @@ export default function LoginAdminPage() { return (
- ⛓️ + {ENABLE_NEW_LOGO ? ( + + ) : ( + ⛓️ + )} Admin { diff --git a/src/frontend/src/pages/DeleteAccountPage/index.tsx b/src/frontend/src/pages/DeleteAccountPage/index.tsx index c82cc1cc7..56edc5949 100644 --- a/src/frontend/src/pages/DeleteAccountPage/index.tsx +++ b/src/frontend/src/pages/DeleteAccountPage/index.tsx @@ -1,3 +1,5 @@ +import LangflowLogo from "@/assets/LangflowLogo.svg?react"; +import { ENABLE_NEW_LOGO } from "@/customization/feature-flags"; import { useState } from "react"; import { Button } from "../../components/ui/button"; import { Input } from "../../components/ui/input"; @@ -17,7 +19,14 @@ export default function DeleteAccountPage() { return (
- ⛓️ + {ENABLE_NEW_LOGO ? ( + + ) : ( + ⛓️ + )} Delete your account diff --git a/src/frontend/src/pages/LoginPage/index.tsx b/src/frontend/src/pages/LoginPage/index.tsx index 98ae7f686..4352dd8f9 100644 --- a/src/frontend/src/pages/LoginPage/index.tsx +++ b/src/frontend/src/pages/LoginPage/index.tsx @@ -1,5 +1,7 @@ +import LangflowLogo from "@/assets/LangflowLogo.svg?react"; import { useLoginUser } from "@/controllers/API/queries/auth"; import { CustomLink } from "@/customization/components/custom-link"; +import { ENABLE_NEW_LOGO } from "@/customization/feature-flags"; import * as Form from "@radix-ui/react-form"; import { useContext, useState } from "react"; import InputComponent from "../../components/inputComponent"; @@ -65,7 +67,14 @@ export default function LoginPage(): JSX.Element { >
- ⛓️ + {ENABLE_NEW_LOGO ? ( + + ) : ( + ⛓️ + )} Sign in to Langflow diff --git a/src/frontend/src/pages/MainPage/pages/emptyPage/index.tsx b/src/frontend/src/pages/MainPage/pages/emptyPage/index.tsx index 52f18adf8..a2b17d209 100644 --- a/src/frontend/src/pages/MainPage/pages/emptyPage/index.tsx +++ b/src/frontend/src/pages/MainPage/pages/emptyPage/index.tsx @@ -1,4 +1,4 @@ -import ShortLangFlowIcon from "@/components/appHeaderComponent/assets//ShortLangFlowIcon.svg?react"; +import LangflowLogo from "@/assets/LangflowLogo.svg?react"; import ForwardedIconComponent from "@/components/genericIconComponent"; import { Button } from "@/components/ui/button"; import { ENABLE_NEW_LOGO } from "@/customization/feature-flags"; @@ -16,7 +16,7 @@ export const EmptyPage = ({ setOpenModal }: EmptyPageProps) => {
{ENABLE_NEW_LOGO ? ( - + ) : ( ⛓️ )} diff --git a/src/frontend/src/pages/SignUpPage/index.tsx b/src/frontend/src/pages/SignUpPage/index.tsx index 604ee5711..206e574d8 100644 --- a/src/frontend/src/pages/SignUpPage/index.tsx +++ b/src/frontend/src/pages/SignUpPage/index.tsx @@ -1,5 +1,7 @@ +import LangflowLogo from "@/assets/LangflowLogo.svg?react"; import { useAddUser } from "@/controllers/API/queries/auth"; import { CustomLink } from "@/customization/components/custom-link"; +import { ENABLE_NEW_LOGO } from "@/customization/feature-flags"; import { useCustomNavigate } from "@/customization/hooks/use-custom-navigate"; import { track } from "@/customization/utils/analytics"; import * as Form from "@radix-ui/react-form"; @@ -89,9 +91,16 @@ export default function SignUp(): JSX.Element { >
- ⛓️ + {ENABLE_NEW_LOGO ? ( + + ) : ( + ⛓️ + )} - Sign up to Langflow + Sign up for Langflow