33import { getVSCodeDownloads } from "@/lib/stats"
44
55import { Button } from "@/components/ui"
6- import { AnimatedText } from "@/components/animated-text"
76import {
87 AnimatedBackground ,
98 InstallSection ,
@@ -12,6 +11,8 @@ import {
1211 FAQSection ,
1312 CodeExample ,
1413} from "@/components/homepage"
14+ import { EXTERNAL_LINKS } from "@/lib/constants"
15+ import { ArrowRight } from "lucide-react"
1516
1617// Invalidate cache when a request comes in, at most once every hour.
1718export const revalidate = 3600
@@ -21,28 +22,18 @@ export default async function Home() {
2122
2223 return (
2324 < >
24- < section className = "relative flex h-[calc(125vh-theme(spacing.12))] items-center overflow-hidden md:h-[calc(100svh-theme(spacing.12))] lg:h-[calc(100vh -theme(spacing.12))]" >
25+ < section className = "relative flex h-[calc(125vh-theme(spacing.12))] items-center overflow-hidden md:h-[calc(80svh -theme(spacing.12))]" >
2526 < AnimatedBackground />
26- < div className = "container relative z-10 mx-auto px-4 sm:px-6 lg:px-8" >
27- < div className = "grid gap-8 md:gap-12 lg:grid-cols-2 lg:gap-16" >
28- < div className = "flex flex-col justify-center space-y-6 sm:space-y-8" >
27+ < div className = "container relative flex items-center h-full z-10 mx-auto px-4 sm:px-6 lg:px-8" >
28+ < div className = "grid h-full relative gap-8 md:gap-12 lg:grid-cols-2 lg:gap-16" >
29+ < div className = "flex flex-col px-4 justify-center space-y-6 sm:space-y-8" >
2930 < div >
30- < h1 className = "text-3xl font-bold tracking-tight sm:text-4xl md:text-5xl lg:text-6xl" >
31- < span className = "block" > Your</ span >
32- < AnimatedText className = "bg-gradient-to-r from-blue-400 to-cyan-400 bg-clip-text text-transparent" >
33- AI-Powered
34- </ AnimatedText >
35- < span className = "block" > Dev Team, in Your Editor</ span >
36- < AnimatedText className = "bg-gradient-to-r from-blue-400 to-cyan-400 bg-clip-text text-transparent" >
37- and Beyond
38- </ AnimatedText >
31+ < h1 className = "text-3xl font-bold tracking-tight mt-8 sm:text-4xl md:text-5xl lg:text-6xl lg:mt-0" >
32+ An entire AI-powered dev team. In your editor and beyond.
3933 </ h1 >
4034 < p className = "mt-4 max-w-md text-base text-muted-foreground sm:mt-6 sm:text-lg" >
41- Supercharge your software development with AI that{ " " }
42- < AnimatedText className = "bg-gradient-to-r from-blue-400 to-cyan-400 bg-clip-text text-transparent" >
43- understands your codebase
44- </ AnimatedText > { " " }
45- and helps you write, refactor, and debug with ease in your editor and in the cloud.
35+ Roo's model-agnostic, specialized modes and fine-grained auto-approval controls
36+ give you the tools (and the confidence) to get AI working for you.
4637 </ p >
4738 </ div >
4839 < div className = "flex flex-col space-y-3 sm:flex-row sm:space-x-4 sm:space-y-0" >
@@ -53,43 +44,33 @@ export default async function Home() {
5344 href = "https://marketplace.visualstudio.com/items?itemName=RooVeterinaryInc.roo-cline"
5445 target = "_blank"
5546 className = "flex w-full items-center justify-center" >
56- Install Roo Code
57- < svg
58- xmlns = "http://www.w3.org/2000/svg"
59- className = "ml-2 h-4 w-4"
60- viewBox = "0 0 20 20"
61- fill = "currentColor" >
62- < path
63- fillRule = "evenodd"
64- d = "M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z"
65- clipRule = "evenodd"
66- />
67- </ svg >
47+ Install Extension
48+ < ArrowRight className = "ml-2" />
6849 </ a >
6950 </ Button >
7051 < Button
7152 variant = "outline"
7253 size = "lg"
7354 className = "w-full sm:w-auto bg-white/20 dark:bg-white/10 backdrop-blur-sm border border-black/40 dark:border-white/30 hover:border-blue-400 hover:bg-white/30 dark:hover:bg-white/20 hover:shadow-[0_0_20px_rgba(59,130,246,0.5)] transition-all duration-300" >
7455 < a
75- href = "https://roocode.com/enterprise"
56+ href = { EXTERNAL_LINKS . CLOUD_APP_SIGNUP }
7657 target = "_blank"
7758 className = "flex w-full items-center justify-center" >
78- For Enterprise
59+ Get started with Cloud
60+ < ArrowRight className = "ml-2" />
7961 </ a >
8062 </ Button >
8163 </ div >
8264 </ div >
83- < div className = "relative mt-8 flex items-center justify-center lg:mt-0" >
84- < div className = "absolute inset-0 flex items-center justify-center" >
85- < div className = "h-[250px] w-[250px] rounded-full bg-blue-500/20 blur-[100px] sm:h-[300px] sm:w-[300px] md:h-[350px] md:w-[350px]" />
65+ < div className = "relative flex items-center mx-auto h-full mt-8 lg:mt-0" >
66+ < div className = "flex items-center justify-center" >
67+ < CodeExample />
8668 </ div >
87- < CodeExample />
8869 </ div >
8970 </ div >
9071 </ div >
9172 </ section >
92- < div id = "features " >
73+ < div id = "product " >
9374 < Features />
9475 </ div >
9576 < div id = "testimonials" >
0 commit comments