Website - small fixes (#19918)

- Fix release note link in footer
- Fix Talk to partner CTA in pricing page
This commit is contained in:
Etienne 2026-04-21 11:50:04 +02:00 committed by GitHub
parent a583ee405b
commit 1db242d399
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 7 deletions

View file

@ -32,7 +32,7 @@ export const FOOTER_DATA: FooterDataType = {
href: 'https://docs.twenty.com/getting-started/introduction',
external: true,
},
{ label: 'Release Notes', href: '/release-notes', external: false },
{ label: 'Release Notes', href: '/releases', external: false },
{
label: 'Halftone generator',
href: '/halftone',

View file

@ -14,11 +14,13 @@ const StyledTrigger = styled.button`
type BecomePartnerButtonProps = {
color?: 'primary' | 'secondary';
label?: string;
variant?: 'contained' | 'outlined';
};
export function BecomePartnerButton({
color = 'secondary',
label = 'Become a partner',
variant = 'contained',
}: BecomePartnerButtonProps) {
const { openPartnerApplicationModal } = usePartnerApplicationModal();
@ -32,7 +34,7 @@ export function BecomePartnerButton({
openPartnerApplicationModal();
}}
>
<BaseButton color={color} label="Become a partner" variant={variant} />
<BaseButton color={color} label={label} variant={variant} />
</StyledTrigger>
);
}

View file

@ -1,5 +1,9 @@
import { FAQ_DATA, MENU_DATA } from '@/app/_constants';
import { TalkToUsButton } from '@/app/components/ContactCalModal';
import {
BecomePartnerButton,
PartnerApplicationModalRoot,
} from '@/app/partners/components/PartnerApplication';
import {
ENGAGEMENT_BAND_DATA,
HERO_DATA,
@ -45,7 +49,7 @@ export default async function PricingPage() {
const menuSocialLinks = mergeSocialLinkLabels(MENU_DATA.socialLinks, stats);
return (
<>
<PartnerApplicationModalRoot>
<Menu.Root
backgroundColor="#F3F3F3"
scheme="primary"
@ -90,11 +94,9 @@ export default async function PricingPage() {
<EngagementBand.Body body={ENGAGEMENT_BAND_DATA.body} />
</EngagementBand.Copy>
<EngagementBand.Actions>
<LinkButton
<BecomePartnerButton
color="secondary"
href="https://app.twenty.com/welcome"
label="Find a partner"
type="anchor"
variant="outlined"
/>
</EngagementBand.Actions>
@ -137,6 +139,6 @@ export default async function PricingPage() {
</Faq.Intro>
<Faq.Items questions={FAQ_DATA.questions} />
</Faq.Root>
</>
</PartnerApplicationModalRoot>
);
}