Skip to content

Commit 4e1583b

Browse files
committed
Proper Cloud CTA links
1 parent f3a9f79 commit 4e1583b

File tree

2 files changed

+23
-16
lines changed

2 files changed

+23
-16
lines changed

apps/web-roo-code/src/app/pricing/page.tsx

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ interface PricingTier {
5959
icon: LucideIcon
6060
price: string
6161
period?: string
62+
trial?: string
6263
cancellation?: string
6364
description: string
6465
featuresIntro?: string
@@ -85,14 +86,15 @@ const pricingTiers: PricingTier[] = [
8586
],
8687
cta: {
8788
text: "Get started",
88-
href: EXTERNAL_LINKS.CLOUD_APP,
89+
href: EXTERNAL_LINKS.CLOUD_APP_SIGNUP,
8990
},
9091
},
9192
{
9293
name: "Pro",
9394
icon: Star,
9495
price: "$20",
95-
period: "/month",
96+
period: "/mo",
97+
trial: "Free 14-day trial · ",
9698
cancellation: "Cancel anytime",
9799
description: "For pro Roo coders",
98100
featuresIntro: "Everything in Free, plus:",
@@ -103,22 +105,23 @@ const pricingTiers: PricingTier[] = [
103105
"Paid support",
104106
],
105107
cta: {
106-
text: "Start 14-day Free Trial",
107-
href: EXTERNAL_LINKS.CLOUD_APP,
108+
text: "Get started",
109+
href: EXTERNAL_LINKS.CLOUD_APP_SIGNUP + "?redirect_url=/billing",
108110
},
109111
},
110112
{
111113
name: "Team",
112114
icon: Users,
113115
price: "$99",
114-
period: "/month",
116+
period: "/mo",
117+
trial: "Free 14-day trial · ",
115118
cancellation: "Cancel anytime",
116119
description: "For AI-forward teams",
117120
featuresIntro: "Everything in Pro, plus:",
118121
features: ["Unlimited users (no per-seat cost)", "Shared configuration & policies", "Centralized billing"],
119122
cta: {
120-
text: "Start 14-day Free Trial",
121-
href: EXTERNAL_LINKS.CLOUD_APP,
123+
text: "Get started",
124+
href: EXTERNAL_LINKS.CLOUD_APP_SIGNUP + "?redirect_url=/billing",
122125
},
123126
},
124127
{
@@ -181,7 +184,7 @@ export default function PricingPage() {
181184
className="relative p-6 flex flex-col justify-start bg-background border rounded-2xl transition-all hover:shadow-lg">
182185
<div className="mb-6">
183186
<div className="flex items-center justify-between">
184-
<h3 className="text-2xl font-bold">{tier.name}</h3>
187+
<h3 className="text-2xl font-bold tracking-tight">{tier.name}</h3>
185188
<Icon className="size-6" />
186189
</div>
187190
<p className="text-sm text-muted-foreground">{tier.description}</p>
@@ -201,20 +204,23 @@ export default function PricingPage() {
201204
</ul>
202205
</div>
203206

204-
<p className="text-xl my-0 font-bold tracking-tight">
205-
{tier.price}
207+
<p className="text-2xl mt-0 mb-1 tracking-tight">
208+
<strong>{tier.price}</strong>
206209
{tier.period}
207210
</p>
208-
<p className="text-xs text-muted-foreground">{tier.cancellation}&nbsp;</p>
211+
<p className="text-xs text-muted-foreground mb-4">
212+
{tier.trial}
213+
{tier.cancellation}&nbsp;
214+
</p>
209215

210216
{tier.cta.isContactForm ? (
211217
<ContactForm
212218
formType="demo"
213219
buttonText={tier.cta.text}
214-
buttonClassName="w-full mt-2 transition-all duration-300"
220+
buttonClassName="w-full transition-all duration-300"
215221
/>
216222
) : (
217-
<Button size="lg" className="w-full mt-2 transition-all duration-300" asChild>
223+
<Button size="lg" className="w-full transition-all duration-300" asChild>
218224
<Link href={tier.cta.href!} className="flex items-center justify-center">
219225
{tier.cta.text}
220226
</Link>
@@ -305,11 +311,11 @@ export default function PricingPage() {
305311
className="bg-black text-white hover:bg-gray-800 hover:shadow-lg hover:shadow-black/20 dark:bg-white dark:text-black dark:hover:bg-gray-200 dark:hover:shadow-white/20 transition-all duration-300"
306312
asChild>
307313
<a
308-
href={EXTERNAL_LINKS.CLOUD_APP}
314+
href={EXTERNAL_LINKS.CLOUD_APP_SIGNUP}
309315
target="_blank"
310316
rel="noopener noreferrer"
311317
className="flex items-center justify-center">
312-
Start Free Cloud Trial
318+
Create a free Cloud account
313319
<ArrowRight className="ml-2 h-4 w-4" />
314320
</a>
315321
</Button>

apps/web-roo-code/src/lib/constants.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ export const EXTERNAL_LINKS = {
2424
OFFICE_HOURS_PODCAST: "https://www.youtube.com/@RooCodeYT/podcasts",
2525
FAQ: "https://roocode.com/#faq",
2626
TESTIMONIALS: "https://roocode.com/#testimonials",
27-
CLOUD_APP: "https://app.roocode.com",
27+
CLOUD_APP_LOGIN: "https://app.roocode.com/sign-in",
28+
CLOUD_APP_SIGNUP: "https://app.roocode.com/sign-up",
2829
}
2930

3031
export const INTERNAL_LINKS = {

0 commit comments

Comments
 (0)