{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "nonprofit-footer",
  "title": "Nonprofit: Footer",
  "description": "A paper card inset in a frame of the sea: the line and Donate, the registered office and registration as bracketed placeholders, how to reach a person, a newsletter beside the pages (accounts and complaints included), the legal line, and the name set large along the foot.",
  "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",
    "https://eased.dev/r/button.json"
  ],
  "files": [
    {
      "path": "src/registry/eased/templates/nonprofit/footer.tsx",
      "content": "import { Button } from \"../../button/button\";\nimport { BaseLink } from \"../_shared/base\";\nimport { EmailCapture } from \"../_shared/email-capture\";\nimport { Footer as SharedFooter } from \"../_shared/footer\";\nimport { brand, footer, footerExtra, nav } from \"./content\";\nimport { FORM_TARGETS, LABEL, Mark } from \"./kit\";\n\n/**\n * The footer: a paper card inset in a full-bleed frame of the sea. Along the top, the line with\n * Donate, the registered office (every line a bracketed placeholder) and how to reach a person;\n * then the newsletter beside the pages (accounts and complaints among them) and the legal line;\n * and the name set large along the foot as the home link.\n */\nexport function Footer() {\n  return (\n    <div data-nf-sea=\"\" className=\"bg-bg p-2 sm:p-3\">\n      <div data-nf-paper=\"\" className=\"flex flex-col gap-group overflow-hidden rounded-surface bg-bg px-4 pt-pad-lg pb-24 text-text sm:px-pad-lg sm:pb-pad-lg xl:px-pad-xl\">\n        <div className=\"grid gap-pad-lg border-b border-line-subtle pb-pad-lg md:grid-cols-[2fr_1fr_1fr]\">\n          <div className=\"flex max-w-md flex-col items-start gap-pad-sm\">\n            <p className=\"text-ui-lg text-pretty text-text\">{brand.line}</p>\n            <p className=\"text-ui-sm text-text-muted\">{brand.regulator}</p>\n            <Button variant=\"primary\" size=\"lg\" nativeButton={false} render={<BaseLink href={nav.donate.href} />} className=\"mt-pad-xs max-sm:h-12\">\n              {nav.donate.label}\n            </Button>\n          </div>\n          <address className=\"flex flex-col gap-1 text-ui not-italic text-text-secondary\">\n            <span className={`${LABEL} mb-1`}>{footerExtra.office.title}</span>\n            {footerExtra.office.lines.map((l) => (\n              <span key={l}>{l}</span>\n            ))}\n          </address>\n          <div className=\"flex flex-col gap-1 text-ui text-text-secondary\">\n            <span className={`${LABEL} mb-1`}>{footerExtra.contact.title}</span>\n            {footerExtra.contact.lines.map((l) => (\n              <a key={l.href} href={l.href} className=\"focus-ring inline-flex min-h-11 items-center self-start rounded-control-xs text-text hover-fine:underline sm:min-h-0\">\n                {l.label}\n              </a>\n            ))}\n            <span>{footerExtra.contact.hours}</span>\n          </div>\n        </div>\n        <SharedFooter\n          {...footer}\n          newsletter={\n            <div className=\"flex max-w-md flex-col gap-pad-sm\">\n              <p className=\"text-ui-md text-pretty text-text\">{footerExtra.newsletter.title}</p>\n              <EmailCapture {...footerExtra.newsletter.capture} className={`w-full max-sm:flex-col max-sm:items-stretch ${FORM_TARGETS}`} />\n            </div>\n          }\n          columnsClassName=\"max-[359px]:grid-cols-1 sm:grid-cols-3\"\n          linkClassName=\"inline-flex min-h-11 items-center sm:min-h-8\"\n          className=\"gap-group\"\n        />\n        <BaseLink href=\"/\" aria-label={nav.home} className=\"focus-ring -mb-[0.12em] flex items-center gap-[0.12em] self-start rounded-control-sm text-[clamp(4rem,15vw,13rem)] leading-[0.9] font-bold tracking-[-0.06em] text-text\">\n          <Mark className=\"size-[0.78em] text-brand-text\" />\n          <span aria-hidden>{brand.name}</span>\n        </BaseLink>\n      </div>\n    </div>\n  );\n}\n",
      "type": "registry:component",
      "target": "@components/eased/templates/nonprofit/footer.tsx"
    }
  ],
  "meta": {
    "template": "nonprofit",
    "kind": "template-section",
    "industries": [
      "health"
    ]
  },
  "type": "registry:block"
}