{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-04",
  "type": "registry:block",
  "description": "A simple footer.",
  "dependencies": [
    "@designali/logos"
  ],
  "registryDependencies": [
    "button",
    "switch",
    "select",
    "input"
  ],
  "files": [
    {
      "path": "registry/designali/blocks/footer/footer-04/footer.tsx",
      "content": "\"use client\"\n\nimport Link from \"next/link\"\nimport { Logo } from \"@/src/components/logo\"\nimport {\n  Send,\n} from \"@designali/icons\"\n\nimport { ThemeSwitch } from \"@/registry/designali/blocks/footer/footer-04/theme\"\nimport { Button } from \"@workspace/ui/components/button\"\nimport { Input } from \"@workspace/ui/components/input\"\nimport {\n  Select,\n  SelectContent,\n  SelectGroup,\n  SelectItem,\n  SelectTrigger,\n  SelectValue,\n} from \"@workspace/ui/components/select\"\n\nconst navLinks = [\n  { label: \"Templates\", href: \"/templates\" },\n  { label: \"Blocks\", href: \"/blocks\" },\n  { label: \"Pricing\", href: \"/pricing\" },\n  { label: \"Docs\", href: \"/docs\" },\n  { label: \"Blogs\", href: \"/blogs\" },\n]\n\nexport default function Footer() {\n  return (\n    <footer className=\"flex min-h-svh w-full items-center justify-center\">\n      <div className=\"p-10\">\n        <div className=\"-my-6 grid gap-12 rounded-md border bg-background p-10 md:-my-4 md:grid-cols-2 lg:grid-cols-4\">\n          <div className=\"relative\">\n            <Logo className=\"h-8 w-auto\" />\n            <h2 className=\"mt-6 mb-2 text-2xl font-semibold tracking-tight\">\n              Stay Connected\n            </h2>\n            <p className=\"mb-4 text-muted-foreground\">\n              Join the Designali newsletter for new templates, blocks and design resources.\n            </p>\n            <form className=\"relative\">\n              <Input\n                type=\"email\"\n                placeholder=\"Enter your email\"\n                className=\"pr-12 backdrop-blur-sm\"\n              />\n              <Button\n                type=\"submit\"\n                size=\"icon-sm\"\n                className=\"absolute top-0.5 right-0.5\"\n              >\n                <Send className=\"h-4 w-4\" />\n                <span className=\"sr-only\">Subscribe</span>\n              </Button>\n            </form>\n            <div className=\"absolute top-0 -right-4 h-24 w-24 rounded-full bg-primary/10 blur-2xl\" />\n          </div>\n          <div>\n            <h3 className=\"mb-4 text-lg font-semibold\">Quick Links</h3>\n            <nav className=\"space-y-2\">\n              {navLinks.map(({ label, href }) => (\n                <Link\n                  key={label}\n                  href={href}\n                  className=\"block text-muted-foreground transition-colors hover:text-foreground\"\n                >\n                  {label}\n                </Link>\n              ))}\n            </nav>\n          </div>\n          <div className=\"\">\n            <div className=\"\">\n              <h3 className=\"mb-4 text-lg font-semibold\">Contact Us</h3>\n              <div className=\"grid space-y-2 text-muted-foreground transition-colors hover:text-foreground\">\n                <a href=\"/contact\" className=\"hover:underline\">\n                  Contact page\n                </a>\n                <a href=\"mailto:hello@designali.com\" className=\"hover:underline\">\n                  hello@designali.com\n                </a>\n                <a href=\"mailto:support@designali.com\" className=\"hover:underline\">\n                  support@designali.com\n                </a>\n              </div>\n            </div>\n\n            <div className=\"mt-1 -ml-3\">\n              <Select>\n                <SelectTrigger className=\"text-md w-40 border-0 shadow-none\">\n                  <SelectValue placeholder=\"Legal\" />\n                </SelectTrigger>\n                <SelectContent side=\"top\">\n                  <SelectGroup>\n                    <SelectItem value=\"contact\">Contact</SelectItem>\n                    <SelectItem value=\"terms\">Terms</SelectItem>\n                    <SelectItem value=\"privacy\">Privacy</SelectItem>\n                  </SelectGroup>\n                </SelectContent>\n              </Select>\n            </div>\n          </div>\n          <div className=\"relative\">\n            <h3 className=\"mb-4 text-lg font-semibold\">Follow Us</h3>\n            <div className=\"mb-6 flex gap-6\">\n              <Link\n                href={\"https://www.linkedin.com/company/designali-com/\"}\n                target=\"_blank\"\n                className=\"text-muted-foreground transition-colors hover:text-foreground\"\n              >\n                LinkedIn\n              </Link>\n              <Link\n                href={\"https://x.com/designali_com\"}\n                target=\"_blank\"\n                className=\"text-muted-foreground transition-colors hover:text-foreground\"\n              >\n                 X\n              </Link>\n              <Link\n                href={\"https://www.instagram.com/designali.code/\"}\n                target=\"_blank\"\n                className=\"text-muted-foreground transition-colors hover:text-foreground\"\n              >\n                Instagram\n              </Link>\n            </div>\n            <ThemeSwitch />\n          </div>\n        </div>\n        <div className=\"mt-3 flex flex-col items-center justify-between gap-3 py-4 text-center md:flex-row\">\n          <p className=\"text-sm text-muted-foreground\">\n            © 2026 Designali. All rights reserved.\n          </p>\n          <nav className=\"flex gap-4 text-sm\">\n            <Link href=\"/contact\" className=\"text-foreground/60 hover:text-foreground\">\n              Contact\n            </Link>\n            <Link href=\"/docs/legal/terms\" className=\"text-foreground/60 hover:text-foreground\">\n              Terms of Service\n            </Link>\n          </nav>\n        </div>\n      </div>\n    </footer>\n  )\n}\n",
      "type": "registry:component",
      "target": "layout/footer/index.tsx"
    },
    {
      "path": "registry/designali/blocks/footer/footer-04/theme.tsx",
      "content": "\"use client\"\n\nimport { useEffect, useState } from \"react\"\nimport {\n  Moon as MoonIcon,\n  Sun as SunIcon,\n} from \"@designali/icons\"\nimport { useTheme } from \"next-themes\"\n\nimport { Switch } from \"@workspace/ui/components/switch\"\n\nexport function ThemeSwitch() {\n  const { setTheme, resolvedTheme } = useTheme()\n  const [isDark, setIsDark] = useState(false)\n\n  useEffect(() => {\n    setIsDark(resolvedTheme === \"dark\")\n  }, [resolvedTheme])\n\n  const handleToggle = (checked: boolean) => {\n    setIsDark(checked)\n    setTheme(checked ? \"dark\" : \"light\")\n  }\n\n  return (\n    <div className=\"group inline-flex items-center gap-2\">\n      <span\n        className={`${\n          isDark ? \"text-white/60\" : \"\"\n        } flex-1 cursor-pointer text-right text-sm font-medium`}\n        onClick={() => handleToggle(false)}\n      >\n        <SunIcon size={16} aria-hidden=\"true\" />\n      </span>\n      <Switch\n        id=\"theme-switch\"\n        checked={isDark}\n        onCheckedChange={handleToggle}\n        aria-label=\"Toggle theme\"\n      />\n      <span\n        className={`${\n          !isDark ? \"text-white/60\" : \"\"\n        } flex-1 cursor-pointer text-left text-sm font-medium`}\n        onClick={() => handleToggle(true)}\n      >\n        <MoonIcon size={16} aria-hidden=\"true\" />\n      </span>\n    </div>\n  )\n}\n",
      "type": "registry:component",
      "target": "layout/footer/theme.tsx"
    }
  ],
  "meta": {
    "iframeHeight": "600px"
  },
  "categories": [
    "footer"
  ]
}