Skip to content

Commit 05f67b6

Browse files
thill2323daniel-lxs
authored andcommitted
Feature update
Added 2 additional features to the homepage (dev setup/experience to highlight speed, productivity, and ease of set-up, and security) to create a clean 3x3x3 grid. Fixed the widths of the containers, cleaned up icons, cleaned up hoverstates.
1 parent 8b5ffa3 commit 05f67b6

File tree

2 files changed

+32
-21
lines changed

2 files changed

+32
-21
lines changed

apps/web-roo-code/src/components/homepage/features-mobile.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ export function FeaturesMobile() {
6060
<div className="flex">
6161
{features.map((feature, index) => (
6262
<div className="flex min-w-0 flex-[0_0_100%] px-4" key={index}>
63-
<div className="relative h-full min-h-[280px] rounded-2xl border border-border/50 bg-background/30 p-6 backdrop-blur-xl transition-colors duration-300 hover:border-border hover:bg-gray-900/20">
64-
<div className="mb-2 inline-flex items-center justify-center rounded-xl bg-gradient-to-r from-blue-500/5 to-cyan-500/5 p-2.5">
63+
<div className="relative h-full min-h-[280px] rounded-2xl border border-border/50 bg-background/30 p-6 backdrop-blur-xl transition-all duration-300 hover:border-border hover:bg-background/50 dark:hover:border-border/80 dark:hover:bg-background/40">
64+
<div className="mb-2 inline-flex items-center justify-center rounded-xl bg-gradient-to-r from-blue-500/10 to-cyan-500/10 p-2.5 dark:from-blue-500/20 dark:to-cyan-500/20">
6565
<div className="rounded-lg bg-gradient-to-r from-blue-500/80 to-cyan-500/80 p-2.5">
66-
<div className="text-foreground/90">{feature.icon}</div>
66+
<div className="text-white">{feature.icon}</div>
6767
</div>
6868
</div>
6969
<h3 className="mb-3 text-xl font-medium text-foreground/90">{feature.title}</h3>

apps/web-roo-code/src/components/homepage/features.tsx

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
"use client"
22

33
import { motion } from "framer-motion"
4-
import { FaRobot, FaCode, FaBrain, FaTools, FaTerminal, FaPuzzlePiece, FaGlobe } from "react-icons/fa"
4+
import {
5+
FaRobot,
6+
FaCode,
7+
FaBrain,
8+
FaTools,
9+
FaTerminal,
10+
FaPuzzlePiece,
11+
FaGlobe,
12+
FaShieldAlt,
13+
FaBolt,
14+
} from "react-icons/fa"
515
import { FeaturesMobile } from "./features-mobile"
616

717
import { ReactNode } from "react"
@@ -10,7 +20,6 @@ export interface Feature {
1020
icon: ReactNode
1121
title: string
1222
description: string
13-
size: "small" | "large"
1423
}
1524

1625
export const features: Feature[] = [
@@ -19,49 +28,54 @@ export const features: Feature[] = [
1928
title: "Your AI Dev Team in VS Code",
2029
description:
2130
"Roo Code puts a team of agentic AI assistants directly in your editor, with the power to plan, write, and fix code across multiple files.",
22-
size: "large",
2331
},
2432
{
2533
icon: <FaCode className="h-6 w-6" />,
2634
title: "Multiple Specialized Modes",
2735
description:
2836
"From coding to debugging to architecture, Roo Code has a mode for every dev scenario—just switch on the fly.",
29-
size: "small",
3037
},
3138
{
3239
icon: <FaBrain className="h-6 w-6" />,
3340
title: "Deep Project-wide Context",
3441
description:
3542
"Roo Code reads your entire codebase, preserving valid code through diff-based edits for seamless multi-file refactors.",
36-
size: "small",
3743
},
3844
{
3945
icon: <FaTools className="h-6 w-6" />,
4046
title: "Open-Source and Model-Agnostic",
4147
description:
4248
"Bring your own model or use local AI—no vendor lock-in. Roo Code is free, open, and adaptable to your needs.",
43-
size: "large",
4449
},
4550
{
4651
icon: <FaTerminal className="h-6 w-6" />,
4752
title: "Guarded Command Execution",
4853
description:
4954
"Approve or deny commands as needed. Roo Code automates your dev workflow while keeping oversight firmly in your hands.",
50-
size: "small",
5155
},
5256
{
5357
icon: <FaPuzzlePiece className="h-6 w-6" />,
5458
title: "Fully Customizable",
5559
description:
56-
"Create or tweak modes, define usage rules, and shape Roo Code’s behavior precisely—your code, your way.",
57-
size: "small",
60+
"Create or tweak modes, define usage rules, and shape Roo Code's behavior precisely—your code, your way.",
5861
},
5962
{
6063
icon: <FaGlobe className="h-6 w-6" />,
6164
title: "Automated Browser Actions",
6265
description:
6366
"Seamlessly test and verify your web app directly from VS Code—Roo Code can open a browser, run checks, and more.",
64-
size: "small",
67+
},
68+
{
69+
icon: <FaShieldAlt className="h-6 w-6" />,
70+
title: "Secure by Design",
71+
description:
72+
"Security-first from the ground up, Roo Code meets rigorous standards without slowing you down. Monitoring and strict policies keep your code safe at scale.",
73+
},
74+
{
75+
icon: <FaBolt className="h-6 w-6" />,
76+
title: "Seamless Setup and Workflows",
77+
description:
78+
"Get started in minutes—no heavy configs. Roo Code fits alongside your existing tools and dev flow, while supercharging your productivity.",
6579
},
6680
]
6781

@@ -148,15 +162,12 @@ export function Features() {
148162
viewport={{ once: true }}>
149163
<div className="grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3 lg:gap-8">
150164
{features.map((feature, index) => (
151-
<motion.div
152-
key={index}
153-
variants={itemVariants}
154-
className={`group relative ${feature.size === "large" ? "lg:col-span-2" : ""} ${index % 2 === 0 ? "lg:translate-y-12" : ""}`}>
155-
<div className="absolute -inset-px rounded-2xl bg-gradient-to-r from-blue-500/30 via-cyan-500/30 to-purple-500/30 opacity-0 blur-sm transition-opacity duration-500 group-hover:opacity-100" />
156-
<div className="relative h-full rounded-2xl border border-border/50 bg-background/30 p-8 backdrop-blur-xl transition-colors duration-300 hover:border-border">
157-
<div className="mb-5 inline-flex items-center justify-center rounded-xl bg-gradient-to-r from-blue-500/5 to-cyan-500/5 p-2.5">
165+
<motion.div key={index} variants={itemVariants} className="group relative">
166+
<div className="absolute -inset-px rounded-2xl bg-gradient-to-r from-blue-500/30 via-cyan-500/30 to-purple-500/30 opacity-0 blur-sm transition-all duration-500 group-hover:opacity-100 dark:from-blue-500/50 dark:via-cyan-500/50 dark:to-purple-500/50" />
167+
<div className="relative h-full rounded-2xl border border-border/50 bg-background/30 p-8 backdrop-blur-xl transition-all duration-300 hover:border-border hover:bg-background/50 dark:hover:border-border/80 dark:hover:bg-background/40">
168+
<div className="mb-5 inline-flex items-center justify-center rounded-xl bg-gradient-to-r from-blue-500/10 to-cyan-500/10 p-2.5 dark:from-blue-500/20 dark:to-cyan-500/20">
158169
<div className="rounded-lg bg-gradient-to-r from-blue-500/80 to-cyan-500/80 p-2.5">
159-
<div className="text-foreground/90">{feature.icon}</div>
170+
<div className="text-white">{feature.icon}</div>
160171
</div>
161172
</div>
162173
<h3 className="mb-3 text-xl font-medium text-foreground/90">{feature.title}</h3>

0 commit comments

Comments
 (0)