diff --git a/app/client/src/pages/UserAuth/Container.tsx b/app/client/src/pages/UserAuth/Container.tsx index f96dce7338..ab3ffc43ab 100644 --- a/app/client/src/pages/UserAuth/Container.tsx +++ b/app/client/src/pages/UserAuth/Container.tsx @@ -7,6 +7,8 @@ import LeftSideContent from "./LeftSideContent"; import { getAppsmithConfigs } from "ee/configs"; import { useIsMobileDevice } from "utils/hooks/useDeviceDetect"; import styled from "styled-components"; +import { getIsAiAgentFlowEnabled } from "ee/selectors/aiAgentSelectors"; +import clsx from "clsx"; interface ContainerProps { title: string; @@ -43,10 +45,15 @@ function Container(props: ContainerProps) { const organizationConfig = useSelector(getOrganizationConfig); const { cloudHosting } = getAppsmithConfigs(); const isMobileDevice = useIsMobileDevice(); + const isAiAgentFlowEnabled = useSelector(getIsAiAgentFlowEnabled); return ( {cloudHosting && !isMobileDevice && } diff --git a/app/client/src/pages/UserAuth/LeftSideContent.tsx b/app/client/src/pages/UserAuth/LeftSideContent.tsx index 2b36e593d5..73afd01eb3 100644 --- a/app/client/src/pages/UserAuth/LeftSideContent.tsx +++ b/app/client/src/pages/UserAuth/LeftSideContent.tsx @@ -71,33 +71,30 @@ const QUOTE = { authorImage: `${getAssetUrl(`${ASSETS_CDN_URL}/thomas-zwick.png`)}`, }; -const QUOTE_FOR_AGENTS = { - quote: `Our goal was to have an omni-channel AI system that could help our usersin every step of the journey. Appsmith serves as a command center for us to control the behavior of the agent. This is a competitive advantage. We're able to serve our customers much faster than our competitors`, - author: "Shawn Lim", - authorTitle: "VP, Platform & AI, Funding Societies", - authorImage: "https://assets.appsmith.com/fundingsocieties-logo.svg", -}; - function LeftSideContent() { const isAiAgentFlowEnabled = useSelector(getIsAiAgentFlowEnabled); - const quote = isAiAgentFlowEnabled ? QUOTE_FOR_AGENTS : QUOTE; - return ( -
-
- "{quote.quote}" + {!isAiAgentFlowEnabled && ( +
+
+ "{QUOTE.quote}" +
+
+ {QUOTE.authorImage && ( + + )} +
{QUOTE.author}
+
·
+
{QUOTE.authorTitle}
+
-
- {quote.authorImage && ( - - )} -
{quote.author}
-
·
-
{quote.authorTitle}
-
-
+ )}