{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "nonprofit-contact",
  "title": "Nonprofit: Contact",
  "description": "Email, phone and post on reserved names and numbers, beside the contact form.",
  "dependencies": [
    "motion"
  ],
  "registryDependencies": [
    "https://eased.dev/r/eased-tokens.json",
    "https://eased.dev/r/eased-motion.json",
    "https://eased.dev/r/nonprofit-core.json",
    "https://eased.dev/r/template-core.json"
  ],
  "files": [
    {
      "path": "src/registry/eased/templates/nonprofit/contact.tsx",
      "content": "\"use client\";\n\nimport { ContactForm, type ContactValues } from \"../_shared/contact-form\";\nimport type { SubmitHandler } from \"../_shared/send\";\nimport { contactPage } from \"./content\";\nimport { COLUMN, FORM_TARGETS, LABEL, LINK, PageHead, Reveal } from \"./kit\";\n\n/**\n * Contact: the ways to reach a person (all on reserved names and numbers) beside the form\n * (template-core's ContactForm). It sends nothing until you pass `onSubmit`.\n */\nexport function Contact({ onSubmit }: { onSubmit?: SubmitHandler<ContactValues> }) {\n  return (\n    <div className={`${COLUMN} grid gap-group pt-pad-xl pb-section lg:grid-cols-[5fr_7fr] lg:gap-group-lg`}>\n      <div className=\"flex flex-col gap-group\">\n        <PageHead label={contactPage.label} title={contactPage.title} lead={contactPage.lead} />\n        <dl className=\"nf-rise flex flex-col border-t border-line [--i:3]\">\n          {contactPage.details.map((d) => (\n            <div key={d.label} className=\"grid grid-cols-[5rem_1fr] items-baseline gap-pad-base border-b border-line py-pad-sm\">\n              <dt className={LABEL}>{d.label}</dt>\n              <dd className=\"text-ui-md text-text\">\n                {\"href\" in d && d.href ? (\n                  <a href={d.href} className={`inline-flex min-h-11 items-center sm:min-h-0 ${LINK}`}>\n                    {d.value}\n                  </a>\n                ) : (\n                  d.value\n                )}\n              </dd>\n            </div>\n          ))}\n        </dl>\n      </div>\n      <Reveal className=\"rounded-surface bg-surface-sunken p-pad-md sm:p-pad-xl lg:mt-pad-xl\">\n        <ContactForm {...contactPage.form} onSubmit={onSubmit} className={`sm:grid-cols-2 ${FORM_TARGETS}`} sentClassName=\"rounded-panel bg-surface p-pad-lg\" />\n      </Reveal>\n    </div>\n  );\n}\n",
      "type": "registry:component",
      "target": "@components/eased/templates/nonprofit/contact.tsx"
    }
  ],
  "meta": {
    "template": "nonprofit",
    "kind": "template-section",
    "industries": [
      "health"
    ]
  },
  "type": "registry:block"
}