Skip to content

Commit

Permalink
add link to the "reach out" CTA on the trial end dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
nilscox committed Jan 31, 2025
1 parent fc7cfed commit 6654a85
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/modules/trial/trial-ended/select-plan.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { DialogFooter, DialogHeader } from '@koyeb/design-system';
import { ExternalLink } from 'src/components/link';
import { createTranslate } from 'src/intl/translate';

import { PlanItem } from './plan-item';
Expand Down Expand Up @@ -31,7 +32,15 @@ export function SelectPlan({ onDowngrade, onSelected }: SelectPlanProps) {
<T
id="footer"
values={{
reachOut: (children) => <span className="underline">{children}</span>,
reachOut: (children) => (
<ExternalLink
openInNewTab
href="https://app.reclaim.ai/m/koyeb-intro/short-call"
className="underline"
>
{children}
</ExternalLink>
),
downgrade: (children) => (
<button type="button" onClick={onDowngrade} className="underline">
{children}
Expand Down

0 comments on commit 6654a85

Please sign in to comment.