{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "contact-12",
  "type": "registry:block",
  "description": "Booking widget with host profile and meeting details beside a weekday picker, time-slot grid and confirm bar.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "registry/designali/blocks/contact/contact-12.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport {\n  CalendarCheck,\n  Clock,\n  Globe,\n  Video,\n} from \"@designali/icons\"\n\nimport { Button } from \"@workspace/ui/components/button\"\nimport { cn } from \"@workspace/ui/lib/utils\"\n\nconst days = [\n  { key: \"mon\", label: \"Mon\", date: 16 },\n  { key: \"tue\", label: \"Tue\", date: 17 },\n  { key: \"wed\", label: \"Wed\", date: 18 },\n  { key: \"thu\", label: \"Thu\", date: 19 },\n  { key: \"fri\", label: \"Fri\", date: 20 },\n]\n\nconst slots: Record<string, string[]> = {\n  mon: [\"9:00\", \"9:30\", \"11:00\", \"14:30\", \"16:00\"],\n  tue: [\"10:00\", \"13:00\", \"13:30\", \"15:00\"],\n  wed: [\"9:00\", \"10:30\", \"12:00\", \"14:00\", \"15:30\", \"16:30\"],\n  thu: [\"11:30\", \"15:00\"],\n  fri: [\"9:30\", \"10:00\", \"11:00\"],\n}\n\nexport default function Contact12() {\n  const [day, setDay] = useState(\"wed\")\n  const [time, setTime] = useState<string | null>(null)\n  const current = days.find((d) => d.key === day)!\n\n  return (\n    <section className=\"w-full bg-muted/40 py-20 md:py-28\">\n      <div className=\"mx-auto grid max-w-6xl border bg-background lg:grid-cols-[1fr_1.6fr]\">\n        <div className=\"flex flex-col gap-8 border-b p-8 lg:border-e lg:border-b-0 lg:p-10\">\n          <div className=\"flex items-center gap-3\">\n            <img src=\"/ali.jpg\" alt=\"Ali Imam\" className=\"size-11 rounded-full object-cover\" />\n            <div className=\"text-sm\">\n              <p className=\"font-medium\">Ali Imam</p>\n              <p className=\"text-muted-foreground\">Founder, Designali</p>\n            </div>\n          </div>\n          <div>\n            <h2 className=\"text-3xl font-semibold tracking-tight\">\n              Book a 30-minute intro call\n            </h2>\n            <p className=\"mt-3 text-sm text-muted-foreground\">\n              We&apos;ll look at your brand, product and goals, answer questions\n              and sketch a design-to-code plan together.\n            </p>\n          </div>\n          <ul className=\"space-y-3 text-sm text-muted-foreground\">\n            <li className=\"flex items-center gap-3\">\n              <Clock className=\"size-4\" /> 30 minutes\n            </li>\n            <li className=\"flex items-center gap-3\">\n              <Video className=\"size-4\" /> Video call, link sent on booking\n            </li>\n            <li className=\"flex items-center gap-3\">\n              <Globe className=\"size-4\" /> Times shown in your local time zone\n            </li>\n          </ul>\n        </div>\n\n        <div className=\"p-8 lg:p-10\">\n          <p className=\"text-sm font-medium\">November 2026</p>\n          <div className=\"mt-4 grid grid-cols-5 gap-2\">\n            {days.map((d) => (\n              <button\n                key={d.key}\n                type=\"button\"\n                onClick={() => {\n                  setDay(d.key)\n                  setTime(null)\n                }}\n                className={cn(\n                  \"flex flex-col items-center gap-1 border py-3 transition-colors\",\n                  day === d.key\n                    ? \"border-foreground bg-foreground text-background\"\n                    : \"hover:bg-muted\"\n                )}\n              >\n                <span className=\"text-xs opacity-70\">{d.label}</span>\n                <span className=\"text-lg font-semibold\">{d.date}</span>\n              </button>\n            ))}\n          </div>\n\n          <p className=\"mt-8 text-sm text-muted-foreground\">\n            {slots[day]!.length} times available on {current.label} {current.date}\n          </p>\n          <div className=\"mt-3 grid grid-cols-3 gap-2 sm:grid-cols-4\">\n            {slots[day]!.map((slot) => (\n              <button\n                key={slot}\n                type=\"button\"\n                onClick={() => setTime(slot)}\n                className={cn(\n                  \"h-11 border text-sm transition-colors\",\n                  time === slot\n                    ? \"border-primary bg-primary text-primary-foreground\"\n                    : \"hover:border-foreground\"\n                )}\n              >\n                {slot}\n              </button>\n            ))}\n          </div>\n\n          <div className=\"mt-10 flex flex-col gap-4 border-t pt-6 sm:flex-row sm:items-center sm:justify-between\">\n            <p className=\"text-sm\">\n              {time ? (\n                <>\n                  <span className=\"font-medium\">\n                    {current.label} {current.date} Nov, {time}\n                  </span>\n                  <span className=\"text-muted-foreground\"> &middot; 30 min</span>\n                </>\n              ) : (\n                <span className=\"text-muted-foreground\">Pick a time to continue</span>\n              )}\n            </p>\n            <Button size=\"lg\" disabled={!time}>\n              <CalendarCheck />\n              Confirm booking\n            </Button>\n          </div>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "720px"
  },
  "categories": [
    "contact"
  ]
}