11"use client"
22
3- import { ArrowRight , Blocks , BookMarked , ListChecks , LucideIcon } from "lucide-react"
3+ import {
4+ ArrowRight ,
5+ Blocks ,
6+ BookMarked ,
7+ ListChecks ,
8+ LucideIcon ,
9+ GitPullRequest ,
10+ Key ,
11+ MessageSquareCode ,
12+ } from "lucide-react"
413import Image from "next/image"
514
615import { Button } from "@/components/ui"
@@ -16,6 +25,26 @@ interface Feature {
1625 logos ?: string [ ]
1726}
1827
28+ const workflowSteps : Feature [ ] = [
29+ {
30+ icon : GitPullRequest ,
31+ title : "1. Connect Your Repository" ,
32+ description : "Link your GitHub repository and configure which branches and pull requests should be reviewed." ,
33+ } ,
34+ {
35+ icon : Key ,
36+ title : "2. Add Your API Key" ,
37+ description :
38+ "Provide your AI provider API key and set your review preferences, custom rules, and quality standards." ,
39+ } ,
40+ {
41+ icon : MessageSquareCode ,
42+ title : "3. Get Comprehensive Reviews" ,
43+ description :
44+ "Every pull request gets instant, detailed feedback from a Roo Code agent highlighting issues and suggesting improvements." ,
45+ } ,
46+ ]
47+
1948const howItWorks : Feature [ ] = [
2049 {
2150 icon : Blocks ,
@@ -68,7 +97,7 @@ export function ReviewerContent() {
6897 < p >
6998 Roo Code's PR Reviewer flips the script: you bring your own key and
7099 leverage it to the max – to find real issues, increase code quality and keep
71- your PR queue moving.
100+ your pull request queue moving.
72101 </ p >
73102 </ div >
74103 </ div >
@@ -109,6 +138,41 @@ export function ReviewerContent() {
109138 </ div >
110139 </ section >
111140
141+ { /* How It Works Section */ }
142+ < section className = "relative overflow-hidden border-t border-border py-32 bg-muted/30" >
143+ < div className = "container relative z-10 mx-auto px-4 sm:px-6 lg:px-8" >
144+ < div className = "mx-auto mb-12 md:mb-24 max-w-5xl text-center" >
145+ < div >
146+ < h2 className = "text-4xl font-bold tracking-tight sm:text-5xl" > How It Works</ h2 >
147+ < p className = "mt-6 text-lg text-muted-foreground" >
148+ Get started with comprehensive code reviews in three simple steps
149+ </ p >
150+ </ div >
151+ </ div >
152+
153+ < div className = "relative mx-auto md:max-w-[1200px]" >
154+ < ul className = "grid grid-cols-1 place-items-center gap-6 md:grid-cols-3 lg:gap-8" >
155+ { workflowSteps . map ( ( step , index ) => {
156+ const Icon = step . icon
157+ return (
158+ < li
159+ key = { index }
160+ className = "relative h-full border border-border rounded-2xl bg-background p-8 transition-all duration-300 hover:shadow-lg" >
161+ < div className = "mb-4 inline-flex items-center justify-center rounded-full bg-primary/10 p-3" >
162+ < Icon className = "size-6 text-primary" />
163+ </ div >
164+ < h3 className = "mb-3 text-xl font-semibold text-foreground" > { step . title } </ h3 >
165+ < div className = "leading-relaxed font-light text-muted-foreground" >
166+ { step . description }
167+ </ div >
168+ </ li >
169+ )
170+ } ) }
171+ </ ul >
172+ </ div >
173+ </ div >
174+ </ section >
175+
112176 < section className = "relative overflow-hidden border-t border-border py-32" >
113177 < div className = "container relative z-10 mx-auto px-4 sm:px-6 lg:px-8" >
114178 < div className = "mx-auto mb-12 md:mb-24 max-w-5xl text-center" >
0 commit comments