"use client"; import React, { useState } from "react"; import Image from "next/image"; import { motion, AnimatePresence } from "framer-motion"; import { Button } from "@katanemo/ui"; const verticalCarouselData = [ { id: 1, category: "INTRODUCTION", title: "Simple to revolutionary", description: "Plano is an intelligent (edge and LLM) proxy server designed for agents - to help you focus on core business objectives. Arch handles critical but the pesky tasks related to the handling and processing of prompts, which includes detecting and rejecting jailbreak attempts, intelligent task routing for improved accuracy, mapping user requests into 'backend' functions, and managing the observability of prompts and LLM in a centralized way.", diagram: "/IntroDiagram.svg", }, { id: 2, category: "OPEN SOURCE", title: "Freedom to extend & deploy", description: "No lock-in. No black boxes. Just an open, intelligent (edge and LLM) proxy for building smarter, agentic AI applications. Created by contributors to Envoy Proxy, Arch brings enterprise-grade reliability to prompt orchestration, while giving you the flexibility to shape, extend, and integrate it into your AI workflows.", diagram: "/OpenSource.svg", }, { id: 3, category: "BUILT ON ENVOY", title: "Production-proven infrastructure", description: "Plano takes a dependency on Envoy and is a self-contained process designed to run alongside your application servers. Plano extends Envoy's HTTP connection management subsystem, filtering, and telemetry capabilities exclusively for prompts and LLMs. Use Plano with any application language or framework, and use Plano with any LLM provider.", diagram: "/BuiltOnEnvoy.svg", }, { id: 4, category: "PURPOSE-BUILT", title: "Task-optimized, efficient LLMs", description: "Unlike generic API gateways, Plano is purpose-built for AI agent workloads. Every feature is designed with prompt processing, model routing, and agent orchestration in mind, providing optimal performance for your AI applications.", diagram: "/PurposeBuilt.svg", }, { id: 5, category: "PROMPT ROUTING", title: "Intelligent request handling", description: "Prompt Targets are a core concept in Plano, enabling developers to define how different types of user prompts should get processed and routed. Define prompt targets, so you can seperate business logic from the complexities of processing and handling of prompts, focusing on the quality of your application and a cleaner seperation of concerns in your codebase.", diagram: "/PromptRouting.svg", }, ]; export function VerticalCarouselSection() { const [activeSlide, setActiveSlide] = useState(0); const handleSlideClick = (index: number) => { setActiveSlide(index); }; return (
{/* Main Heading */}

Under the hood

{/* Mobile: Horizontal Scroller Navigation */}
{verticalCarouselData.map((item, index) => ( ))}
{/* Desktop: Vertical Carousel Layout */}
{/* Left Sidebar Navigation - Desktop Only */}
{verticalCarouselData.map((item, index) => (
handleSlideClick(index)} className="cursor-pointer relative pl-6 transition-all duration-300" > {/* Category Text */} {item.category}
))}
{/* Right Content Area - Fixed height to prevent layout shift */}
{/* Diagram - Above on mobile, Right Side on desktop */}
{verticalCarouselData[activeSlide].title}
{/* Text Content */}
{/* Title

{verticalCarouselData[activeSlide].title}

*/} {/* Description */}

{verticalCarouselData[activeSlide].description}

); }