The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Rework the /partners hero away from the match pitch (#24866)
Rashad Karanouh4710f0f011a9
diff --git a/packages/twenty-website/src/client-brief/GetMatchedButton.tsx b/packages/twenty-website/src/client-brief/GetMatchedButton.tsxindex 6fdc628d2ae..1120dbdaeb7 100644--- a/packages/twenty-website/src/client-brief/GetMatchedButton.tsx+++ b/packages/twenty-website/src/client-brief/GetMatchedButton.tsx@@ -3,13 +3,25 @@import { type MessageDescriptor } from '@lingui/core';import { useLingui } from '@lingui/react';-import { Button } from '@/ui';+import { Button, type ButtonVariant } from '@/ui';import { useClientBriefModal } from './use-client-brief-modal';-export function GetMatchedButton({ label }: { label: MessageDescriptor }) {+export function GetMatchedButton({+ label,+ variant,+}: {+ label: MessageDescriptor;+ variant?: ButtonVariant;+}) {const { i18n } = useLingui();const { openClientBriefModal } = useClientBriefModal();- return <Button label={i18n._(label)} onClick={openClientBriefModal} />;+ return (+ <Button+ label={i18n._(label)}+ onClick={openClientBriefModal}+ variant={variant}+ />+ );}diff --git a/packages/twenty-website/src/sections/partner-hero/BrowseDirectoryButton.tsx b/packages/twenty-website/src/sections/partner-hero/BrowseDirectoryButton.tsxindex a81206f736b..9fdcadd8a33 100644--- a/packages/twenty-website/src/sections/partner-hero/BrowseDirectoryButton.tsx+++ b/packages/twenty-website/src/sections/partner-hero/BrowseDirectoryButton.tsx@@ -32,7 +32,6 @@ export function BrowseDirectoryButton() {href={`#${PARTNER_DIRECTORY_ANCHOR_ID}`}label={i18n._(msg`Browse partners`)}onClick={scrollToDirectory}- variant="outlined"/>);}diff --git a/packages/twenty-website/src/sections/partner-hero/PartnerLeadHero.tsx b/packages/twenty-website/src/sections/partner-hero/PartnerLeadHero.tsxindex 1fbc261b9bf..bbb8fcb4b31 100644--- a/packages/twenty-website/src/sections/partner-hero/PartnerLeadHero.tsx+++ b/packages/twenty-website/src/sections/partner-hero/PartnerLeadHero.tsx@@ -78,20 +78,20 @@ export function PartnerLeadHero() {<HeadingPair><HeadingMeasure><Heading as="h1" size="lg" weight="light">- {i18n._(msg`Tell us what you need, we match you in *48 hours*`)}+ {i18n._(msg`Hire the people who *build on Twenty*`)}</Heading></HeadingMeasure><BodyMeasure><Body muted size="sm">{i18n._(- msg`Skip the browsing. Describe your project and we connect you with a certified Twenty partner who fits it.`,+ msg`Certified partners who set up your CRM to match how your company works, from the migration to the custom apps.`,)}</Body></BodyMeasure></HeadingPair><CtaRow>- <GetMatchedButton label={msg`Get matched`} /><BrowseDirectoryButton />+ <GetMatchedButton label={msg`Get matched`} variant="outlined" /></CtaRow></IntroStack><VisualStage>