From dbb83267b2882594b8a9c3b0e360ab23248696ae Mon Sep 17 00:00:00 2001 From: "agentfarmx[bot]" <198411105+agentfarmx[bot]@users.noreply.github.com> Date: Wed, 26 Feb 2025 12:16:40 +0000 Subject: [PATCH 1/2] feat: add carousel component for feature cards display --- components/home.tsx | 209 ++++++++++++++++++++++++------------- components/ui/carousel.tsx | 112 ++++++++++++++++++++ 2 files changed, 251 insertions(+), 70 deletions(-) create mode 100644 components/ui/carousel.tsx diff --git a/components/home.tsx b/components/home.tsx index 713b596..a2a2b99 100644 --- a/components/home.tsx +++ b/components/home.tsx @@ -8,6 +8,7 @@ declare global { import { Button } from "@/components/ui/button"; import { Card } from "@/components/ui/card"; +import { Carousel } from "@/components/ui/carousel"; import { Downloads } from "@/lib/types"; import { DeviceDetails } from "@/lib/ua"; import { @@ -21,6 +22,9 @@ import { CheckCircle2, Sprout, Play, + Rocket, + Shield, + Globe, } from "lucide-react"; import Image from "next/image"; import Link from "next/link"; @@ -243,78 +247,143 @@ export default function Component({ {/* Feature Cards */}
,
- text: "One-Click Setup",
- },
- {
- icon: ,
- text: "Smart PR suggestions",
- },
- {
- icon: ,
- text: "AGENTS AGENTS AGENTS",
- },
- {
- icon: ,
+ text: "One-Click Setup",
+ },
+ {
+ icon: ,
+ text: "Smart PR suggestions",
+ },
+ {
+ icon: ,
+ text: "AGENTS AGENTS AGENTS",
+ },
+ {
+ icon: ,
+ text: "Automated code generation",
+ },
+ {
+ icon: ,
+ text: "Vulnerability scanning",
+ },
+ {
+ icon: ,
+ text: "Real-time collaboration",
+ },
+ {
+ icon: