diff --git a/studio/src/components/auth/auth-components.tsx b/studio/src/components/auth/auth-components.tsx index 472c3b48dd..8e035fb653 100644 --- a/studio/src/components/auth/auth-components.tsx +++ b/studio/src/components/auth/auth-components.tsx @@ -11,6 +11,7 @@ import { MagnifyingGlassIcon, RocketLaunchIcon, } from "@heroicons/react/24/outline"; +import { getSignupContent, type SignupVariant } from "@/lib/signup-content"; /** * Auth Card - The card container for auth forms @@ -129,23 +130,37 @@ export const TrustedCompanies = () => { /** * Marketing Header - Title and description for the right side */ -export const MarketingHeader = () => { +export const MarketingHeader = ({ + title, + description, +}: { + title?: string; + description?: string; +}) => { + const defaultTitle = "Cosmo: Open-Source\nGraphQL Federation Solution"; + const defaultDescription = + "Unify distributed APIs into one federated graph. Platform teams get observability and control. Service teams ship independently."; + + const displayTitle = title || defaultTitle; + const displayDescription = description || defaultDescription; + return (
- Unify distributed APIs into one federated graph. Platform teams get observability and control. Service teams ship independently. -
+{displayDescription}
- Try Cosmo as Managed Service. No card required. + {content.description}