{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-01",
  "title": "Footer — Multi-Column",
  "author": "SAASTRO <https://saastro.io>",
  "description": "Multi-column footer with navigation links, social icons, and copyright. Zero-JS Astro component.",
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/default/blocks/footer-01.astro",
      "content": "---\n/**\n * footer-01 — Footer multicolumna con enlaces, sociales y copyright.\n * Bloque Astro puro: cero JS, cero dependencias.\n *\n * `logo` es un string (el nombre de la marca); `socialLinks[].icon` es una\n * clave del set interno ('github' | 'x' | 'linkedin') — props serializables.\n */\ntype SocialIcon = 'github' | 'x' | 'linkedin';\n\ninterface LinkItem {\n  label: string;\n  href: string;\n}\ninterface Column {\n  title: string;\n  links: LinkItem[];\n}\ninterface SocialLink {\n  icon: SocialIcon;\n  href: string;\n  label: string;\n}\ninterface Props {\n  logo?: string;\n  columns: Column[];\n  copyright?: string;\n  socialLinks?: SocialLink[];\n  class?: string;\n}\nconst {\n  logo,\n  columns,\n  copyright = `© ${new Date().getFullYear()} All rights reserved.`,\n  socialLinks,\n  class: className,\n} = Astro.props;\n\nconst SOCIAL: Record<SocialIcon, string> = {\n  github:\n    '<path d=\"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.4 5.4 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65S8.93 17.38 9 18v4\"/><path d=\"M9 18c-4.51 2-5-2-7-2\"/>',\n  x: '<path d=\"M18 6 6 18\"/><path d=\"m6 6 12 12\"/>',\n  linkedin:\n    '<path d=\"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z\"/><rect width=\"4\" height=\"12\" x=\"2\" y=\"9\"/><circle cx=\"4\" cy=\"4\" r=\"2\"/>',\n};\n---\n\n<footer class:list={['w-full px-6 py-16', className]}>\n  <div class=\"mx-auto max-w-6xl\">\n    <div class=\"grid gap-8 sm:grid-cols-2 lg:grid-cols-4\">\n      {logo && (\n        <div class=\"sm:col-span-2 lg:col-span-1\">\n          <span class=\"text-xl font-bold\">{logo}</span>\n        </div>\n      )}\n      {columns.map((column) => (\n        <div>\n          <h3 class=\"mb-4 text-sm font-semibold\">{column.title}</h3>\n          <ul class=\"space-y-3\">\n            {column.links.map((link) => (\n              <li>\n                <a\n                  href={link.href}\n                  class=\"text-sm text-muted-foreground transition-colors hover:text-foreground\"\n                >\n                  {link.label}\n                </a>\n              </li>\n            ))}\n          </ul>\n        </div>\n      ))}\n    </div>\n    <hr class=\"my-8 h-px w-full shrink-0 border-0 bg-border\" />\n    <div class=\"flex flex-col items-center justify-between gap-4 sm:flex-row\">\n      <p class=\"text-sm text-muted-foreground\">{copyright}</p>\n      {socialLinks && socialLinks.length > 0 && (\n        <div class=\"flex items-center gap-4\">\n          {socialLinks.map((social) => (\n            <a\n              href={social.href}\n              aria-label={social.label}\n              class=\"text-muted-foreground transition-colors hover:text-foreground\"\n            >\n              <svg\n                xmlns=\"http://www.w3.org/2000/svg\"\n                width=\"18\"\n                height=\"18\"\n                viewBox=\"0 0 24 24\"\n                fill=\"none\"\n                stroke=\"currentColor\"\n                stroke-width=\"2\"\n                stroke-linecap=\"round\"\n                stroke-linejoin=\"round\"\n                set:html={SOCIAL[social.icon]}\n              />\n            </a>\n          ))}\n        </div>\n      )}\n    </div>\n  </div>\n</footer>\n",
      "type": "registry:component",
      "target": "@components/blocks/footer-01.astro"
    }
  ],
  "meta": {
    "group": "Navigation",
    "iframeHeight": "520px"
  },
  "docs": "Astro component — zero JS, no React required. Default import: `import Footer01 from '@/components/blocks/footer-01.astro'`. Props: logo? (string), columns [{title, links}], copyright?, socialLinks? [{icon: 'github'|'x'|'linkedin', href, label}], class?.",
  "categories": [
    "footer",
    "landing"
  ],
  "type": "registry:block"
}