{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "launch-dock-quotes-demo",
  "type": "registry:block",
  "title": "Launch Dock: Testimonials",
  "description": "Mac-Style App Dock example, Testimonials: Faces in a round dock. Each quote card grows out of the person who said it, and shrinks back into them when the next one opens. A take on the dock (mac dock). Fits testimonials, logo cloud and portfolio sections.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "testimonials",
    "logo-cloud",
    "portfolio",
    "dock",
    "modal",
    "showcase",
    "motion"
  ],
  "docs": "Live preview, examples and props: https://keyframeui.com/components/launch-dock#launch-dock-quotes-demo",
  "registryDependencies": [
    "https://keyframeui.com/r/launch-dock.json"
  ],
  "files": [
    {
      "path": "components/launch-dock-quotes-demo.tsx",
      "type": "registry:component",
      "content": "\"use client\";\n\nimport { LaunchDock, type LaunchDockItem } from \"@/components/ui/launch-dock\";\n\nconst face = (id: string, size: number) =>\n  `https://images.unsplash.com/photo-${id}?auto=format&fit=crop&crop=faces&w=${size}&h=${size}&q=80`;\n\nconst people = [\n  {\n    id: \"ines\",\n    name: \"Inês Moreau\",\n    role: \"Partner, Atelier Sund\",\n    photo: \"1438761681033-6461ffad8d80\",\n    quote: \"Okto writes up our client calls before I'm back at my desk. I haven't typed a meeting note since March.\",\n  },\n  {\n    id: \"rafael\",\n    name: \"Rafael Santos\",\n    role: \"Head of Sales, Kvarter\",\n    photo: \"1507003211169-0a1dd7228f2d\",\n    quote: \"Follow-ups used to cost us a day a week. Now they go out while the call is still fresh for everyone.\",\n  },\n  {\n    id: \"mei\",\n    name: \"Mei Tanaka\",\n    role: \"Producer, Northwind Films\",\n    photo: \"1534528741775-53994a69daeb\",\n    quote: \"I search last month's calls like my inbox. “What did the client say about the ending?” Found in a second.\",\n  },\n  {\n    id: \"luca\",\n    name: \"Luca Bianchi\",\n    role: \"Engineering Lead, Harbor\",\n    photo: \"1500648767791-00dcc994a43e\",\n    quote: \"Our standups are eight minutes now. Okto posts the decisions to the right channel, so nobody retells them.\",\n  },\n  {\n    id: \"amara\",\n    name: \"Amara Okafor\",\n    role: \"Founder, Field & Fold\",\n    photo: \"1531123897727-8f129e1688ce\",\n    quote: \"The first tool my whole team adopted without a training session. It just shows up in the calls we already have.\",\n  },\n  {\n    id: \"jonas\",\n    name: \"Jonas Weber\",\n    role: \"Brand Director, Tinta\",\n    photo: \"1539571696357-5a69c17a67c6\",\n    quote: \"It caught a budget number we'd all misheard on the call. That one note paid for the year.\",\n  },\n];\n\nfunction Quote({ person }: { person: (typeof people)[number] }) {\n  return (\n    <figure className=\"flex h-full flex-col justify-between p-11\">\n      <div>\n        <svg viewBox=\"0 0 32 24\" aria-hidden className=\"h-6 w-8 text-violet-500\">\n          <path\n            fill=\"currentColor\"\n            d=\"M0 24V14.4C0 6.2 4.6 1.4 12.4 0l1.4 3.6C9.5 5 7.4 7.8 7.2 12H13v12H0Zm18.6 0V14.4C18.6 6.2 23.2 1.4 31 0l1 3.6C27.8 5 25.9 7.8 25.7 12h5.7v12H18.6Z\"\n          />\n        </svg>\n        <blockquote className=\"mt-6 text-[28px] leading-[1.36] font-medium tracking-[-0.018em] text-balance text-zinc-900 dark:text-zinc-50\">\n          {person.quote}\n        </blockquote>\n      </div>\n      <figcaption className=\"flex items-center gap-3.5\">\n        {/* eslint-disable-next-line @next/next/no-img-element */}\n        <img src={face(person.photo, 96)} alt=\"\" className=\"size-11 rounded-full object-cover\" />\n        <div>\n          <p className=\"text-[16px] font-semibold text-zinc-900 dark:text-zinc-50\">{person.name}</p>\n          <p className=\"text-[14px] text-zinc-500 dark:text-zinc-400\">{person.role}</p>\n        </div>\n      </figcaption>\n    </figure>\n  );\n}\n\nconst items: LaunchDockItem[] = people.map((person) => ({\n  id: person.id,\n  label: person.name,\n  // eslint-disable-next-line @next/next/no-img-element\n  icon: <img src={face(person.photo, 120)} alt=\"\" />,\n  content: <Quote person={person} />,\n}));\n\nexport function LaunchDockQuotesDemo() {\n  return (\n    <div className=\"flex w-full max-w-xl flex-col items-center gap-8\">\n      <div className=\"text-center\">\n        <p className=\"text-sm font-medium text-violet-600 dark:text-violet-400\">Okto for teams</p>\n        <h2 className=\"mt-2 text-3xl font-semibold tracking-tight text-balance text-zinc-950 dark:text-white\">\n          Teams that stopped taking notes\n        </h2>\n      </div>\n      <LaunchDock\n        items={items}\n        frame=\"card\"\n        fade={false}\n        autoplay\n        windowSize={[720, 360]}\n        dockLabel=\"People quoted\"\n        className=\"[--launch-dock-roundness:0.5]\"\n      />\n    </div>\n  );\n}\n"
    }
  ]
}