{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-02",
  "type": "registry:block",
  "description": "A simple footer.",
  "dependencies": [
    "@designali/logos"
  ],
  "files": [
    {
      "path": "registry/designali/blocks/footer/footer-02/demo.tsx",
      "content": "\"use client\"\n\nimport Link from \"next/link\"\nimport {\n  Heart,\n  Mail,\n} from \"@designali/icons\"\nimport { Instagram, LinkedIn, X } from \"@designali/logos\"\nimport { Logo } from \"@/src/components/logo\"\n\nimport { Theme } from \"@/registry/designali/blocks/footer/footer-02/theme\"\n\nconst navigation = {\n  categories: [\n    {\n      id: \"designali\",\n      name: \"Designali\",\n\n      sections: [\n        {\n          id: \"about\",\n          name: \"About\",\n          items: [\n            { name: \"Work\", href: \"/work\" },\n            { name: \"Pricing\", href: \"/pricing\" },\n            { name: \"Contact\", href: \"/contact\" },\n          ],\n        },\n        {\n          id: \"features\",\n          name: \"Features\",\n          items: [\n            { name: \"Templates\", href: \"/templates\" },\n            { name: \"Blocks\", href: \"/blocks\" },\n            { name: \"UI Designs\", href: \"/ui\" },\n          ],\n        },\n        {\n          id: \"products\",\n          name: \"Products\",\n          items: [\n            { name: \"Icons\", href: \"/icons\" },\n            { name: \"Logos\", href: \"/logos\" },\n            { name: \"Illustration\", href: \"/illustration\" },\n          ],\n        },\n        {\n          id: \"designs\",\n          name: \"Designs\",\n          items: [\n            { name: \"Bento\", href: \"/ui\" },\n            { name: \"Marquee\", href: \"/ui\" },\n            { name: \"Device Mockups\", href: \"/ui\" },\n          ],\n        },\n        {\n          id: \"other\",\n          name: \"Others\",\n          items: [\n            { name: \"Docs\", href: \"/docs\" },\n            { name: \"Blogs\", href: \"/blogs\" },\n            { name: \"21st.dev\", href: \"https://21st.dev/@designali-in\" },\n          ],\n        },\n        {\n          id: \"company\",\n          name: \"Company\",\n          items: [\n            { name: \"Ali Imam\", href: \"https://www.linkedin.com/in/aliimam-in/\" },\n            { name: \"Terms\", href: \"/docs/legal/terms\" },\n            { name: \"Email\", href: \"mailto:hello@designali.com\" },\n          ],\n        },\n      ],\n    },\n  ],\n}\n\nconst Underline = `hover:-translate-y-1 border border-dotted rounded-xl p-2.5 transition-transform `\n\nexport default function Footer() {\n  return (\n    <footer className=\"mx-auto mt-20 flex h-full w-full flex-col items-center justify-center\">\n      <div className=\"relative mx-auto grid max-w-7xl items-center justify-center gap-6 p-10 pb-0 md:flex\">\n        <Link href=\"/\">\n          <p className=\"flex items-center justify-center rounded-full\">\n            <Logo className=\"h-8 w-auto\" />\n          </p>\n        </Link>\n        <p className=\"text-center text-xs leading-4 text-muted-foreground md:text-left\">\n          Welcome to Designali, where creativity meets strategy to bring your\n          vision to life. I am passionate about transforming ideas into\n          compelling visual experiences. I specialize in crafting unique brand\n          identities, immersive digital experiences, and engaging content that\n          resonates with your audience. My mission is to empower businesses and\n          brands to stand out in a crowded market. I believe in the power of\n          design to tell stories, evoke emotions, and drive meaningful\n          connections. I believe in quality, not quantity. Designali is actually\n          an agency of one. This means you&apos;ll work directly with me,\n          founder of Designali.\n        </p>\n      </div>\n\n      <div className=\"mx-auto w-full max-w-7xl px-6 py-10\">\n        <div className=\"border-b border-dotted\"> </div>\n        <div className=\"py-10\">\n          {navigation.categories.map((category) => (\n            <div\n              key={category.name}\n              className=\"grid grid-cols-3 flex-row justify-between gap-6 leading-6 md:flex\"\n            >\n              {category.sections.map((section) => (\n                <div key={section.name}>\n                  <ul\n                    role=\"list\"\n                    aria-labelledby={`${category.id}-${section.id}-heading-mobile`}\n                    className=\"flex flex-col space-y-2\"\n                  >\n                    {section.items.map((item) => (\n                      <li key={item.name} className=\"flow-root\">\n                        <Link\n                          href={item.href}\n                          className=\"text-sm hover:text-foreground text-muted-foreground md:text-xs \"\n                        >\n                          {item.name}\n                        </Link>\n                      </li>\n                    ))}\n                  </ul>\n                </div>\n              ))}\n            </div>\n          ))}\n        </div>\n        <div className=\"border-b border-dotted\"> </div>\n      </div>\n\n      <div className=\"flex flex-wrap justify-center gap-y-6\">\n        <div className=\"flex flex-wrap items-center justify-center gap-6 gap-y-4 px-6\">\n          <Link\n            aria-label=\"Email Designali\"\n            href=\"mailto:hello@designali.com\"\n            rel=\"noreferrer\"\n            target=\"_blank\"\n            className={Underline}\n          >\n            <Mail strokeWidth={1.5} className=\"h-5 w-5\" />\n          </Link>\n          <Link\n            aria-label=\"Designali on X\"\n            href=\"https://x.com/designali_com\"\n            rel=\"noreferrer\"\n            target=\"_blank\"\n            className={Underline}\n          >\n            <X className=\"h-5 w-5\" />\n          </Link>\n          <Link\n            aria-label=\"Designali on Instagram\"\n            href=\"https://www.instagram.com/designali.code/\"\n            rel=\"noreferrer\"\n            target=\"_blank\"\n            className={Underline}\n          >\n            <Instagram className=\"h-5 w-5\" />\n          </Link>\n          <Link\n            aria-label=\"Designali on LinkedIn\"\n            href=\"https://www.linkedin.com/company/designali-com/\"\n            rel=\"noreferrer\"\n            target=\"_blank\"\n            className={Underline}\n          >\n            <LinkedIn className=\"h-5 w-5\" />\n          </Link>\n        </div>\n        <Theme />\n      </div>\n\n      <div className=\"mx-auto mt-10 mb-10 flex flex-col justify-between text-center text-xs md:max-w-7xl\">\n        <div className=\"flex flex-row items-center justify-center gap-1 text-muted-foreground dark:text-muted-foreground\">\n          <span> © </span>\n          <span>{new Date().getFullYear()}</span>\n          <span>Made with</span>\n          <Heart className=\"mx-1 h-4 w-4 animate-pulse text-destructive\" />\n          <span> by </span>\n          <span className=\"hover:text-ali dark:hover:text-ali cursor-pointer text-black dark:text-white\">\n            <Link\n              aria-label=\"Logo\"\n              className=\"font-bold\"\n              href=\"https://www.linkedin.com/in/aliimam-in/\"\n              target=\"_blank\"\n            >\n              Ali Imam {\"\"}\n            </Link>\n          </span>\n          -\n          <span className=\"hover:text-ali cursor-pointer text-muted-foreground dark:text-muted-foreground dark:hover:text-destructive\">\n            <Link aria-label=\"Logo\" className=\"\" href=\"/\">\n              Designali\n            </Link>\n          </span>\n        </div>\n      </div>\n    </footer>\n  )\n}\n",
      "type": "registry:component",
      "target": "layout/footer/index.tsx"
    },
    {
      "path": "registry/designali/blocks/footer/footer-02/theme.tsx",
      "content": "\"use client\"\n\nimport {\n  ArrowUp,\n  Moon,\n  Sun,\n} from \"@designali/icons\"\nimport { useTheme } from \"next-themes\"\n\nfunction handleScrollTop() {\n  window.scroll({\n    top: 0,\n    behavior: \"smooth\",\n  })\n}\n\nexport const Theme = () => {\n  const { setTheme } = useTheme()\n\n  return (\n    <div className=\"flex items-center justify-center\">\n      <div className=\"flex items-center rounded-full border border-dotted\">\n        <button\n          onClick={() => setTheme(\"light\")}\n          className=\"mr-3 rounded-full bg-black p-2 text-white dark:bg-background dark:text-white\"\n        >\n          <Sun className=\"h-5 w-5\" strokeWidth={1} />\n          <span className=\"sr-only\">T</span>\n        </button>\n\n        <button type=\"button\" onClick={handleScrollTop}>\n          <ArrowUp className=\"h-3 w-3\" />\n          <span className=\"sr-only\">Top</span>\n        </button>\n\n        <button\n          onClick={() => setTheme(\"dark\")}\n          className=\"ml-3 rounded-full p-2 text-black dark:bg-black dark:text-white\"\n        >\n          <Moon className=\"h-5 w-5\" strokeWidth={1} />\n          <span className=\"sr-only\">T</span>\n        </button>\n      </div>\n    </div>\n  )\n}\n",
      "type": "registry:component",
      "target": "layout/footer/theme.tsx"
    }
  ],
  "meta": {
    "iframeHeight": "600px"
  },
  "categories": [
    "footer"
  ]
}