{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "call-to-action-14",
  "type": "registry:block",
  "description": "Talk-to-sales split with team avatars and an interactive day and time-slot picker that enables booking.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "registry/designali/blocks/call-to-action/call-to-action-14.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport {\n  Calendar,\n  Check,\n  Clock,\n} from \"@designali/icons\"\n\nimport { Button } from \"@workspace/ui/components/button\"\nimport { cn } from \"@workspace/ui/lib/utils\"\n\nconst team = [\n  { initials: \"AI\", tone: \"bg-primary/20 text-chart-5 dark:bg-primary/10 dark:text-chart-1\" },\n  { initials: \"DS\", tone: \"bg-primary/20 text-chart-5 dark:bg-primary/10 dark:text-chart-1\" },\n  { initials: \"DV\", tone: \"bg-primary/20 text-chart-5 dark:bg-primary/10 dark:text-chart-1\" },\n]\n\nconst days = [\n  { day: \"Tue\", date: \"18\", slots: [\"09:30\", \"11:00\", \"14:30\"] },\n  { day: \"Wed\", date: \"19\", slots: [\"10:00\", \"13:00\", \"16:00\"] },\n  { day: \"Thu\", date: \"20\", slots: [\"09:00\", \"12:30\", \"15:30\"] },\n]\n\nexport default function CallToAction14() {\n  const [day, setDay] = useState(0)\n  const [slot, setSlot] = useState<string | null>(null)\n  const current = days[day]!\n\n  return (\n    <section className=\"w-full bg-background px-6 py-20 md:py-28\">\n      <div className=\"mx-auto grid max-w-6xl gap-px border border-border bg-border lg:grid-cols-2\">\n        <div className=\"flex flex-col justify-between gap-10 bg-background p-8 md:p-12\">\n          <div>\n            <h2 className=\"text-3xl font-medium tracking-tight md:text-4xl\">\n              Talk to someone who has done this before.\n            </h2>\n            <p className=\"mt-4 max-w-md text-sm leading-7 text-muted-foreground\">\n              A 25-minute call with Ali Imam. We will look at your\n              current stack, estimate migration effort, and tell you honestly\n              if Designali is the wrong fit.\n            </p>\n          </div>\n          <div className=\"flex items-center gap-4\">\n            <div className=\"flex -space-x-2\">\n              {team.map((m) => (\n                <span\n                  key={m.initials}\n                  className={cn(\n                    \"flex size-10 items-center justify-center rounded-full text-xs font-medium ring-2 ring-background\",\n                    m.tone\n                  )}\n                >\n                  {m.initials}\n                </span>\n              ))}\n            </div>\n            <p className=\"text-xs leading-5 text-muted-foreground\">\n              Average reply time under 2 hours,\n              <br />\n              Mon to Fri, 8am to 6pm CET.\n            </p>\n          </div>\n        </div>\n        <div className=\"bg-muted/40 p-8 md:p-12\">\n          <div className=\"flex items-center gap-2 text-sm font-medium\">\n            <Calendar className=\"size-4\" />\n            Pick a time\n          </div>\n          <div className=\"mt-6 grid grid-cols-3 gap-2\">\n            {days.map((d, i) => (\n              <button\n                key={d.day}\n                type=\"button\"\n                onClick={() => {\n                  setDay(i)\n                  setSlot(null)\n                }}\n                className={cn(\n                  \"border px-3 py-3 text-center transition-colors\",\n                  i === day\n                    ? \"border-foreground bg-foreground text-background\"\n                    : \"border-border bg-background hover:border-foreground/40\"\n                )}\n              >\n                <div className=\"text-xs opacity-70\">{d.day}</div>\n                <div className=\"text-lg font-medium\">{d.date}</div>\n              </button>\n            ))}\n          </div>\n          <div className=\"mt-4 grid grid-cols-3 gap-2\">\n            {current.slots.map((s) => (\n              <button\n                key={s}\n                type=\"button\"\n                onClick={() => setSlot(s)}\n                className={cn(\n                  \"flex items-center justify-center gap-1.5 border px-2 py-2 font-sans text-xs transition-colors\",\n                  slot === s\n                    ? \"border-foreground bg-background text-foreground\"\n                    : \"border-border bg-background text-muted-foreground hover:text-foreground\"\n                )}\n              >\n                {slot === s ? <Check className=\"size-3\" /> : <Clock className=\"size-3\" />}\n                {s}\n              </button>\n            ))}\n          </div>\n          <Button size=\"lg\" className=\"mt-8 w-full\" disabled={!slot}>\n            {slot ? `Book ${current.day} ${current.date} at ${slot}` : \"Select a slot\"}\n          </Button>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "600px"
  },
  "categories": [
    "call-to-action"
  ]
}