Footer 4

PreviousNext
Docs
shadcraftblock

Preview

Loading preview…
blocks/footers/4/index.tsx
import { Globe } from "lucide-react";

import { Separator } from "@/components/ui/separator";
import { PlaceholderLogo } from "@/components/placeholder-logo";

export function Footer4() {
  return (
    <footer className="bg-background w-full border-t py-12 lg:py-20" role="contentinfo">
      <div className="flex flex-col gap-12 lg:gap-9">
        <div className="mx-auto flex w-full max-w-7xl flex-col gap-x-5 gap-y-12 px-5 lg:flex-row lg:items-start lg:justify-between lg:gap-x-9 lg:px-8">
          {/* Logo and Description */}
          <div className="flex max-w-xs flex-1 flex-col justify-between gap-9">
            <a href="/" aria-label="Go to home page">
              {/* Replace with your real logo  */}
              <PlaceholderLogo />
            </a>

            <div className="flex flex-col gap-4">
              <p className="text-muted-foreground text-sm/5 font-normal text-pretty">
                Building tools that help teams work smarter and faster.
              </p>
              <div className="flex items-center gap-2">
                <Globe className="size-4" />
                <Globe className="size-4" />
              </div>
            </div>
          </div>

          {/* Navigation Links */}
          <nav
            className="grid flex-1 gap-12 sm:grid-cols-2 lg:grid-cols-3 lg:gap-9"
            aria-label="Footer navigation"
          >
            {navigationData.map((section) => (
              <div key={section.title} className="flex flex-col gap-2.5">
                <h3 className="text-muted-foreground text-sm/5 font-medium">{section.title}</h3>
                <ul className="flex flex-col gap-3">
                  {section.links.map((link) => (
                    <li key={link.label} className="text-base/6 font-normal">
                      <a href={link.href}>{link.label}</a>
                    </li>
                  ))}
                </ul>
              </div>
            ))}
          </nav>
        </div>

        <Separator role="presentation" aria-hidden="true" />

        {/* Social Links and Copyright */}
        <div className="mx-auto flex w-full max-w-7xl flex-col items-center gap-4 px-5 text-center lg:flex-row lg:justify-between lg:px-8">
          <p className="text-muted-foreground text-sm/5 font-normal">
            &copy; Copyright Acme Inc. 2025. All right reserved.
          </p>
        </div>
      </div>
    </footer>
  );
}

const navigationData = [
  {
    title: "Company",
    links: [
      { label: "About Us", href: "#" },
      { label: "Careers", href: "#" },
      { label: "Blog", href: "#" },
      { label: "Press", href: "#" },
      { label: "Leadership", href: "#" },
      { label: "Partners", href: "#" },
      { label: "Contact", href: "#" },
    ],
  },
  {
    title: "Resources",
    links: [
      { label: "Help Center", href: "#" },
      { label: "FAQs", href: "#" },
      { label: "Guides", href: "#" },
      { label: "Community", href: "#" },
      { label: "Case Studies", href: "#" },
      { label: "Events", href: "#" },
      { label: "Tutorials", href: "#" },
    ],
  },
  {
    title: "Legal",
    links: [
      { label: "Privacy Policy", href: "#" },
      { label: "Terms of Service", href: "#" },
      { label: "Security", href: "#" },
      { label: "Cookie Settings", href: "#" },
      { label: "Data Processing Agreement", href: "#" },
      { label: "Compliance", href: "#" },
      { label: "Accessibility", href: "#" },
    ],
  },
];

Installation

npx shadcn@latest add @shadcraft/footer-4

Usage

import { Footer4 } from "@/components/footer-4"
<Footer4 />