import Link from 'next/link'; import { Play, Code2, Blocks } from 'lucide-react'; import { DocsHeroV2Chat } from './docs-hero-v2-chat'; const CHIPS = [ { label: 'Quickstart', href: '/docs/quickstart', icon: Play }, { label: 'API reference', href: '/reference', icon: Code2 }, { label: 'Toolkits', href: '/toolkits', icon: Blocks }, ]; /** * Welcome-page hero — v2. * * Two-column layout: copy + entry points on the left, mock chat / agent * loop on the right. Left column mirrors the dev-platform pattern * popularized by Claude / OpenAI docs: small eyebrow, large headline, * sub paragraph, search input, then a row of quick-link chips. */ export function DocsHeroV2() { return (
{/* Left — copy + entry points */}

Start building with Composio.

Give your AI agent 1000+ pre-authenticated toolkits, per-user sessions, triggers, and a workbench.

{/* Quick-link chips — single column */}
{CHIPS.map(({ label, href, icon: Icon }) => (
{/* Right — mock chat with floating "active tool" card. Hidden below lg: the layered animation is fiddly on small screens and the left column carries the welcome on its own. */}
); }