Skip to content

Commit 079b37a

Browse files
feat: replace cloud waitlist ad with direct Cloud link in navigation (#7742)
Co-authored-by: Roo Code <[email protected]>
1 parent e8deedd commit 079b37a

File tree

3 files changed

+17
-27
lines changed

3 files changed

+17
-27
lines changed

apps/web-roo-code/next.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const nextConfig: NextConfig = {
2121
destination: "https://roocode.com/:path*",
2222
permanent: true,
2323
},
24-
// Redirect cloud waitlist to Notion page
24+
// Redirect cloud waitlist to Notion page (kept for extension compatibility)
2525
{
2626
source: "/cloud-waitlist",
2727
destination: "https://roo-code.notion.site/238fd1401b0a8087b858e1ad431507cf?pvs=105",

apps/web-roo-code/src/components/chromes/nav-bar.tsx

Lines changed: 15 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,13 @@ export function NavBar({ stars, downloads }: NavBarProps) {
6969
className="text-muted-foreground transition-transform duration-200 hover:scale-105 hover:text-foreground">
7070
Community
7171
</a>
72-
<div className="flex items-center rounded-full bg-gradient-to-r from-blue-400 to-cyan-400 p-0.5 text-xs">
73-
<div className="rounded-full bg-background px-2 py-1.5">
74-
<span className="text-muted-foreground border-r-2 border-foreground/50 pr-1.5">
75-
Roo Code Cloud is coming
76-
</span>
77-
<a
78-
href="/cloud-waitlist"
79-
rel="noopener noreferrer"
80-
className="font-medium text-primary hover:underline pl-1.5">
81-
Sign up
82-
</a>
83-
</div>
84-
</div>
72+
<a
73+
href={EXTERNAL_LINKS.CLOUD_APP}
74+
target="_blank"
75+
rel="noopener noreferrer"
76+
className="text-muted-foreground transition-transform duration-200 hover:scale-105 hover:text-foreground">
77+
Cloud
78+
</a>
8579
</nav>
8680

8781
<div className="hidden md:flex md:items-center md:space-x-4">
@@ -121,19 +115,6 @@ export function NavBar({ stars, downloads }: NavBarProps) {
121115
<div
122116
className={`absolute left-0 right-0 top-16 z-50 transform border-b border-border bg-background shadow-lg backdrop-blur-none transition-all duration-200 md:hidden ${isMenuOpen ? "translate-y-0 opacity-100" : "pointer-events-none -translate-y-2 opacity-0"}`}>
123117
<nav className="flex flex-col py-2">
124-
<div className="mx-5 mb-2 flex items-center rounded-full bg-gradient-to-r from-blue-400 to-cyan-400 p-0.5 text-xs">
125-
<div className="flex-grow text-center rounded-full bg-background px-2 py-1.5">
126-
<span className="text-muted-foreground border-r-2 border-foreground/50 pr-3">
127-
Roo Code Cloud is coming
128-
</span>
129-
<a
130-
href="/cloud-waitlist"
131-
rel="noopener noreferrer"
132-
className="font-medium text-primary hover:underline pl-3">
133-
Sign up
134-
</a>
135-
</div>
136-
</div>
137118
<ScrollButton
138119
targetId="features"
139120
className="w-full px-8 py-3 text-left text-sm font-medium text-foreground/80 transition-colors hover:bg-accent hover:text-foreground"
@@ -181,6 +162,14 @@ export function NavBar({ stars, downloads }: NavBarProps) {
181162
onClick={() => setIsMenuOpen(false)}>
182163
Community
183164
</a>
165+
<a
166+
href={EXTERNAL_LINKS.CLOUD_APP}
167+
target="_blank"
168+
rel="noopener noreferrer"
169+
className="w-full px-8 py-3 text-left text-sm font-medium text-foreground/80 transition-colors hover:bg-accent hover:text-foreground"
170+
onClick={() => setIsMenuOpen(false)}>
171+
Cloud
172+
</a>
184173

185174
<hr className="mx-8 my-2 border-t border-border/50" />
186175

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ 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",
2728
}
2829

2930
export const INTERNAL_LINKS = {

0 commit comments

Comments
 (0)